diff options
author | Marek Olšák <[email protected]> | 2016-03-22 18:26:53 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-03-23 12:14:15 +0100 |
commit | b8ec20551506204bf9aa794efae6f978499c34f6 (patch) | |
tree | e1809b4ed2398928d9b95dc6d9ff6403f0e07f8a /src/gallium/drivers/radeonsi/si_state.c | |
parent | 9881eab197c70b85346d682b525b8ea9ed241862 (diff) |
radeonsi: fix 2D array MSAA failures since image support landed
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index b9bdd47c496..b8fde00c668 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -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) |