projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc219d1
)
r600g: fix the max vertex shader input limit
author
Marek Olšák
<maraeo@gmail.com>
Thu, 2 May 2013 03:24:27 +0000
(
05:24
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 18 Jun 2014 22:14:00 +0000
(
00:14
+0200)
src/gallium/drivers/r600/r600_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 2b65056c9531ad43e7a577b2d337b3d2f2b1631a..6f87c78bdd0def00a3a893022466a359b5ac4eff 100644
(file)
--- a/
src/gallium/drivers/r600/r600_pipe.c
+++ b/
src/gallium/drivers/r600/r600_pipe.c
@@
-410,7
+410,7
@@
static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH:
return 32;
case PIPE_SHADER_CAP_MAX_INPUTS:
- return 32;
+ return
shader == PIPE_SHADER_VERTEX ? 16 :
32;
case PIPE_SHADER_CAP_MAX_TEMPS:
return 256; /* Max native temporaries. */
case PIPE_SHADER_CAP_MAX_ADDRS: