zink: lower txp for array textures
this is also illegal according to spirv spec fixes #6177 Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15510>
This commit is contained in:
committed by
Marge Bot
parent
7143a5a147
commit
1e45254b97
@@ -2120,6 +2120,7 @@ zink_shader_finalize(struct pipe_screen *pscreen, void *nirptr)
|
||||
*/
|
||||
tex_opts.lower_txp = BITFIELD_BIT(GLSL_SAMPLER_DIM_CUBE) |
|
||||
BITFIELD_BIT(GLSL_SAMPLER_DIM_MS);
|
||||
tex_opts.lower_txp_array = true;
|
||||
if (!screen->info.feats.features.shaderImageGatherExtended)
|
||||
tex_opts.lower_tg4_offsets = true;
|
||||
NIR_PASS_V(nir, nir_lower_tex, &tex_opts);
|
||||
|
||||
Reference in New Issue
Block a user