HLSL: Create test results for the previous commits.

This commit is contained in:
John Kessenich
2016-08-29 16:34:12 -06:00
parent 335fc28e76
commit 510d83b384
92 changed files with 1471 additions and 1370 deletions

View File

@@ -4,39 +4,39 @@ gl_FragCoord origin is upper left
0:? Sequence
0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (global void)
0:3 Function Parameters:
0:3 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float)
0:3 'inF3' (in 3-component vector of float)
0:3 'inF4' (in 4-component vector of float)
0:3 'inI2' (in 2-component vector of int)
0:3 'inF1' (layout(location=0 ) in float)
0:3 'inF2' (layout(location=1 ) in 2-component vector of float)
0:3 'inF3' (layout(location=2 ) in 3-component vector of float)
0:3 'inF4' (layout(location=3 ) in 4-component vector of float)
0:3 'inI2' (layout(location=4 ) in 2-component vector of int)
0:? Sequence
0:4 interpolateAtOffset (temp float)
0:4 'inF1' (in float)
0:4 'inF1' (layout(location=0 ) in float)
0:? Constant:
0:? -0.500000
0:? -0.062500
0:5 interpolateAtOffset (temp 2-component vector of float)
0:5 'inF2' (in 2-component vector of float)
0:5 'inF2' (layout(location=1 ) in 2-component vector of float)
0:? Constant:
0:? 0.000000
0:? 0.062500
0:6 interpolateAtOffset (temp 3-component vector of float)
0:6 'inF3' (in 3-component vector of float)
0:6 'inF3' (layout(location=2 ) in 3-component vector of float)
0:? Constant:
0:? 0.187500
0:? -0.375000
0:7 interpolateAtOffset (temp 4-component vector of float)
0:7 'inF4' (in 4-component vector of float)
0:7 'inF4' (layout(location=3 ) in 4-component vector of float)
0:? Constant:
0:? 0.437500
0:? -0.500000
0:9 interpolateAtOffset (temp float)
0:9 'inF1' (in float)
0:9 'inF1' (layout(location=0 ) in float)
0:9 vector-scale (temp 2-component vector of float)
0:9 Convert int to float (temp 2-component vector of float)
0:9 right-shift (temp 2-component vector of int)
0:9 left-shift (temp 2-component vector of int)
0:9 'inI2' (in 2-component vector of int)
0:9 'inI2' (layout(location=4 ) in 2-component vector of int)
0:9 Constant:
0:9 28 (const int)
0:9 Constant:
@@ -54,39 +54,39 @@ gl_FragCoord origin is upper left
0:? Sequence
0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (global void)
0:3 Function Parameters:
0:3 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float)
0:3 'inF3' (in 3-component vector of float)
0:3 'inF4' (in 4-component vector of float)
0:3 'inI2' (in 2-component vector of int)
0:3 'inF1' (layout(location=0 ) in float)
0:3 'inF2' (layout(location=1 ) in 2-component vector of float)
0:3 'inF3' (layout(location=2 ) in 3-component vector of float)
0:3 'inF4' (layout(location=3 ) in 4-component vector of float)
0:3 'inI2' (layout(location=4 ) in 2-component vector of int)
0:? Sequence
0:4 interpolateAtOffset (temp float)
0:4 'inF1' (in float)
0:4 'inF1' (layout(location=0 ) in float)
0:? Constant:
0:? -0.500000
0:? -0.062500
0:5 interpolateAtOffset (temp 2-component vector of float)
0:5 'inF2' (in 2-component vector of float)
0:5 'inF2' (layout(location=1 ) in 2-component vector of float)
0:? Constant:
0:? 0.000000
0:? 0.062500
0:6 interpolateAtOffset (temp 3-component vector of float)
0:6 'inF3' (in 3-component vector of float)
0:6 'inF3' (layout(location=2 ) in 3-component vector of float)
0:? Constant:
0:? 0.187500
0:? -0.375000
0:7 interpolateAtOffset (temp 4-component vector of float)
0:7 'inF4' (in 4-component vector of float)
0:7 'inF4' (layout(location=3 ) in 4-component vector of float)
0:? Constant:
0:? 0.437500
0:? -0.500000
0:9 interpolateAtOffset (temp float)
0:9 'inF1' (in float)
0:9 'inF1' (layout(location=0 ) in float)
0:9 vector-scale (temp 2-component vector of float)
0:9 Convert int to float (temp 2-component vector of float)
0:9 right-shift (temp 2-component vector of int)
0:9 left-shift (temp 2-component vector of int)
0:9 'inI2' (in 2-component vector of int)
0:9 'inI2' (layout(location=4 ) in 2-component vector of int)
0:9 Constant:
0:9 28 (const int)
0:9 Constant:
@@ -111,6 +111,11 @@ gl_FragCoord origin is upper left
Name 22 "inF3"
Name 29 "inF4"
Name 36 "inI2"
Decorate 8(inF1) Location 0
Decorate 15(inF2) Location 1
Decorate 22(inF3) Location 2
Decorate 29(inF4) Location 3
Decorate 36(inI2) Location 4
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32