projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
hlsl.boolConv.vert
1
static bool a, b = true;
2
float4 main() : SV_Position
3
{
4
int r = 0;
5
6
r += a + b;
7
r += a - b;
8
r += a * b;
9
r += a / b;
10
r += a % b;
11
12
r += a & b;
13
r += a | b;
14
r += a ^ b;
15
16
r += a << b;
17
r += a >> b;
18
19
return r;
20
}