Semantics: Spec. changing to reflect reality of int/uint conversion for |^&.

This effects 4.x, where int/uint conversions are done, but not earlier.
This commit is contained in:
John Kessenich
2016-01-22 15:40:24 -07:00
parent 4889167430
commit 4bfeed5fe8
4 changed files with 318 additions and 24 deletions

View File

@@ -185,3 +185,13 @@ void qlod()
}
struct SKeyMem { int precise; } KeyMem; // ERROR, keyword can't be a member
uniform uint uu;
out int iout;
void bitwiseConv()
{
iout = uu & i;
iout += uu ^ i;
iout += i | uu;
}