2017-02-27 08:20:51 +00:00
|
|
|
spv.deviceGroup.frag
|
|
|
|
// Module Version 10000
|
2017-10-07 17:33:11 +00:00
|
|
|
// Generated by (magic number): 80002
|
2017-02-27 08:20:51 +00:00
|
|
|
// Id's are bound by 17
|
|
|
|
|
|
|
|
Capability Shader
|
|
|
|
Capability DeviceGroup
|
|
|
|
Extension "SPV_KHR_device_group"
|
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2017-03-14 22:45:30 +00:00
|
|
|
EntryPoint Fragment 4 "main" 9 12
|
2017-02-27 08:20:51 +00:00
|
|
|
ExecutionMode 4 OriginUpperLeft
|
|
|
|
Source GLSL 450
|
2017-03-03 23:40:48 +00:00
|
|
|
SourceExtension "GL_EXT_device_group"
|
2017-02-27 08:20:51 +00:00
|
|
|
Name 4 "main"
|
|
|
|
Name 9 "color"
|
2017-03-03 23:40:48 +00:00
|
|
|
Name 12 "gl_DeviceIndex"
|
2017-03-14 22:45:30 +00:00
|
|
|
Decorate 12(gl_DeviceIndex) Flat
|
2017-03-03 23:40:48 +00:00
|
|
|
Decorate 12(gl_DeviceIndex) BuiltIn DeviceIndex
|
2017-02-27 08:20:51 +00:00
|
|
|
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
|
2017-03-14 22:45:30 +00:00
|
|
|
11: TypePointer Input 10(int)
|
|
|
|
12(gl_DeviceIndex): 11(ptr) Variable Input
|
2017-02-27 08:20:51 +00:00
|
|
|
15: 6(float) Constant 0
|
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
2017-03-03 23:40:48 +00:00
|
|
|
13: 10(int) Load 12(gl_DeviceIndex)
|
2017-02-27 08:20:51 +00:00
|
|
|
14: 6(float) ConvertSToF 13
|
|
|
|
16: 7(fvec4) CompositeConstruct 14 15 15 15
|
|
|
|
Store 9(color) 16
|
|
|
|
Return
|
|
|
|
FunctionEnd
|