mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radeonsi: fix 2D array MSAA failures since image support landed
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
9881eab197
commit
b8ec205515
1 changed files with 2 additions and 1 deletions
|
|
@ -2993,7 +2993,8 @@ si_make_texture_descriptor(struct si_screen *screen,
|
|||
if (type == V_008F1C_SQ_RSRC_IMG_1D_ARRAY) {
|
||||
height = 1;
|
||||
depth = res->array_size;
|
||||
} else if (type == V_008F1C_SQ_RSRC_IMG_2D_ARRAY) {
|
||||
} else if (type == V_008F1C_SQ_RSRC_IMG_2D_ARRAY ||
|
||||
type == V_008F1C_SQ_RSRC_IMG_2D_MSAA_ARRAY) {
|
||||
if (sampler || res->target != PIPE_TEXTURE_3D)
|
||||
depth = res->array_size;
|
||||
} else if (type == V_008F1C_SQ_RSRC_IMG_CUBE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue