blob: 1b0b2afe6ffcbe2f15ca7a9fb8d0de75c78a057b [file] [edit]
#version 450
#extension GL_EXT_abort : require
layout(local_size_x = 1) in;
layout(set = 0, binding = 0) buffer Data {
int i;
} data;
// A message supplied by a macro. It expands to a string literal token, so it is
// still a string literal and must keep compiling.
#define MSG "macro: %d"
void main() {
abortEXT(MSG, data.i);
}