intel/compiler: Make visitors take debug_enabled as a parameter
The callers already have this value, and we would like to make it follow different rules other than stage that might not be visible to the helper function, so just pass explicitly. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9779>
This commit is contained in:
committed by
Marge Bot
parent
758eb18c6f
commit
7fb1e58651
@@ -48,7 +48,7 @@ public:
|
||||
nir_shader *shader,
|
||||
struct brw_vue_prog_data *prog_data)
|
||||
: vec4_visitor(compiler, NULL, NULL, prog_data, shader, mem_ctx,
|
||||
false /* no_spills */, -1)
|
||||
false /* no_spills */, -1, false)
|
||||
{
|
||||
prog_data->dispatch_mode = DISPATCH_MODE_4X2_DUAL_OBJECT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user