From: Alyssa Rosenzweig Date: Thu, 17 Aug 2023 17:03:31 +0000 (-0400) Subject: asahi: Translate cube array dimension X-Git-Tag: upstream/23.3.3~2431 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9b08cf3a65dd527893de6004b495ef4ac44c8ee;p=platform%2Fupstream%2Fmesa.git asahi: Translate cube array dimension Yet another enum. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/asahi/agx_state.c b/src/gallium/drivers/asahi/agx_state.c index 7ef6b11..f037e31 100644 --- a/src/gallium/drivers/asahi/agx_state.c +++ b/src/gallium/drivers/asahi/agx_state.c @@ -585,6 +585,10 @@ agx_translate_tex_dim(enum pipe_texture_target dim, unsigned samples) assert(samples == 1); return AGX_TEXTURE_DIMENSION_CUBE; + case PIPE_TEXTURE_CUBE_ARRAY: + assert(samples == 1); + return AGX_TEXTURE_DIMENSION_CUBE_ARRAY; + default: unreachable("Unsupported texture dimension"); }