projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
generate OpLine before OpFunction
[platform/upstream/glslang.git]
/
Test
/
hlsl.type.half.frag
1
2
float4 main() : SV_Target0
3
{
4
half h0 = 0;
5
half1 h1 = 1;
6
half2 h2 = 2;
7
half3 h3 = 3;
8
half4 h4 = 4;
9
10
half1x1 h11;
\r
11
half1x2 h12;
\r
12
half1x3 h13;
\r
13
half1x4 h14;
\r
14
half2x1 h21;
\r
15
half2x2 h22 = half2x2(1,2,3,4);
\r
16
half2x3 h23 = (half2x3)4.9;
\r
17
half2x4 h24;
\r
18
half3x1 h31;
\r
19
half3x2 h32;
\r
20
half3x3 h33;
\r
21
half3x4 h34;
\r
22
half4x1 h41;
\r
23
half4x2 h42;
\r
24
half4x3 h43;
\r
25
half4x4 h44;
26
27
return h23._11 + h4.y + h0;
28
}