yum-mirror/glslang

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

Saddamreject mismatched requirement list in makeSpirvRequirement5cf91e73

main
492 B12 linesraw
1#version 450 core
2
3#extension GL_EXT_spirv_intrinsics : enable
4
5// The requirement name and the bracketed list are parsed independently, so a
6// name paired with the wrong kind of list used to dereference a null aggregate
7// and crash the front end. "capabilities" with a string list, and "extensions"
8// with an integer list, must be rejected with a diagnostic instead.
9spirv_execution_mode(capabilities = ["SPV_bad"], 5027);
10spirv_execution_mode(extensions = [5013], 5027);
11
12void main() {}