Mesa (outputswritten64): Ensure MAX_PROGRAM_OUTPUTS is large enough
Ian Romanick
idr at kemper.freedesktop.org
Fri Nov 6 18:43:58 UTC 2009
Module: Mesa
Branch: outputswritten64
Commit: 0ceed809bf7399d9094e481a4b897ef4e0c78bb5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ceed809bf7399d9094e481a4b897ef4e0c78bb5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Nov 4 11:41:27 2009 -0800
Ensure MAX_PROGRAM_OUTPUTS is large enough
There are still only 32 outputs possible, but some of the outputs are
numbered higher than 32. Since MAX_PROGRAM_OUTPUTS is used to size
some arrays, it needs to be increased.
---
src/mesa/main/config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 8a09efd..c504897 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -205,7 +205,7 @@
#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
+#define MAX_PROGRAM_OUTPUTS 64
/*@}*/
/** For GL_ARB_vertex_program */
More information about the mesa-commit
mailing list