brw: drop indirection on compiler options
I see no point, we allocate for every shader stage anyway. This is a bit simpler. I'm not a fan of the brw_compiler singleton at all but torching that is not on today's agenda. Flattening it a little bit very much is. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37447>
This commit is contained in:
committed by
Marge Bot
parent
2c161cc35d
commit
0d7083d5bc
@@ -377,7 +377,7 @@ iris_ensure_indirect_generation_shader(struct iris_batch *batch)
|
||||
#ifdef INTEL_USE_ELK
|
||||
screen->elk ? screen->elk->nir_options[MESA_SHADER_COMPUTE] :
|
||||
#endif
|
||||
screen->brw->nir_options[MESA_SHADER_COMPUTE];
|
||||
&screen->brw->nir_options[MESA_SHADER_COMPUTE];
|
||||
|
||||
nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_FRAGMENT,
|
||||
nir_options,
|
||||
|
||||
Reference in New Issue
Block a user