summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program_parser.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2011-12-02 08:08:07 +0100
committerMathias Fröhlich <[email protected]>2011-12-03 08:13:49 +0100
commitb14c06e10d570edcb4dcbea173d71751563616e7 (patch)
tree30c37b4f363a8dbe72c4e15ced1731935d81d124 /src/mesa/program/program_parser.h
parentb7a69cbb71304609245be43fa739c50969017ab8 (diff)
mesa: Use VERT_{ATTRIB,BIT}* for ARB input validation.
For validating ARB program inputs replace hard coded bitfield and attribute number with the appropriate VERT_{ATTRIB,BIT}* variant. This should fix: https://bugs.freedesktop.org/show_bug.cgi?id=43407 Signed-off-by: Mathias Froehlich <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/program/program_parser.h')
-rw-r--r--src/mesa/program/program_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parser.h b/src/mesa/program/program_parser.h
index 5637598f3b3..bc756148a20 100644
--- a/src/mesa/program/program_parser.h
+++ b/src/mesa/program/program_parser.h
@@ -191,7 +191,7 @@ struct asm_parser_state {
* multiple ATTRIB statements bind illegal combinations of vertex
* attributes.
*/
- unsigned InputsBound;
+ GLbitfield64 InputsBound;
enum {
invalid_mode = 0,