HLSL: Stop including empty structures in the I/O interface. Fix #785.
This commit is contained in:
@@ -13,14 +13,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? 'i' (layout( location=0) in structure{})
|
||||
0:? 'i' ( in structure{})
|
||||
0:10 Sequence
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? '@entryPointOutput' ( out structure{})
|
||||
0:10 Function Call: @main(struct-ps_in1; ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? Linker Objects
|
||||
0:? 'i' (layout( location=0) in structure{})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -40,14 +39,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? 'i' (layout( location=0) in structure{})
|
||||
0:? 'i' ( in structure{})
|
||||
0:10 Sequence
|
||||
0:10 move second child to first child ( temp structure{})
|
||||
0:? '@entryPointOutput' ( out structure{})
|
||||
0:10 Function Call: @main(struct-ps_in1; ( temp structure{})
|
||||
0:? 'i' ( temp structure{})
|
||||
0:? Linker Objects
|
||||
0:? 'i' (layout( location=0) in structure{})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -69,7 +67,6 @@ gl_FragCoord origin is upper left
|
||||
Name 20 "i"
|
||||
Name 23 "@entryPointOutput"
|
||||
Name 24 "param"
|
||||
Decorate 20(i) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6(ps_in): TypeStruct
|
||||
|
||||
Reference in New Issue
Block a user