yum-mirror/slang

Making it easier to work with shaders

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

Tim FoleyMerge pull request #118 from tfoleyNV/falcor-shadow-fixes3d313d963

master
220 B21 linesraw
1//TEST_IGNORE_FILE:
2
3struct VS_IN
4{
5	float4 x : X;
6	float4 y : Y;	
7};
8
9struct VS_OUT
10{
11	float4 color : COLOR;
12	float4 posH : SV_Position;
13};
14
15VS_OUT doIt(VS_IN i)
16{
17	VS_OUT o;
18	o.color = i.x;
19	o.posH = i.y;
20	return o;
21}