mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 12:05:20 +00:00
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
Tutorials\05\Data\shader.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 13
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 9 11
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
Name 4 "main"
|
|
Name 9 "o_Color"
|
|
Name 11 "v_Color"
|
|
Decorate 9(o_Color) Location 0
|
|
Decorate 11(v_Color) Location 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Output 7(fvec4)
|
|
9(o_Color): 8(ptr) Variable Output
|
|
10: TypePointer Input 7(fvec4)
|
|
11(v_Color): 10(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
12: 7(fvec4) Load 11(v_Color)
|
|
Store 9(o_Color) 12
|
|
Return
|
|
FunctionEnd
|