HLSL: Stop including empty structures in the I/O interface. Fix #785.
This commit is contained in:
@@ -15,11 +15,10 @@ Shader version: 500
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? 'i' ( in structure{})
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput' ( out structure{})
|
||||
0:10 Function Call: @main(struct-vs_in1; ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
@@ -41,11 +40,10 @@ Shader version: 500
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? 'i' ( in structure{})
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput' ( out structure{})
|
||||
0:10 Function Call: @main(struct-vs_in1; ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -66,7 +64,6 @@ Shader version: 500
|
||||
Name 20 "i"
|
||||
Name 23 "@entryPointOutput"
|
||||
Name 24 "param"
|
||||
Decorate 23(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6(vs_in): TypeStruct
|
||||
|
||||
Reference in New Issue
Block a user