mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
ac/llvm: handle external textures in ac_nir_lower_resinfo
Fixes: 4f622d62d0 - ac/nir: add ac_nir_lower_resinfo
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6993
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17902>
This commit is contained in:
parent
bdfaf51014
commit
0c1801706e
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ lower_query_size(nir_builder *b, nir_ssa_def *desc, nir_src *lod,
|
|||
case GLSL_SAMPLER_DIM_2D:
|
||||
case GLSL_SAMPLER_DIM_MS:
|
||||
case GLSL_SAMPLER_DIM_RECT:
|
||||
case GLSL_SAMPLER_DIM_EXTERNAL:
|
||||
result = is_array ? nir_vec3(b, width, height, layers) : nir_vec2(b, width, height);
|
||||
break;
|
||||
case GLSL_SAMPLER_DIM_3D:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue