mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 20:30:25 +01:00
radeonsi/gfx10: gfx10 can render up to 8192 layers
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
3f2b2b52d0
commit
8598a999ea
1 changed files with 4 additions and 0 deletions
|
|
@ -284,9 +284,13 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
|
||||
return 15; /* 16384 */
|
||||
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
|
||||
if (sscreen->info.chip_class >= GFX10)
|
||||
return 14;
|
||||
/* textures support 8192, but layered rendering supports 2048 */
|
||||
return 12;
|
||||
case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
|
||||
if (sscreen->info.chip_class >= GFX10)
|
||||
return 8192;
|
||||
/* textures support 8192, but layered rendering supports 2048 */
|
||||
return 2048;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue