yum-mirror/slang

Making it easier to work with shaders

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

Tim FoleyRework command-line options handling for entry points and targets (#697)725985528

master
196 B14 linesraw
1//TEST:COMPARE_HLSL: -profile vs_5_0
2
3// Allow (but ignore) initializer on `cbuffer` member
4
5cbuffer C : register(b0)
6{
7	int a = -1;
8};
9
10float4 main() : SV_POSITION
11{
12    return 0;
13//	return a;
14}