mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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:
parent
7143a5a147
commit
1e45254b97
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue