HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
parent
ecd08bc36c
commit
3322dd8f99
55 changed files with 478 additions and 437 deletions
|
|
@ -155,7 +155,7 @@ gl_FragCoord origin is upper left
|
|||
0:24 Constant:
|
||||
0:24 0 (const int)
|
||||
0:24 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:24 Depth: direct index for structure ( temp float)
|
||||
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:24 Constant:
|
||||
|
|
@ -172,8 +172,8 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -335,7 +335,7 @@ gl_FragCoord origin is upper left
|
|||
0:24 Constant:
|
||||
0:24 0 (const int)
|
||||
0:24 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:24 Depth: direct index for structure ( temp float)
|
||||
0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:24 Constant:
|
||||
|
|
@ -352,8 +352,8 @@ gl_FragCoord origin is upper left
|
|||
0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
@ -395,7 +395,7 @@ gl_FragCoord origin is upper left
|
|||
Name 127 "psout"
|
||||
Name 137 "flattenTemp"
|
||||
Name 140 "Color"
|
||||
Name 144 "Depth"
|
||||
Name 144 "@entryPointOutput_Depth"
|
||||
Name 147 "g_tTex1df4"
|
||||
Decorate 16(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 16(g_tTex1df4a) Binding 1
|
||||
|
|
@ -410,7 +410,7 @@ gl_FragCoord origin is upper left
|
|||
Decorate 104(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 115(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 140(Color) Location 0
|
||||
Decorate 144(Depth) BuiltIn FragDepth
|
||||
Decorate 144(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 147(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 147(g_tTex1df4) Binding 0
|
||||
2: TypeVoid
|
||||
|
|
@ -487,7 +487,7 @@ gl_FragCoord origin is upper left
|
|||
139: TypePointer Output 7(fvec4)
|
||||
140(Color): 139(ptr) Variable Output
|
||||
143: TypePointer Output 6(float)
|
||||
144(Depth): 143(ptr) Variable Output
|
||||
144(@entryPointOutput_Depth): 143(ptr) Variable Output
|
||||
147(g_tTex1df4): 15(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
|
|
@ -499,7 +499,7 @@ gl_FragCoord origin is upper left
|
|||
Store 140(Color) 142
|
||||
145: 12(ptr) AccessChain 137(flattenTemp) 132
|
||||
146: 6(float) Load 145
|
||||
Store 144(Depth) 146
|
||||
Store 144(@entryPointOutput_Depth) 146
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue