mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 12:05:20 +00:00
Added code for tutorial 05 - Staging Resources
This commit is contained in:
36
Project/Tutorial05/Data05/frag.spv.txt
Normal file
36
Project/Tutorial05/Data05/frag.spv.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
shader.frag
|
||||
Warning, version 430 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 13
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 9 11
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 430
|
||||
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
|
||||
Reference in New Issue
Block a user