yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Ralph PotterTest abortEXT parameter lists; fix message struct layout57623d72

main
399 B17 linesraw
1#version 450
2
3#extension GL_EXT_abort : require
4
5layout(local_size_x = 1) in;
6
7layout(set = 0, binding = 0) buffer Data {
8    int   i;
9    uint  u;
10    float f;
11} data;
12
13// More parameters than format specifiers. The spec says the excess arguments
14// are ignored when the message is formatted, but they are still part of the call.
15void main() {
16    abortEXT("excess: %d", data.i, data.u, data.f);
17}