projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef01dd
)
radeonsi: reduce MAX_GEOMETRY_OUTPUT_VERTICES
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 19 Jun 2018 11:53:01 +0000
(13:53 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 17 Jun 2019 19:14:51 +0000
(15:14 -0400)
This fixes piglit spec@glsl-1.50@gs-max-output on gfx9.
Reviewed-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 c1bddca1a660d5a9cf27e34646d7a4af83af557e..0c561e7ca91825dfcb39f729fbac1b0853070164 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-263,7
+263,10
@@
static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
/* Geometry shader output. */
case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
- return 1024;
+ /* gfx9 has to report 256 to make piglit/gs-max-output pass.
+ * gfx8 and earlier can do 1024.
+ */
+ return 256;
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 4095;
case PIPE_CAP_MAX_GS_INVOCATIONS: