SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
|
|
@ -1,16 +1,18 @@
|
|||
spv.simpleMat.vert
|
||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 42
|
||||
// Id's are bound by 39
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 9 15 19 23 34 40 41
|
||||
EntryPoint Vertex 4 "main" 9 12 15 19 23 34
|
||||
Source GLSL 330
|
||||
Name 4 "main"
|
||||
Name 9 "glPos"
|
||||
|
|
@ -19,10 +21,6 @@ Linked vertex stage:
|
|||
Name 19 "f"
|
||||
Name 23 "am3"
|
||||
Name 34 "arraym"
|
||||
Name 40 "gl_VertexID"
|
||||
Name 41 "gl_InstanceID"
|
||||
Decorate 40(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 41(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -30,8 +28,8 @@ Linked vertex stage:
|
|||
8: TypePointer Output 7(fvec4)
|
||||
9(glPos): 8(ptr) Variable Output
|
||||
10: TypeMatrix 7(fvec4) 4
|
||||
11: TypePointer UniformConstant 10
|
||||
12(mvp): 11(ptr) Variable UniformConstant
|
||||
11: TypePointer Output 10
|
||||
12(mvp): 11(ptr) Variable Output
|
||||
14: TypePointer Input 7(fvec4)
|
||||
15(v): 14(ptr) Variable Input
|
||||
18: TypePointer Output 6(float)
|
||||
|
|
@ -50,9 +48,6 @@ Linked vertex stage:
|
|||
33: TypePointer Input 32
|
||||
34(arraym): 33(ptr) Variable Input
|
||||
35: 24(int) Constant 1
|
||||
39: TypePointer Input 24(int)
|
||||
40(gl_VertexID): 39(ptr) Variable Input
|
||||
41(gl_InstanceID): 39(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
13: 10 Load 12(mvp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue