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.getdimensions.dx10.vert
Shader version: 450
0:? Sequence
0:11 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:11 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:11 Function Parameters:
0:? Sequence
0:21 Sequence
@ -27,8 +27,8 @@ Shader version: 450
0:22 textureQueryLevels (temp uint)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:24 move second child to first child (temp 4-component vector of float)
0:24 Pos: direct index for structure (temp 4-component vector of float Position)
0:24 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:24 Pos: direct index for structure (temp 4-component vector of float)
0:24 'vsout' (temp structure{temp 4-component vector of float Pos})
0:24 Constant:
0:24 0 (const int)
0:? Constant:
@ -40,8 +40,8 @@ Shader version: 450
0:? Sequence
0:26 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:26 Pos: direct index for structure (temp 4-component vector of float Position)
0:26 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:26 Pos: direct index for structure (temp 4-component vector of float)
0:26 'vsout' (temp structure{temp 4-component vector of float Pos})
0:26 Constant:
0:26 0 (const int)
0:26 Branch: Return
@ -56,7 +56,7 @@ Linked vertex stage:
Shader version: 450
0:? Sequence
0:11 Function Definition: main( (global structure{temp 4-component vector of float Position Pos})
0:11 Function Definition: main( (global structure{temp 4-component vector of float Pos})
0:11 Function Parameters:
0:? Sequence
0:21 Sequence
@ -82,8 +82,8 @@ Shader version: 450
0:22 textureQueryLevels (temp uint)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:24 move second child to first child (temp 4-component vector of float)
0:24 Pos: direct index for structure (temp 4-component vector of float Position)
0:24 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:24 Pos: direct index for structure (temp 4-component vector of float)
0:24 'vsout' (temp structure{temp 4-component vector of float Pos})
0:24 Constant:
0:24 0 (const int)
0:? Constant:
@ -95,8 +95,8 @@ Shader version: 450
0:? Sequence
0:26 move second child to first child (temp 4-component vector of float)
0:? 'Pos' (out 4-component vector of float Position)
0:26 Pos: direct index for structure (temp 4-component vector of float Position)
0:26 'vsout' (temp structure{temp 4-component vector of float Position Pos})
0:26 Pos: direct index for structure (temp 4-component vector of float)
0:26 'vsout' (temp structure{temp 4-component vector of float Pos})
0:26 Constant:
0:26 0 (const int)
0:26 Branch: Return
@ -128,7 +128,6 @@ Shader version: 450
Name 42 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
MemberDecorate 27(VS_OUTPUT) 0 BuiltIn Position
Decorate 36(Pos) BuiltIn Position
Decorate 42(g_sSamp) DescriptorSet 0
Decorate 42(g_sSamp) Binding 0