mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
12 lines
331 B
Plaintext
12 lines
331 B
Plaintext
|
const string first = "first string";
|
||
|
|
||
|
[numthreads(1,1,1)]
|
||
|
void main() {
|
||
|
printf(first);
|
||
|
printf("please print this message.");
|
||
|
printf("Variables are: %d %d %.2f", 1u, 2u, 1.5f);
|
||
|
printf("Integers are: %d %d %d", 1, 2, 3);
|
||
|
printf("More: %d %d %d %d %d %d %d %d %d %d", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
|
||
|
}
|
||
|
|