Preprocessor: UINT_MAX is translated to constant incorrectly.

This commit is contained in:
Rex Xu 2016-09-06 13:46:12 +08:00
parent cfd7ce87cd
commit 99c4dd16db
5 changed files with 665 additions and 630 deletions

View file

@ -95,5 +95,8 @@ void main()
if ((mask1 ^ mask4) == 0xA10u)
count *= 7; // 341413380
c += uvec4(count);
c += uvec4(count);
#define UINT_MAX 4294967295u
c.x += UINT_MAX;
}