anv,hasvk,iris: sampler_prog_key::swizzles is only used on crocus
The field is no longer consumed by brw_complie_* and is instead handled directly by the crocus driver. Therefore, it's safe to leave it zero and not even bother setting it. This removes our reliance on the SWIZZLE_* macros in prog_instructions.h. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24288>
This commit is contained in:
committed by
Marge Bot
parent
1e29b3cee8
commit
079e8a9674
@@ -53,8 +53,7 @@
|
||||
.prefix.limit_trig_input_range = screen->driconf.limit_trig_input_range
|
||||
#define BRW_KEY_INIT(gen, prog_id, limit_trig_input) \
|
||||
.base.program_string_id = prog_id, \
|
||||
.base.limit_trig_input_range = limit_trig_input, \
|
||||
.base.tex.swizzles[0 ... BRW_MAX_SAMPLERS - 1] = 0x688
|
||||
.base.limit_trig_input_range = limit_trig_input
|
||||
|
||||
struct iris_threaded_compile_job {
|
||||
struct iris_screen *screen;
|
||||
|
||||
Reference in New Issue
Block a user