blob: 20a26dd9eb9f166de227e71a90c6414115ff7553 [file] [log] [blame]
John Kessenichcd0a78a2016-09-09 16:32:09 -06001struct VI {
John Kessenichfda6edc2017-07-31 01:19:26 -06002 float4 m[2] : mysemA;
3 float4 coord : SV_POSITION;
4 linear float4 b : mysemB;
John Kessenichcd0a78a2016-09-09 16:32:09 -06005};
6
John Kessenichfda6edc2017-07-31 01:19:26 -06007VI main(float4 d : mysem, VI vi, float4 e : mysem)
John Kessenichcd0a78a2016-09-09 16:32:09 -06008{
John Kessenich34e7ee72016-09-16 17:10:39 -06009 VI local;
10
John Kessenichfda6edc2017-07-31 01:19:26 -060011 local.b = vi.m[1] + vi.m[0] + (float4)vi.coord.x + d + e;
12 local.coord = (float4)1;
13 local.m[0] = (float4)2;
14 local.m[1] = (float4)3;
John Kessenich34e7ee72016-09-16 17:10:39 -060015
16 return local;
steve-lunarga2b01a02016-11-28 17:09:54 -070017}