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:
Alyssa Rosenzweig 2021-05-04 17:42:13 -04:00 committed by Marge Bot
parent 6f51bd99f2
commit de8fe8c0b1

View file

@ -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: