projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d86503
)
mesa: raise MAX_VARYING (number of shader varying vars) to 16
author
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 22:33:46 +0000
(16:33 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 22:41:04 +0000
(16:41 -0600)
16 is the limit for now because of various 32-bit bitfields.
(cherry picked from master, commit
4e762395ef7e8c332c16fd0c11025cfa52763a45
)
src/mesa/main/config.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/config.h
b/src/mesa/main/config.h
index aecea689af855f92963dfbeef2fd3dea831af638..f7acd2f08e0b87b644fd6492deb74cdfa65ae7e3 100644
(file)
--- a/
src/mesa/main/config.h
+++ b/
src/mesa/main/config.h
@@
-187,7
+187,7
@@
#define MAX_PROGRAM_TEMPS 256
#define MAX_PROGRAM_ADDRESS_REGS 2
#define MAX_UNIFORMS 1024 /**< number of vec4 uniforms */
-#define MAX_VARYING
8
/**< number of float[4] vectors */
+#define MAX_VARYING
16
/**< number of float[4] vectors */
#define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS
#define MAX_PROGRAM_INPUTS 32
#define MAX_PROGRAM_OUTPUTS 32