yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
6fd3b430
main
1#version 450 2#extension GL_EXT_debug_printf : enable 3 4void main () 5{ 6// invalid hex sequence 7debugPrintfEXT ("\xZ "); 8 9// not an octal sequence 10debugPrintfEXT ("\8" ); 11 12// the format must be a string literal, not just any constant expression 13const int notAString = 1 ; 14debugPrintfEXT (notAString ,2 ); 15 16// a parenthesized string literal is an expression, not a string literal 17debugPrintfEXT (("%d" ),3 ); 18 19// a non-constant format 20int i = 4 ; 21debugPrintfEXT (i ); 22 23// no format at all 24debugPrintfEXT (); 25}