HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.
This commit is contained in:
parent
86f7138706
commit
6b71c400f8
56 changed files with 724 additions and 769 deletions
|
|
@ -2,7 +2,7 @@ hlsl.load.2dms.dx10.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:32 textureFetch (global 4-component vector of float)
|
||||
|
|
@ -73,7 +73,7 @@ gl_FragCoord origin is upper left
|
|||
0:49 'o2' (uniform 2-component vector of int)
|
||||
0:51 move second child to first child (temp 4-component vector of float)
|
||||
0:51 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:51 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:51 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:51 Constant:
|
||||
0:51 0 (const int)
|
||||
0:51 Constant:
|
||||
|
|
@ -82,8 +82,8 @@ gl_FragCoord origin is upper left
|
|||
0:51 1.000000
|
||||
0:51 1.000000
|
||||
0:52 move second child to first child (temp float)
|
||||
0:52 Depth: direct index for structure (temp float FragDepth)
|
||||
0:52 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:52 Depth: direct index for structure (temp float)
|
||||
0:52 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:52 Constant:
|
||||
0:52 1 (const int)
|
||||
0:52 Constant:
|
||||
|
|
@ -93,13 +93,13 @@ gl_FragCoord origin is upper left
|
|||
0:54 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:54 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:54 Constant:
|
||||
0:54 0 (const int)
|
||||
0:54 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:54 Depth: direct index for structure (temp float FragDepth)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:54 Depth: direct index for structure (temp float)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:54 Constant:
|
||||
0:54 1 (const int)
|
||||
0:54 Branch: Return
|
||||
|
|
@ -129,7 +129,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:32 textureFetch (global 4-component vector of float)
|
||||
|
|
@ -200,7 +200,7 @@ gl_FragCoord origin is upper left
|
|||
0:49 'o2' (uniform 2-component vector of int)
|
||||
0:51 move second child to first child (temp 4-component vector of float)
|
||||
0:51 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:51 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:51 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:51 Constant:
|
||||
0:51 0 (const int)
|
||||
0:51 Constant:
|
||||
|
|
@ -209,8 +209,8 @@ gl_FragCoord origin is upper left
|
|||
0:51 1.000000
|
||||
0:51 1.000000
|
||||
0:52 move second child to first child (temp float)
|
||||
0:52 Depth: direct index for structure (temp float FragDepth)
|
||||
0:52 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:52 Depth: direct index for structure (temp float)
|
||||
0:52 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:52 Constant:
|
||||
0:52 1 (const int)
|
||||
0:52 Constant:
|
||||
|
|
@ -220,13 +220,13 @@ gl_FragCoord origin is upper left
|
|||
0:54 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:54 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:54 Constant:
|
||||
0:54 0 (const int)
|
||||
0:54 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:54 Depth: direct index for structure (temp float FragDepth)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:54 Depth: direct index for structure (temp float)
|
||||
0:54 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:54 Constant:
|
||||
0:54 1 (const int)
|
||||
0:54 Branch: Return
|
||||
|
|
@ -288,7 +288,6 @@ gl_FragCoord origin is upper left
|
|||
Decorate 49(g_tTex2dmsf4a) DescriptorSet 0
|
||||
Decorate 58(g_tTex2dmsi4a) DescriptorSet 0
|
||||
Decorate 64(g_tTex2dmsu4a) DescriptorSet 0
|
||||
MemberDecorate 80(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 92(Color) Location 0
|
||||
Decorate 96(Depth) BuiltIn FragDepth
|
||||
Decorate 102(g_sSamp) DescriptorSet 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue