HLSL: Add tests and refine what decorations are passed through per stage/in/out.

This commit is contained in:
John Kessenich 2017-02-06 18:44:52 -07:00
parent bf47286fe7
commit 65ee230f1c
12 changed files with 386 additions and 30 deletions

View file

@ -92,7 +92,7 @@ Shader version: 450
0:? 'e' (temp 4-component vector of float)
0:8 move second child to first child (temp 2-element array of 4-component vector of float)
0:8 m: direct index for structure (temp 2-element array of 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 0 (const int)
0:8 m: direct index for structure (temp 2-element array of 4-component vector of float)
@ -101,7 +101,7 @@ Shader version: 450
0:8 0 (const int)
0:8 move second child to first child (temp 2-component vector of uint)
0:8 coord: direct index for structure (temp 2-component vector of uint)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 1 (const int)
0:8 coord: direct index for structure (temp 2-component vector of uint)
@ -109,8 +109,8 @@ Shader version: 450
0:8 Constant:
0:8 1 (const int)
0:8 move second child to first child (temp 4-component vector of float)
0:8 b: direct index for structure (smooth temp 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 b: direct index for structure (temp 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 2 (const int)
0:8 b: direct index for structure (temp 4-component vector of float)
@ -118,7 +118,7 @@ Shader version: 450
0:8 Constant:
0:8 2 (const int)
0:? Linker Objects
0:? '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:? '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:? 'd' (layout(location=0 ) in 4-component vector of float)
0:? 'm[0]' (layout(location=1 ) in 4-component vector of float)
0:? 'm[1]' (layout(location=2 ) in 4-component vector of float)
@ -225,7 +225,7 @@ Shader version: 450
0:? 'e' (temp 4-component vector of float)
0:8 move second child to first child (temp 2-element array of 4-component vector of float)
0:8 m: direct index for structure (temp 2-element array of 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 0 (const int)
0:8 m: direct index for structure (temp 2-element array of 4-component vector of float)
@ -234,7 +234,7 @@ Shader version: 450
0:8 0 (const int)
0:8 move second child to first child (temp 2-component vector of uint)
0:8 coord: direct index for structure (temp 2-component vector of uint)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 1 (const int)
0:8 coord: direct index for structure (temp 2-component vector of uint)
@ -242,8 +242,8 @@ Shader version: 450
0:8 Constant:
0:8 1 (const int)
0:8 move second child to first child (temp 4-component vector of float)
0:8 b: direct index for structure (smooth temp 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:8 b: direct index for structure (temp 4-component vector of float)
0:8 '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:8 Constant:
0:8 2 (const int)
0:8 b: direct index for structure (temp 4-component vector of float)
@ -251,7 +251,7 @@ Shader version: 450
0:8 Constant:
0:8 2 (const int)
0:? Linker Objects
0:? '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, smooth temp 4-component vector of float b})
0:? '@entryPointOutput' (out structure Position{temp 2-element array of 4-component vector of float m, temp 2-component vector of uint coord, temp 4-component vector of float b})
0:? 'd' (layout(location=0 ) in 4-component vector of float)
0:? 'm[0]' (layout(location=1 ) in 4-component vector of float)
0:? 'm[1]' (layout(location=2 ) in 4-component vector of float)