Bump up layout(location) limit from 62 to 4094, to handle bigger uniform locations.

This commit is contained in:
John Kessenich 2015-09-13 20:59:36 -06:00
parent fa668dad99
commit 5f5b205ce9
4 changed files with 7 additions and 7 deletions

View file

@ -513,8 +513,8 @@ public:
int layoutOffset;
int layoutAlign;
unsigned int layoutLocation : 7;
static const unsigned int layoutLocationEnd = 0x3F;
unsigned int layoutLocation :12;
static const unsigned int layoutLocationEnd = 0xFFF;
unsigned int layoutComponent : 3;
static const unsigned int layoutComponentEnd = 4;