45 lines
1.8 KiB
Plaintext
Executable File
45 lines
1.8 KiB
Plaintext
Executable File
spv.dataOutIndirect.frag
|
|
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 22
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 18
|
|
ExecutionMode 4 OriginLowerLeft
|
|
Source GLSL 130
|
|
Name 4 "main"
|
|
Name 12 "gl_FragData"
|
|
Name 15 "i"
|
|
Name 18 "Color"
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypeInt 32 0
|
|
9: 8(int) Constant 32
|
|
10: TypeArray 7(fvec4) 9
|
|
11: TypePointer Output 10
|
|
12(gl_FragData): 11(ptr) Variable Output
|
|
13: TypeInt 32 1
|
|
14: TypePointer UniformConstant 13(int)
|
|
15(i): 14(ptr) Variable UniformConstant
|
|
17: TypePointer Input 7(fvec4)
|
|
18(Color): 17(ptr) Variable Input
|
|
20: TypePointer Output 7(fvec4)
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
16: 13(int) Load 15(i)
|
|
19: 7(fvec4) Load 18(Color)
|
|
21: 20(ptr) AccessChain 12(gl_FragData) 16
|
|
Store 21 19
|
|
Return
|
|
FunctionEnd
|