mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
pan/bi: Allow subpass sampler dims
Those are just regular 2D[MS] textures. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28417>
This commit is contained in:
parent
51ab0a4c25
commit
502a1ca300
1 changed files with 2 additions and 0 deletions
|
|
@ -2982,6 +2982,8 @@ bifrost_tex_format(enum glsl_sampler_dim dim)
|
|||
case GLSL_SAMPLER_DIM_MS:
|
||||
case GLSL_SAMPLER_DIM_EXTERNAL:
|
||||
case GLSL_SAMPLER_DIM_RECT:
|
||||
case GLSL_SAMPLER_DIM_SUBPASS:
|
||||
case GLSL_SAMPLER_DIM_SUBPASS_MS:
|
||||
return 2;
|
||||
|
||||
case GLSL_SAMPLER_DIM_3D:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue