EXT_debug_printf - make escape sequences better match C/C++
This commit is contained in:
parent
dbb56a1d48
commit
ad3f10bbd0
6 changed files with 72 additions and 37 deletions
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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue