mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
Tutorial03/Data03/shader.frag
|
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 14
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 9
|
|
ExecutionMode 4 OriginLowerLeft
|
|
Source GLSL 450
|
|
Name 4 "main"
|
|
Name 9 "out_Color"
|
|
Decorate 9(out_Color) Location 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Output 7(fvec4)
|
|
9(out_Color): 8(ptr) Variable Output
|
|
10: 6(float) Constant 0
|
|
11: 6(float) Constant 1053609165
|
|
12: 6(float) Constant 1065353216
|
|
13: 7(fvec4) ConstantComposite 10 11 12 12
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
Store 9(out_Color) 13
|
|
Return
|
|
FunctionEnd
|