projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f2b2b5
)
radeonsi/gfx10: gfx10 can render up to 8192 layers
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 14 Nov 2017 15:10:10 +0000
(16:10 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000
(15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_get.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_get.c
b/src/gallium/drivers/radeonsi/si_get.c
index 5d08bdf83e6fcb8439004db4a3d54643359cf2e4..59d07523fbe384ef2b01ec9a2b47e3b8aca60167 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-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;