mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
36 lines
1.5 KiB
Plaintext
Executable File
36 lines
1.5 KiB
Plaintext
Executable File
spv.dataOut.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80002
|
|
// Id's are bound by 20
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 12 16
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 140
|
|
Name 4 "main"
|
|
Name 12 "gl_FragData"
|
|
Name 16 "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: 13(int) Constant 1
|
|
15: TypePointer Input 7(fvec4)
|
|
16(Color): 15(ptr) Variable Input
|
|
18: TypePointer Output 7(fvec4)
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
17: 7(fvec4) Load 16(Color)
|
|
19: 18(ptr) AccessChain 12(gl_FragData) 14
|
|
Store 19 17
|
|
Return
|
|
FunctionEnd
|