mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
15 lines
202 B
GLSL
15 lines
202 B
GLSL
#version 460 core
|
|
|
|
#define TEST 3
|
|
#define TEST_EXPR 2 && 2
|
|
|
|
#if TEST_EXPR - 2 == 0
|
|
#error 0
|
|
#elif TEST_EXPR - 2 == 1
|
|
#error 1
|
|
#elif TEST_EXPR - 2 == 2
|
|
#error 2
|
|
#else
|
|
#error You shouldn't do that
|
|
#endif
|