mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
asahi: Translate cube array dimension
Yet another enum. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
This commit is contained in:
parent
7895d5b79c
commit
f9b08cf3a6
1 changed files with 4 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue