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 #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
hlsl.logical.unary.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
!ival; // scalar int
14
!ival4; // vector int
15
16
!fval; // scalar float
17
!fval4; // vector float
18
19
if (ival);
20
if (fval);
21
if (!ival);
22
if (!fval);
23
24
PS_OUTPUT psout;
25
psout.Color = 1.0;
26
return psout;
27
}
28
29