mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
pan/bi: Use TEXS_2D for rect textures
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
parent
6f51bd99f2
commit
de8fe8c0b1
1 changed files with 1 additions and 0 deletions
|
|
@ -2568,6 +2568,7 @@ bi_is_simple_tex(nir_tex_instr *instr)
|
|||
switch (instr->sampler_dim) {
|
||||
case GLSL_SAMPLER_DIM_2D:
|
||||
case GLSL_SAMPLER_DIM_EXTERNAL:
|
||||
case GLSL_SAMPLER_DIM_RECT:
|
||||
break;
|
||||
|
||||
case GLSL_SAMPLER_DIM_CUBE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue