mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
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:
parent
72326e15f3
commit
9a8cb81f61
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue