mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aco: set MIMG unrm for GL_TEXTURE_RECTANGLE
This fixes VDPAU compositor shaders compiled by ACO. Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26244>
This commit is contained in:
parent
dbbf566588
commit
695fc67baa
1 changed files with 1 additions and 0 deletions
|
|
@ -9754,6 +9754,7 @@ visit_tex(isel_context* ctx, nir_tex_instr* instr)
|
|||
tex->dim = dim;
|
||||
tex->dmask = dmask & 0xf;
|
||||
tex->da = da;
|
||||
tex->unrm = instr->sampler_dim == GLSL_SAMPLER_DIM_RECT;
|
||||
tex->tfe = instr->is_sparse;
|
||||
tex->d16 = d16;
|
||||
tex->a16 = a16;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue