GL_EXT_debug_printf implementation

This commit is contained in:
Jeff Bolz
2019-05-31 13:06:01 -05:00
parent c6a4c6d3d8
commit 04d73731de
28 changed files with 4030 additions and 3794 deletions

View File

@@ -0,0 +1,27 @@
spv.debugPrintf.frag
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 13
Capability Shader
Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "GLSL.std.450"
11: ExtInstImport "NonSemantic.DebugPrintf"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft
6: String "ASDF \ ? \ %d %d %d"
Source GLSL 450
SourceExtension "GL_EXT_debug_printf"
Name 4 "main"
2: TypeVoid
3: TypeFunction 2
7: TypeInt 32 1
8: 7(int) Constant 1
9: 7(int) Constant 2
10: 7(int) Constant 3
4(main): 2 Function None 3
5: Label
12: 2 ExtInst 11(NonSemantic.DebugPrintf) 1(DebugPrintf) 6 8 9 10
Return
FunctionEnd