Bump up layout(location) limit from 62 to 4094, to handle bigger uniform locations.
This commit is contained in:
parent
fa668dad99
commit
5f5b205ce9
4 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue