yum-mirror/slang

Making it easier to work with shaders

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

DarrenEnable exprs for GLSL binding layout qualifiers (#5807)523e9f012

master
432 B13 linesraw
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):  -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
2//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):  -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
3#version 430
4
5// CHECK: error 31217
6
7//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0], stride=4):name=one
8layout(binding = 1, offset) uniform atomic_uint one;
9
10void computeMain()
11{
12
13}