projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e616743
)
radeonsi/gfx9: don't set gs_table_depth
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Nov 2017 02:29:36 +0000
(
03:29
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Nov 2017 16:58:33 +0000
(17:58 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index d39e412de9a705d3d77869e7eaf7fc8b4fd24f1a..649a72e0fcf854e3d183cfe13182df46e12e067b 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.c
+++ b/
src/gallium/drivers/radeonsi/si_pipe.c
@@
-866,6
+866,10
@@
static void si_destroy_screen(struct pipe_screen* pscreen)
static bool si_init_gs_info(struct si_screen *sscreen)
{
+ /* gs_table_depth is not used by GFX9 */
+ if (sscreen->b.chip_class >= GFX9)
+ return true;
+
switch (sscreen->b.family) {
case CHIP_OLAND:
case CHIP_HAINAN:
@@
-887,8
+891,6
@@
static bool si_init_gs_info(struct si_screen *sscreen)
case CHIP_POLARIS10:
case CHIP_POLARIS11:
case CHIP_POLARIS12:
- case CHIP_VEGA10:
- case CHIP_RAVEN:
sscreen->gs_table_depth = 32;
return true;
default: