HLSL: Stop including empty structures in the I/O interface. Fix #785.
This commit is contained in:
parent
6042eb475b
commit
cca42a8ea6
23 changed files with 64 additions and 244 deletions
|
|
@ -128,7 +128,6 @@ Shader version: 500
|
|||
0:11 Constant:
|
||||
0:11 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? 'Position' (layout( location=0) in 4-component vector of float)
|
||||
0:? '@entryPointOutput_ClipRect' ( out 4-element array of float ClipDistance)
|
||||
|
||||
|
|
@ -265,19 +264,18 @@ Shader version: 500
|
|||
0:11 Constant:
|
||||
0:11 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? 'Position' (layout( location=0) in 4-component vector of float)
|
||||
0:? '@entryPointOutput_ClipRect' ( out 4-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 75
|
||||
// Id's are bound by 72
|
||||
|
||||
Capability Shader
|
||||
Capability ClipDistance
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 43 50 56 74
|
||||
EntryPoint Vertex 4 "main" 43 50 56
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 8 "VS_INPUT"
|
||||
|
|
@ -293,12 +291,9 @@ Shader version: 500
|
|||
Name 46 "flattenTemp"
|
||||
Name 50 "@entryPointOutput_Position"
|
||||
Name 56 "@entryPointOutput_ClipRect"
|
||||
Name 72 "VS_OUTPUT"
|
||||
Name 74 "@entryPointOutput"
|
||||
Decorate 43(Position) Location 0
|
||||
Decorate 50(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 56(@entryPointOutput_ClipRect) BuiltIn ClipDistance
|
||||
Decorate 74(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -335,9 +330,6 @@ Shader version: 500
|
|||
59: TypePointer Output 6(float)
|
||||
64: 16(int) Constant 2
|
||||
68: 16(int) Constant 3
|
||||
72(VS_OUTPUT): TypeStruct
|
||||
73: TypePointer Output 72(VS_OUTPUT)
|
||||
74(@entryPointOutput): 73(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
41(v): 40(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue