From 9a8cb81f61df3815ffd50453e2689fafa1029165 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 8 Apr 2024 19:01:27 -0400 Subject: [PATCH] nir/tex_instr_result_size: handle subpass_ms I hit this and don't see any reason it shouldn't work Signed-off-by: Alyssa Rosenzweig Reviewed-by: Faith Ekstrand Part-of: --- src/compiler/nir/nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c index 6649bb24110..619d509e4f2 100644 --- a/src/compiler/nir/nir.c +++ b/src/compiler/nir/nir.c @@ -3074,6 +3074,7 @@ nir_tex_instr_result_size(const nir_tex_instr *instr) case GLSL_SAMPLER_DIM_RECT: case GLSL_SAMPLER_DIM_EXTERNAL: case GLSL_SAMPLER_DIM_SUBPASS: + case GLSL_SAMPLER_DIM_SUBPASS_MS: ret = 2; break; case GLSL_SAMPLER_DIM_3D: