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.gather.basic.dx10.frag
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:29 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:29 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:29 Function Parameters:
|
||||
0:? Sequence
|
||||
0:34 Sequence
|
||||
@@ -70,7 +70,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 0.900000
|
||||
0:44 move second child to first child (temp 4-component vector of float)
|
||||
0:44 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:44 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:44 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:44 Constant:
|
||||
0:44 0 (const int)
|
||||
0:44 Constant:
|
||||
@@ -79,8 +79,8 @@ gl_FragCoord origin is upper left
|
||||
0:44 1.000000
|
||||
0:44 1.000000
|
||||
0:45 move second child to first child (temp float)
|
||||
0:45 Depth: direct index for structure (temp float FragDepth)
|
||||
0:45 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:45 Depth: direct index for structure (temp float)
|
||||
0:45 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:45 Constant:
|
||||
0:45 1 (const int)
|
||||
0:45 Constant:
|
||||
@@ -90,13 +90,13 @@ gl_FragCoord origin is upper left
|
||||
0:47 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:47 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:47 Constant:
|
||||
0:47 0 (const int)
|
||||
0:47 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:47 Depth: direct index for structure (temp float FragDepth)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:47 Depth: direct index for structure (temp float)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:47 Constant:
|
||||
0:47 1 (const int)
|
||||
0:47 Branch: Return
|
||||
@@ -126,7 +126,7 @@ Linked fragment stage:
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:29 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:29 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:29 Function Parameters:
|
||||
0:? Sequence
|
||||
0:34 Sequence
|
||||
@@ -194,7 +194,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 0.900000
|
||||
0:44 move second child to first child (temp 4-component vector of float)
|
||||
0:44 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:44 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:44 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:44 Constant:
|
||||
0:44 0 (const int)
|
||||
0:44 Constant:
|
||||
@@ -203,8 +203,8 @@ gl_FragCoord origin is upper left
|
||||
0:44 1.000000
|
||||
0:44 1.000000
|
||||
0:45 move second child to first child (temp float)
|
||||
0:45 Depth: direct index for structure (temp float FragDepth)
|
||||
0:45 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:45 Depth: direct index for structure (temp float)
|
||||
0:45 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:45 Constant:
|
||||
0:45 1 (const int)
|
||||
0:45 Constant:
|
||||
@@ -214,13 +214,13 @@ gl_FragCoord origin is upper left
|
||||
0:47 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:47 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:47 Constant:
|
||||
0:47 0 (const int)
|
||||
0:47 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:47 Depth: direct index for structure (temp float FragDepth)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:47 Depth: direct index for structure (temp float)
|
||||
0:47 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:47 Constant:
|
||||
0:47 1 (const int)
|
||||
0:47 Branch: Return
|
||||
@@ -289,7 +289,6 @@ gl_FragCoord origin is upper left
|
||||
Decorate 59(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 70(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 80(g_tTexcdu4) DescriptorSet 0
|
||||
MemberDecorate 90(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 100(Color) Location 0
|
||||
Decorate 104(Depth) BuiltIn FragDepth
|
||||
Decorate 108(g_sSamp2d) DescriptorSet 0
|
||||
|
||||
Reference in New Issue
Block a user