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
|
|
@ -186,7 +186,6 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
|
||||
|
||||
|
|
@ -380,18 +379,17 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 84
|
||||
// Id's are bound by 81
|
||||
|
||||
Capability Shader
|
||||
Capability ClipDistance
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 48 54 83
|
||||
EntryPoint Vertex 4 "main" 48 54
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 9 "VS_OUTPUT"
|
||||
|
|
@ -403,11 +401,8 @@ Shader version: 500
|
|||
Name 45 "flattenTemp"
|
||||
Name 48 "@entryPointOutput_Position"
|
||||
Name 54 "@entryPointOutput_clip1"
|
||||
Name 81 "VS_OUTPUT"
|
||||
Name 83 "@entryPointOutput"
|
||||
Decorate 48(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 54(@entryPointOutput_clip1) BuiltIn ClipDistance
|
||||
Decorate 83(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -446,9 +441,6 @@ Shader version: 500
|
|||
69: 15(int) Constant 5
|
||||
73: 15(int) Constant 6
|
||||
77: 15(int) Constant 7
|
||||
81(VS_OUTPUT): TypeStruct
|
||||
82: TypePointer Output 81(VS_OUTPUT)
|
||||
83(@entryPointOutput): 82(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
45(flattenTemp): 13(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue