intel/brw: Rename fs_visitor to brw_shader
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32536>
This commit is contained in:
@@ -1003,7 +1003,7 @@ namespace {
|
||||
* Estimate the performance of the specified shader.
|
||||
*/
|
||||
void
|
||||
calculate_performance(brw_performance &p, const fs_visitor *s,
|
||||
calculate_performance(brw_performance &p, const brw_shader *s,
|
||||
unsigned dispatch_width)
|
||||
{
|
||||
/* XXX - Note that the previous version of this code used worst-case
|
||||
@@ -1069,7 +1069,7 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
brw_performance::brw_performance(const fs_visitor *v) :
|
||||
brw_performance::brw_performance(const brw_shader *v) :
|
||||
block_latency(new unsigned[v->cfg->num_blocks])
|
||||
{
|
||||
calculate_performance(*this, v, v->dispatch_width);
|
||||
|
||||
Reference in New Issue
Block a user