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.load.offset.dx10.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:48 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
0:48 Function Parameters:
0:? Sequence
0:52 textureFetchOffset (global 4-component vector of float)
@ -133,7 +133,7 @@ gl_FragCoord origin is upper left
0:64 'o3' (uniform 3-component vector of int)
0:72 move second child to first child (temp 4-component vector of float)
0:72 Color: direct index for structure (temp 4-component vector of float)
0:72 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:72 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:72 Constant:
0:72 0 (const int)
0:72 Constant:
@ -142,8 +142,8 @@ gl_FragCoord origin is upper left
0:72 1.000000
0:72 1.000000
0:73 move second child to first child (temp float)
0:73 Depth: direct index for structure (temp float FragDepth)
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:73 Depth: direct index for structure (temp float)
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:73 Constant:
0:73 1 (const int)
0:73 Constant:
@ -153,13 +153,13 @@ gl_FragCoord origin is upper left
0:75 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:75 Color: direct index for structure (temp 4-component vector of float)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:75 Constant:
0:75 0 (const int)
0:75 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:75 Depth: direct index for structure (temp float FragDepth)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Depth: direct index for structure (temp float)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:75 Constant:
0:75 1 (const int)
0:75 Branch: Return
@ -204,7 +204,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:48 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:48 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
0:48 Function Parameters:
0:? Sequence
0:52 textureFetchOffset (global 4-component vector of float)
@ -335,7 +335,7 @@ gl_FragCoord origin is upper left
0:64 'o3' (uniform 3-component vector of int)
0:72 move second child to first child (temp 4-component vector of float)
0:72 Color: direct index for structure (temp 4-component vector of float)
0:72 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:72 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:72 Constant:
0:72 0 (const int)
0:72 Constant:
@ -344,8 +344,8 @@ gl_FragCoord origin is upper left
0:72 1.000000
0:72 1.000000
0:73 move second child to first child (temp float)
0:73 Depth: direct index for structure (temp float FragDepth)
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:73 Depth: direct index for structure (temp float)
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:73 Constant:
0:73 1 (const int)
0:73 Constant:
@ -355,13 +355,13 @@ gl_FragCoord origin is upper left
0:75 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:75 Color: direct index for structure (temp 4-component vector of float)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:75 Constant:
0:75 0 (const int)
0:75 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:75 Depth: direct index for structure (temp float FragDepth)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:75 Depth: direct index for structure (temp float)
0:75 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:75 Constant:
0:75 1 (const int)
0:75 Branch: Return
@ -458,7 +458,6 @@ gl_FragCoord origin is upper left
Decorate 86(g_tTex3df4) DescriptorSet 0
Decorate 100(g_tTex3di4) DescriptorSet 0
Decorate 110(g_tTex3du4) DescriptorSet 0
MemberDecorate 118(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 130(Color) Location 0
Decorate 134(Depth) BuiltIn FragDepth
Decorate 140(g_sSamp) DescriptorSet 0