2016-06-11 16:43:14 -06:00
|
|
|
struct {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct {
|
|
|
|
bool b;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct myS {
|
|
|
|
bool b, c;
|
|
|
|
float4 a, d;
|
|
|
|
};
|
|
|
|
|
|
|
|
myS s1;
|
|
|
|
|
2017-03-03 17:01:01 -07:00
|
|
|
static class {
|
2016-06-11 16:43:14 -06:00
|
|
|
float4 i;
|
|
|
|
} s2;
|
|
|
|
|
2016-09-16 17:10:39 -06:00
|
|
|
struct IN_S {
|
2016-06-12 23:52:12 -06:00
|
|
|
linear float4 a;
|
|
|
|
nointerpolation bool b;
|
|
|
|
noperspective centroid float1 c;
|
|
|
|
sample centroid float2 d;
|
|
|
|
bool ff1 : SV_IsFrontFace;
|
|
|
|
bool ff2 : packoffset(c0.y);
|
2016-07-29 14:28:39 -06:00
|
|
|
bool ff3 : packoffset(c0.y) : register(ps_5_0, s0) ;
|
|
|
|
float4 ff4 : VPOS : packoffset(c0.y) : register(ps_5_0, s0) <int bambam=30;> ;
|
2016-09-16 17:10:39 -06:00
|
|
|
};
|
2016-06-12 23:52:12 -06:00
|
|
|
|
2016-09-27 23:09:32 -06:00
|
|
|
float ff5 : packoffset(c101.y) : register(ps_5_0, s[5]);
|
|
|
|
float ff6 : packoffset(c102.y) : register(s3[5]);
|
2016-07-30 10:29:54 -06:00
|
|
|
|
2017-03-03 18:18:23 -07:00
|
|
|
struct empty {};
|
|
|
|
|
|
|
|
struct containEmpty {
|
|
|
|
empty e;
|
|
|
|
};
|
|
|
|
|
2016-09-16 17:10:39 -06:00
|
|
|
float4 PixelShaderFunction(float4 input, IN_S s) : COLOR0
|
2016-06-11 16:43:14 -06:00
|
|
|
{
|
2017-03-03 17:01:01 -07:00
|
|
|
class FS {
|
2016-06-11 16:43:14 -06:00
|
|
|
bool3 b3;
|
|
|
|
} s3;
|
|
|
|
|
|
|
|
s3 == s3;
|
2016-10-12 12:38:12 -06:00
|
|
|
s2.i = s.ff4;
|
2016-06-12 23:52:12 -06:00
|
|
|
|
2017-03-03 18:18:23 -07:00
|
|
|
containEmpty ce;
|
|
|
|
empty e;
|
|
|
|
e = ce.e;
|
|
|
|
|
2016-06-12 23:52:12 -06:00
|
|
|
return input;
|
2016-10-08 10:54:52 -06:00
|
|
|
}
|