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 <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29249>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user