glslang/Test/spv.debugPrintf.frag

14 lines
280 B
GLSL

#version 450
#extension GL_EXT_debug_printf : enable
void main()
{
debugPrintfEXT("ASDF \\ \? \x5C %d %d %d", 1, 2, 3);
// ABA{backspace}Z
debugPrintfEXT("\x41\x000042\x41\x8Z");
// B#${bell, aka \a}B1Z
debugPrintfEXT("\102\043\44\7\1021Z");
}