projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40bc33
)
v3d: Use our #define for max attributes in shader caps.
author
Eric Anholt
<eric@anholt.net>
Fri, 8 Jun 2018 15:00:31 +0000
(08:00 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 14 Jun 2018 23:52:25 +0000
(16:52 -0700)
src/gallium/drivers/v3d/v3d_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_screen.c
b/src/gallium/drivers/v3d/v3d_screen.c
index d578265eef0c5db4c2739974abfa88925c8e4b27..80b8156a73e8aef436463222fa016af7d44d2daf 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_screen.c
+++ b/
src/gallium/drivers/v3d/v3d_screen.c
@@
-376,7
+376,7
@@
v3d_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
if (shader == PIPE_SHADER_FRAGMENT)
return VC5_MAX_FS_INPUTS / 4;
else
- return
16
;
+ return
VC5_MAX_ATTRIBUTES
;
case PIPE_SHADER_CAP_MAX_OUTPUTS:
if (shader == PIPE_SHADER_FRAGMENT)
return 4;