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.load.basic.dx10.vert
Shader version: 450
0:? Sequence
0:47 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:47 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:47 Function Parameters:
0:? Sequence
0:51 textureFetch (global 4-component vector of float)
@@ -122,8 +122,8 @@ Shader version: 450
0:63 Constant:
0:63 3 (const int)
0:67 move second child to first child (temp 4-component vector of float)
0:67 Pos: direct index for structure (temp 4-component vector of float Position)
0:67 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:67 Pos: direct index for structure (temp 4-component vector of float)
0:67 'vsout' (temp structure{temp 4-component vector of float Pos})
0:67 Constant:
0:67 0 (const int)
0:? Constant:
@@ -135,8 +135,8 @@ Shader version: 450
0:? Sequence
0:69 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:69 Pos: direct index for structure (temp 4-component vector of float Position)
0:69 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:69 Pos: direct index for structure (temp 4-component vector of float)
0:69 'vsout' (temp structure{temp 4-component vector of float Pos})
0:69 Constant:
0:69 0 (const int)
0:69 Branch: Return
@@ -179,7 +179,7 @@ Linked vertex stage:
Shader version: 450
0:? Sequence
0:47 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:47 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:47 Function Parameters:
0:? Sequence
0:51 textureFetch (global 4-component vector of float)
@@ -300,8 +300,8 @@ Shader version: 450
0:63 Constant:
0:63 3 (const int)
0:67 move second child to first child (temp 4-component vector of float)
0:67 Pos: direct index for structure (temp 4-component vector of float Position)
0:67 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:67 Pos: direct index for structure (temp 4-component vector of float)
0:67 'vsout' (temp structure{temp 4-component vector of float Pos})
0:67 Constant:
0:67 0 (const int)
0:? Constant:
@@ -313,8 +313,8 @@ Shader version: 450
0:? Sequence
0:69 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:69 Pos: direct index for structure (temp 4-component vector of float Position)
0:69 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:69 Pos: direct index for structure (temp 4-component vector of float)
0:69 'vsout' (temp structure{temp 4-component vector of float Pos})
0:69 Constant:
0:69 0 (const int)
0:69 Branch: Return
@@ -406,7 +406,6 @@ Shader version: 450
Decorate 78(g_tTex3df4) DescriptorSet 0
Decorate 90(g_tTex3di4) DescriptorSet 0
Decorate 99(g_tTex3du4) DescriptorSet 0
MemberDecorate 106(VS_OUTPUT) 0 BuiltIn Position
Decorate 115(Pos) BuiltIn Position
Decorate 121(g_sSamp) DescriptorSet 0
Decorate 121(g_sSamp) Binding 0