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 #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git]
/
Test
/
hlsl.logical.binary.frag
1
struct PS_OUTPUT
2
{
3
float4 Color : SV_Target0;
4
};
5
6
uniform int ival;
7
uniform int4 ival4;
8
uniform float fval;
9
uniform float4 fval4;
10
11
PS_OUTPUT main()
12
{
13
if (ival && fval);
14
if (ival || fval);
15
16
PS_OUTPUT psout;
17
psout.Color = 1.0;
18
return psout;
19
}
20
21