You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.7 KiB
38 lines
1.7 KiB
spv.multiView.frag
|
|
// Module Version 10300
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 17
|
|
|
|
Capability Shader
|
|
Capability MultiView
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 9 12
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
SourceExtension "GL_EXT_multiview"
|
|
Name 4 "main"
|
|
Name 9 "color"
|
|
Name 12 "gl_ViewIndex"
|
|
Decorate 9(color) Location 0
|
|
Decorate 12(gl_ViewIndex) Flat
|
|
Decorate 12(gl_ViewIndex) BuiltIn ViewIndex
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Output 7(fvec4)
|
|
9(color): 8(ptr) Variable Output
|
|
10: TypeInt 32 1
|
|
11: TypePointer Input 10(int)
|
|
12(gl_ViewIndex): 11(ptr) Variable Input
|
|
15: 6(float) Constant 0
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
13: 10(int) Load 12(gl_ViewIndex)
|
|
14: 6(float) ConvertSToF 13
|
|
16: 7(fvec4) CompositeConstruct 14 15 15 15
|
|
Store 9(color) 16
|
|
Return
|
|
FunctionEnd
|