| spv.debuginfo.macro.include.glsl.frag |
| // Module Version 10000 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 52 |
| |
| Capability Shader |
| Extension "SPV_KHR_non_semantic_info" |
| 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" |
| 4: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 15 "main" 35 |
| ExecutionMode 15 OriginUpperLeft |
| 2: String "spv.debuginfo.macro.include.glsl.frag" |
| 3: String "spv.debuginfo.macro.include.glsl.h" |
| 9: String "uint" |
| 17: String "main" |
| 20: String "#version 450 |
| #extension GL_GOOGLE_include_directive : require |
| #include "spv.debuginfo.macro.include.glsl.h" |
| |
| layout(location = 0) out vec4 fragColor; |
| |
| void main() |
| { |
| fragColor = INCLUDED_COLOR; |
| } |
| " |
| 27: String "#define INCLUDED_COLOR vec4(0.25, 0.5, 0.75, 1.0) |
| " |
| 29: String "float" |
| 37: String "fragColor" |
| SourceExtension "GL_GOOGLE_cpp_style_line_directive" |
| SourceExtension "GL_GOOGLE_include_directive" |
| Name 15 "main" |
| Name 35 "fragColor" |
| Decorate 35(fragColor) Location 0 |
| 5: TypeVoid |
| 6: TypeFunction 5 |
| 8: TypeInt 32 0 |
| 11: 8(int) Constant 32 |
| 12: 8(int) Constant 6 |
| 13: 8(int) Constant 0 |
| 10: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 11 12 13 |
| 14: 8(int) Constant 3 |
| 7: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 5 |
| 19: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 20 |
| 21: 8(int) Constant 7 |
| 23: 8(int) Constant 1 |
| 24: 8(int) Constant 4 |
| 25: 8(int) Constant 2 |
| 22: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 23 24 19 25 |
| 26: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 27 |
| 18: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 17 7 19 21 13 22 17 14 21 |
| 28: TypeFloat 32 |
| 30: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 11 14 13 |
| 31: TypeVector 28(float) 4 |
| 32: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 24 |
| 33: TypePointer Output 31(fvec4) |
| 34: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 32 14 13 |
| 35(fragColor): 33(ptr) Variable Output |
| 38: 8(int) Constant 5 |
| 39: 8(int) Constant 8 |
| 36: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 37 32 19 38 13 22 37 35(fragColor) 39 |
| 43: 28(float) Constant 1048576000 |
| 44: 28(float) Constant 1056964608 |
| 45: 28(float) Constant 1061158912 |
| 46: 28(float) Constant 1065353216 |
| 47: 31(fvec4) ConstantComposite 43 44 45 46 |
| 49: 8(int) Constant 9 |
| 51: 8(int) Constant 10 |
| 15(main): 5 Function None 6 |
| 16: Label |
| 41: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 18 |
| 42: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 19 21 21 13 13 |
| 40: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 18 15(main) |
| 48: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 19 49 49 13 13 |
| Store 35(fragColor) 47 |
| 50: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 19 51 51 13 13 |
| Return |
| FunctionEnd |