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,14 +4,14 @@ gl_FragCoord origin is upper left
0:? Sequence
0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (global 4-component vector of float)
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
0:2 'c' (in int)
0:2 'd' (in int)
0:2 'input' (layout(location=0 ) in 4-component vector of float)
0:2 'c' (layout(location=1 ) in int)
0:2 'd' (layout(location=2 ) in int)
0:? Sequence
0:3 'c' (in int)
0:3 'c' (layout(location=1 ) in int)
0:7 switch
0:7 condition
0:7 'c' (in int)
0:7 'c' (layout(location=1 ) in int)
0:7 body
0:7 Sequence
0:9 default:
@ -19,7 +19,7 @@ gl_FragCoord origin is upper left
0:7 Branch: Break
0:12 switch
0:12 condition
0:12 'c' (in int)
0:12 'c' (layout(location=1 ) in int)
0:12 body
0:12 Sequence
0:13 case: with expression
@ -27,18 +27,18 @@ gl_FragCoord origin is upper left
0:13 1 (const int)
0:? Sequence
0:14 Pre-Increment (temp 4-component vector of float)
0:14 'input' (in 4-component vector of float)
0:14 'input' (layout(location=0 ) in 4-component vector of float)
0:15 Branch: Break
0:16 case: with expression
0:16 Constant:
0:16 2 (const int)
0:? Sequence
0:17 Pre-Decrement (temp 4-component vector of float)
0:17 'input' (in 4-component vector of float)
0:17 'input' (layout(location=0 ) in 4-component vector of float)
0:18 Branch: Break
0:21 switch
0:21 condition
0:21 'c' (in int)
0:21 'c' (layout(location=1 ) in int)
0:21 body
0:21 Sequence
0:22 case: with expression
@ -46,7 +46,7 @@ gl_FragCoord origin is upper left
0:22 1 (const int)
0:? Sequence
0:23 Pre-Increment (temp 4-component vector of float)
0:23 'input' (in 4-component vector of float)
0:23 'input' (layout(location=0 ) in 4-component vector of float)
0:24 Branch: Break
0:25 case: with expression
0:25 Constant:
@ -54,7 +54,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:26 switch
0:26 condition
0:26 'd' (in int)
0:26 'd' (layout(location=2 ) in int)
0:26 body
0:26 Sequence
0:27 case: with expression
@ -62,7 +62,7 @@ gl_FragCoord origin is upper left
0:27 2 (const int)
0:? Sequence
0:28 add second child into first child (temp 4-component vector of float)
0:28 'input' (in 4-component vector of float)
0:28 'input' (layout(location=0 ) in 4-component vector of float)
0:28 Constant:
0:28 2.000000
0:29 Branch: Break
@ -71,7 +71,7 @@ gl_FragCoord origin is upper left
0:30 3 (const int)
0:? Sequence
0:31 add second child into first child (temp 4-component vector of float)
0:31 'input' (in 4-component vector of float)
0:31 'input' (layout(location=0 ) in 4-component vector of float)
0:31 Constant:
0:31 3.000000
0:32 Branch: Break
@ -79,12 +79,12 @@ gl_FragCoord origin is upper left
0:35 default:
0:? Sequence
0:36 add second child into first child (temp 4-component vector of float)
0:36 'input' (in 4-component vector of float)
0:36 'input' (layout(location=0 ) in 4-component vector of float)
0:36 Constant:
0:36 4.000000
0:39 switch
0:39 condition
0:39 'c' (in int)
0:39 'c' (layout(location=1 ) in int)
0:39 body
0:39 Sequence
0:40 case: with expression
@ -94,7 +94,7 @@ gl_FragCoord origin is upper left
0:39 Branch: Break
0:43 switch
0:43 condition
0:43 'c' (in int)
0:43 'c' (layout(location=1 ) in int)
0:43 body
0:43 Sequence
0:44 case: with expression
@ -108,7 +108,7 @@ gl_FragCoord origin is upper left
0:46 3 (const int)
0:? Sequence
0:47 Pre-Increment (temp 4-component vector of float)
0:47 'input' (in 4-component vector of float)
0:47 'input' (layout(location=0 ) in 4-component vector of float)
0:48 Branch: Break
0:49 case: with expression
0:49 Constant:
@ -118,11 +118,11 @@ gl_FragCoord origin is upper left
0:50 5 (const int)
0:? Sequence
0:51 Pre-Decrement (temp 4-component vector of float)
0:51 'input' (in 4-component vector of float)
0:51 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Sequence
0:54 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:54 'input' (in 4-component vector of float)
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Branch: Return
0:? Linker Objects
@ -135,14 +135,14 @@ gl_FragCoord origin is upper left
0:? Sequence
0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (global 4-component vector of float)
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
0:2 'c' (in int)
0:2 'd' (in int)
0:2 'input' (layout(location=0 ) in 4-component vector of float)
0:2 'c' (layout(location=1 ) in int)
0:2 'd' (layout(location=2 ) in int)
0:? Sequence
0:3 'c' (in int)
0:3 'c' (layout(location=1 ) in int)
0:7 switch
0:7 condition
0:7 'c' (in int)
0:7 'c' (layout(location=1 ) in int)
0:7 body
0:7 Sequence
0:9 default:
@ -150,7 +150,7 @@ gl_FragCoord origin is upper left
0:7 Branch: Break
0:12 switch
0:12 condition
0:12 'c' (in int)
0:12 'c' (layout(location=1 ) in int)
0:12 body
0:12 Sequence
0:13 case: with expression
@ -158,18 +158,18 @@ gl_FragCoord origin is upper left
0:13 1 (const int)
0:? Sequence
0:14 Pre-Increment (temp 4-component vector of float)
0:14 'input' (in 4-component vector of float)
0:14 'input' (layout(location=0 ) in 4-component vector of float)
0:15 Branch: Break
0:16 case: with expression
0:16 Constant:
0:16 2 (const int)
0:? Sequence
0:17 Pre-Decrement (temp 4-component vector of float)
0:17 'input' (in 4-component vector of float)
0:17 'input' (layout(location=0 ) in 4-component vector of float)
0:18 Branch: Break
0:21 switch
0:21 condition
0:21 'c' (in int)
0:21 'c' (layout(location=1 ) in int)
0:21 body
0:21 Sequence
0:22 case: with expression
@ -177,7 +177,7 @@ gl_FragCoord origin is upper left
0:22 1 (const int)
0:? Sequence
0:23 Pre-Increment (temp 4-component vector of float)
0:23 'input' (in 4-component vector of float)
0:23 'input' (layout(location=0 ) in 4-component vector of float)
0:24 Branch: Break
0:25 case: with expression
0:25 Constant:
@ -185,7 +185,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:26 switch
0:26 condition
0:26 'd' (in int)
0:26 'd' (layout(location=2 ) in int)
0:26 body
0:26 Sequence
0:27 case: with expression
@ -193,7 +193,7 @@ gl_FragCoord origin is upper left
0:27 2 (const int)
0:? Sequence
0:28 add second child into first child (temp 4-component vector of float)
0:28 'input' (in 4-component vector of float)
0:28 'input' (layout(location=0 ) in 4-component vector of float)
0:28 Constant:
0:28 2.000000
0:29 Branch: Break
@ -202,7 +202,7 @@ gl_FragCoord origin is upper left
0:30 3 (const int)
0:? Sequence
0:31 add second child into first child (temp 4-component vector of float)
0:31 'input' (in 4-component vector of float)
0:31 'input' (layout(location=0 ) in 4-component vector of float)
0:31 Constant:
0:31 3.000000
0:32 Branch: Break
@ -210,12 +210,12 @@ gl_FragCoord origin is upper left
0:35 default:
0:? Sequence
0:36 add second child into first child (temp 4-component vector of float)
0:36 'input' (in 4-component vector of float)
0:36 'input' (layout(location=0 ) in 4-component vector of float)
0:36 Constant:
0:36 4.000000
0:39 switch
0:39 condition
0:39 'c' (in int)
0:39 'c' (layout(location=1 ) in int)
0:39 body
0:39 Sequence
0:40 case: with expression
@ -225,7 +225,7 @@ gl_FragCoord origin is upper left
0:39 Branch: Break
0:43 switch
0:43 condition
0:43 'c' (in int)
0:43 'c' (layout(location=1 ) in int)
0:43 body
0:43 Sequence
0:44 case: with expression
@ -239,7 +239,7 @@ gl_FragCoord origin is upper left
0:46 3 (const int)
0:? Sequence
0:47 Pre-Increment (temp 4-component vector of float)
0:47 'input' (in 4-component vector of float)
0:47 'input' (layout(location=0 ) in 4-component vector of float)
0:48 Branch: Break
0:49 case: with expression
0:49 Constant:
@ -249,11 +249,11 @@ gl_FragCoord origin is upper left
0:50 5 (const int)
0:? Sequence
0:51 Pre-Decrement (temp 4-component vector of float)
0:51 'input' (in 4-component vector of float)
0:51 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Sequence
0:54 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:54 'input' (in 4-component vector of float)
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Branch: Return
0:? Linker Objects
@ -271,6 +271,9 @@ gl_FragCoord origin is upper left
Name 21 "input"
Name 41 "d"
Name 81 "@entryPointOutput"
Decorate 8(c) Location 1
Decorate 21(input) Location 0
Decorate 41(d) Location 2
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1