repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ci: Remove gcc from macos matrix
[glslang.git]
/
Test
/
hlsl.comparison.vec.frag
blob
b8f93c9f94ff1c5c01d301f74e69d4c66f0ae2d8
1
uniform float4 uf4;
2
3
void Bug1( float4 a )
4
{
5
float4 v04 = float4( 0.0, 0.0, 0.0, 0.0 );
6
float v01 = 0.0;
7
8
bool4 r00 = a == v04;
9
bool4 r01 = a != v04;
10
bool4 r02 = a < v04;
11
bool4 r03 = a > v04;
12
13
bool4 r10 = a == v01;
14
bool4 r11 = a != v01;
15
bool4 r12 = a < v01;
16
bool4 r13 = a > v01;
17
18
bool4 r20 = v01 == a;
19
bool4 r21 = v01 != a;
20
bool4 r22 = v01 < a;
21
bool4 r23 = v01 > a;
22
}
23
24
struct PS_OUTPUT
25
{
26
float4 Color : SV_Target0;
27
};
28
29
PS_OUTPUT main()
30
{
31
PS_OUTPUT psout;
32
psout.Color = 0;
33
return psout;
34
}