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

@@ -2,7 +2,7 @@ hlsl.samplecmplevelzero.array.dx10.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
0:? Sequence
0:42 Sequence
@@ -151,7 +151,7 @@ gl_FragCoord origin is upper left
0:54 0.000000
0:56 move second child to first child (temp 4-component vector of float)
0:56 Color: direct index for structure (temp 4-component vector of float)
0:56 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:56 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:56 Constant:
0:56 0 (const int)
0:56 Constant:
@@ -160,8 +160,8 @@ gl_FragCoord origin is upper left
0:56 1.000000
0:56 1.000000
0:57 move second child to first child (temp float)
0:57 Depth: direct index for structure (temp float FragDepth)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:57 Depth: direct index for structure (temp float)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:57 Constant:
0:57 1 (const int)
0:57 Constant:
@@ -171,13 +171,13 @@ gl_FragCoord origin is upper left
0:59 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:59 Color: direct index for structure (temp 4-component vector of float)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:59 Constant:
0:59 0 (const int)
0:59 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:59 Depth: direct index for structure (temp float FragDepth)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Depth: direct index for structure (temp float)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:59 Constant:
0:59 1 (const int)
0:59 Branch: Return
@@ -214,7 +214,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
0:? Sequence
0:42 Sequence
@@ -363,7 +363,7 @@ gl_FragCoord origin is upper left
0:54 0.000000
0:56 move second child to first child (temp 4-component vector of float)
0:56 Color: direct index for structure (temp 4-component vector of float)
0:56 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:56 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:56 Constant:
0:56 0 (const int)
0:56 Constant:
@@ -372,8 +372,8 @@ gl_FragCoord origin is upper left
0:56 1.000000
0:56 1.000000
0:57 move second child to first child (temp float)
0:57 Depth: direct index for structure (temp float FragDepth)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:57 Depth: direct index for structure (temp float)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:57 Constant:
0:57 1 (const int)
0:57 Constant:
@@ -383,13 +383,13 @@ gl_FragCoord origin is upper left
0:59 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:59 Color: direct index for structure (temp 4-component vector of float)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:59 Constant:
0:59 0 (const int)
0:59 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:59 Depth: direct index for structure (temp float FragDepth)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:59 Depth: direct index for structure (temp float)
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:59 Constant:
0:59 1 (const int)
0:59 Branch: Return
@@ -479,7 +479,6 @@ gl_FragCoord origin is upper left
Decorate 97(g_tTexcdf4a) DescriptorSet 0
Decorate 111(g_tTexcdi4a) DescriptorSet 0
Decorate 122(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 130(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 141(Color) Location 0
Decorate 145(Depth) BuiltIn FragDepth
Decorate 151(g_tTex1df4) DescriptorSet 0