unit_tests/preprocessor/output/stringify-operator-indirect-line-macro
author Ethan Lee <flibitijibibo@flibitijibibo.com>
Wed, 26 Aug 2020 14:37:18 -0400
changeset 1301 79bbc92200dc
parent 880 a3a9488856f7
permissions -rw-r--r--
Write locations for SPIR-V pixel shader outputs

// Should produce a line number in quotes, and not "__LINE__"
#define STRINGIFY2(x) #x
#define STRINGIFY(x) STRINGIFY2(x)

STRINGIFY(__LINE__)