HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
@@ -173,7 +173,7 @@ gl_FragCoord origin is upper left
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:28 Depth: direct index for structure ( temp float)
|
||||
0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
@@ -193,8 +193,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:? 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' ( uniform utextureCube)
|
||||
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:
|
||||
@@ -374,7 +374,7 @@ gl_FragCoord origin is upper left
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:28 Depth: direct index for structure ( temp float)
|
||||
0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
@@ -394,8 +394,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:? 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' ( uniform utextureCube)
|
||||
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
|
||||
@@ -435,7 +435,7 @@ gl_FragCoord origin is upper left
|
||||
Name 133 "psout"
|
||||
Name 142 "flattenTemp"
|
||||
Name 145 "Color"
|
||||
Name 149 "Depth"
|
||||
Name 149 "@entryPointOutput_Depth"
|
||||
Name 152 "g_tTex1df4a"
|
||||
Name 155 "g_tTexcdf4"
|
||||
Name 158 "g_tTexcdi4"
|
||||
@@ -453,7 +453,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 110(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 121(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 145(Color) Location 0
|
||||
Decorate 149(Depth) BuiltIn FragDepth
|
||||
Decorate 149(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 152(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 152(g_tTex1df4a) Binding 1
|
||||
Decorate 155(g_tTexcdf4) DescriptorSet 0
|
||||
@@ -547,7 +547,7 @@ gl_FragCoord origin is upper left
|
||||
144: TypePointer Output 7(fvec4)
|
||||
145(Color): 144(ptr) Variable Output
|
||||
148: TypePointer Output 6(float)
|
||||
149(Depth): 148(ptr) Variable Output
|
||||
149(@entryPointOutput_Depth): 148(ptr) Variable Output
|
||||
152(g_tTex1df4a): 15(ptr) Variable UniformConstant
|
||||
153: TypeImage 6(float) Cube sampled format:Unknown
|
||||
154: TypePointer UniformConstant 153
|
||||
@@ -568,7 +568,7 @@ gl_FragCoord origin is upper left
|
||||
Store 145(Color) 147
|
||||
150: 137(ptr) AccessChain 142(flattenTemp) 27
|
||||
151: 6(float) Load 150
|
||||
Store 149(Depth) 151
|
||||
Store 149(@entryPointOutput_Depth) 151
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user