HLSL: Stop including empty structures in the I/O interface. Fix #785.
This commit is contained in:
@@ -221,7 +221,6 @@ Shader version: 500
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
@@ -449,18 +448,17 @@ Shader version: 500
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 174
|
||||
// Id's are bound by 171
|
||||
|
||||
Capability Shader
|
||||
Capability Sampled1D
|
||||
Capability SampledCubeArray
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 129 173
|
||||
EntryPoint Vertex 4 "main" 129
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 8 "VS_OUTPUT"
|
||||
@@ -500,8 +498,6 @@ Shader version: 500
|
||||
Name 164 "g_tTexcdf4a"
|
||||
Name 167 "g_tTexcdi4a"
|
||||
Name 170 "g_tTexcdu4a"
|
||||
Name 171 "VS_OUTPUT"
|
||||
Name 173 "@entryPointOutput"
|
||||
Decorate 14(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 14(g_tTex1df4) Binding 0
|
||||
MemberDecorate 20($Global) 0 Offset 0
|
||||
@@ -537,7 +533,6 @@ Shader version: 500
|
||||
Decorate 164(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 167(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 170(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 173(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -636,9 +631,6 @@ Shader version: 500
|
||||
168: TypeImage 24(int) Cube array sampled format:Unknown
|
||||
169: TypePointer UniformConstant 168
|
||||
170(g_tTexcdu4a): 169(ptr) Variable UniformConstant
|
||||
171(VS_OUTPUT): TypeStruct
|
||||
172: TypePointer Output 171(VS_OUTPUT)
|
||||
173(@entryPointOutput): 172(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
130:8(VS_OUTPUT) FunctionCall 10(@main()
|
||||
|
||||
Reference in New Issue
Block a user