HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.
This commit is contained in:
@@ -2,7 +2,7 @@ hlsl.load.array.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 textureFetch (global 4-component vector of float)
|
||||
@@ -91,7 +91,7 @@ gl_FragCoord origin is upper left
|
||||
0:59 3 (const int)
|
||||
0:67 move second child to first child (temp 4-component vector of float)
|
||||
0:67 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:67 Constant:
|
||||
0:67 0 (const int)
|
||||
0:67 Constant:
|
||||
@@ -100,8 +100,8 @@ gl_FragCoord origin is upper left
|
||||
0:67 1.000000
|
||||
0:67 1.000000
|
||||
0:68 move second child to first child (temp float)
|
||||
0:68 Depth: direct index for structure (temp float FragDepth)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:68 Depth: direct index for structure (temp float)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:68 Constant:
|
||||
0:68 1 (const int)
|
||||
0:68 Constant:
|
||||
@@ -111,13 +111,13 @@ gl_FragCoord origin is upper left
|
||||
0:70 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:70 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 0 (const int)
|
||||
0:70 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:70 Depth: direct index for structure (temp float FragDepth)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 Depth: direct index for structure (temp float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 1 (const int)
|
||||
0:70 Branch: Return
|
||||
@@ -162,7 +162,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 textureFetch (global 4-component vector of float)
|
||||
@@ -251,7 +251,7 @@ gl_FragCoord origin is upper left
|
||||
0:59 3 (const int)
|
||||
0:67 move second child to first child (temp 4-component vector of float)
|
||||
0:67 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:67 Constant:
|
||||
0:67 0 (const int)
|
||||
0:67 Constant:
|
||||
@@ -260,8 +260,8 @@ gl_FragCoord origin is upper left
|
||||
0:67 1.000000
|
||||
0:67 1.000000
|
||||
0:68 move second child to first child (temp float)
|
||||
0:68 Depth: direct index for structure (temp float FragDepth)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:68 Depth: direct index for structure (temp float)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:68 Constant:
|
||||
0:68 1 (const int)
|
||||
0:68 Constant:
|
||||
@@ -271,13 +271,13 @@ gl_FragCoord origin is upper left
|
||||
0:70 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:70 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 0 (const int)
|
||||
0:70 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:70 Depth: direct index for structure (temp float FragDepth)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 Depth: direct index for structure (temp float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 1 (const int)
|
||||
0:70 Branch: Return
|
||||
@@ -369,7 +369,6 @@ gl_FragCoord origin is upper left
|
||||
Decorate 47(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 59(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 68(g_tTex2du4a) DescriptorSet 0
|
||||
MemberDecorate 75(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 87(Color) Location 0
|
||||
Decorate 91(Depth) BuiltIn FragDepth
|
||||
Decorate 97(g_sSamp) DescriptorSet 0
|
||||
|
||||
Reference in New Issue
Block a user