OSDN Git Service

mesa: Use VERT_{ATTRIB,BIT}* for ARB input validation.
authorMathias Fröhlich <Mathias.Froehlich@web.de>
Fri, 2 Dec 2011 07:08:07 +0000 (08:08 +0100)
committerMathias Fröhlich <Mathias.Froehlich@web.de>
Sat, 3 Dec 2011 07:13:49 +0000 (08:13 +0100)
commitb14c06e10d570edcb4dcbea173d71751563616e7
tree30c37b4f363a8dbe72c4e15ced1731935d81d124
parentb7a69cbb71304609245be43fa739c50969017ab8
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 <Mathias.Froehlich@web.de>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/program/program_parse.y
src/mesa/program/program_parser.h