EXT_debug_printf - make escape sequences better match C/C++
This commit is contained in:
11
Test/spv.debugPrintf_Error.frag
Normal file
11
Test/spv.debugPrintf_Error.frag
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 450
|
||||
#extension GL_EXT_debug_printf : enable
|
||||
|
||||
void main()
|
||||
{
|
||||
// invalid hex sequence
|
||||
debugPrintfEXT("\xZ");
|
||||
|
||||
// not an octal sequence
|
||||
debugPrintfEXT("\8");
|
||||
}
|
||||
Reference in New Issue
Block a user