HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.

This commit is contained in:
John Kessenich
2016-09-19 22:16:09 -06:00
parent 86f7138706
commit 6b71c400f8
56 changed files with 724 additions and 769 deletions

View File

@@ -1,7 +1,7 @@
hlsl.samplegrad.basic.dx10.vert
Shader version: 450
0:? Sequence
0:27 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:27 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:27 Function Parameters:
0:? Sequence
0:30 Sequence
@@ -206,8 +206,8 @@ Shader version: 450
0:? 1.200000
0:? 1.300000
0:46 move second child to first child (temp 4-component vector of float)
0:46 Pos: direct index for structure (temp 4-component vector of float Position)
0:46 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:46 Pos: direct index for structure (temp 4-component vector of float)
0:46 'vsout' (temp structure{temp 4-component vector of float Pos})
0:46 Constant:
0:46 0 (const int)
0:? Constant:
@@ -219,8 +219,8 @@ Shader version: 450
0:? Sequence
0:48 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:48 Pos: direct index for structure (temp 4-component vector of float Position)
0:48 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:48 Pos: direct index for structure (temp 4-component vector of float)
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
0:48 Constant:
0:48 0 (const int)
0:48 Branch: Return
@@ -247,7 +247,7 @@ Linked vertex stage:
Shader version: 450
0:? Sequence
0:27 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:27 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:27 Function Parameters:
0:? Sequence
0:30 Sequence
@@ -452,8 +452,8 @@ Shader version: 450
0:? 1.200000
0:? 1.300000
0:46 move second child to first child (temp 4-component vector of float)
0:46 Pos: direct index for structure (temp 4-component vector of float Position)
0:46 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:46 Pos: direct index for structure (temp 4-component vector of float)
0:46 'vsout' (temp structure{temp 4-component vector of float Pos})
0:46 Constant:
0:46 0 (const int)
0:? Constant:
@@ -465,8 +465,8 @@ Shader version: 450
0:? Sequence
0:48 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:48 Pos: direct index for structure (temp 4-component vector of float Position)
0:48 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:48 Pos: direct index for structure (temp 4-component vector of float)
0:48 'vsout' (temp structure{temp 4-component vector of float Pos})
0:48 Constant:
0:48 0 (const int)
0:48 Branch: Return
@@ -542,7 +542,6 @@ Shader version: 450
Decorate 124(g_tTexcdf4) DescriptorSet 0
Decorate 133(g_tTexcdi4) DescriptorSet 0
Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(VS_OUTPUT) 0 BuiltIn Position
Decorate 156(Pos) BuiltIn Position
Decorate 160(g_tTex1df4a) DescriptorSet 0
Decorate 160(g_tTex1df4a) Binding 1