blob: bca135e733a664b69f344eb39f8ddcee9f8356c9 [file] [log] [blame]
John Kessenich65ee2302017-02-06 18:44:52 -07001struct T {
2 float f : packoffset(c4.y); // artificial, but validates all different treatments: uniform offset
3 centroid float g; // interpolant input
4 float d: SV_DepthGreaterEqual; // fragment output
5 float4 normal; // non-IO
6};
7
8T s; // loose uniform
9
10cbuffer buff {
11 T t : packoffset(c5.z);
12};
13
14T main(T t : myInput) : SV_Target0
15{
16 T local;
17 return local;
18}