projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd96b5
)
radeonsi: decrease the max GS invocation count to 32
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 19 May 2020 01:55:06 +0000
(21:55 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 23 May 2020 07:44:44 +0000
(
03:44
-0400)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5095>
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 fad46fa09ce0ed0cfe19aec56e742d5990cf3bc0..b5dafcfac36e87007cdcc45186b991fcfceae886 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-264,9
+264,8
@@
static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 4095;
case PIPE_CAP_MAX_GS_INVOCATIONS:
- /* The closed driver exposes 127, but 125 is the greatest
- * number that works. */
- return 125;
+ /* Even though the hw supports more, we officially wanna expose only 32. */
+ return 32;
case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
return 2048;