HLSL: Test for issue #699.
This commit is contained in:
@@ -30,6 +30,12 @@ struct IN_S {
|
||||
float ff5 : packoffset(c101.y) : register(ps_5_0, s[5]);
|
||||
float ff6 : packoffset(c102.y) : register(s3[5]);
|
||||
|
||||
struct empty {};
|
||||
|
||||
struct containEmpty {
|
||||
empty e;
|
||||
};
|
||||
|
||||
float4 PixelShaderFunction(float4 input, IN_S s) : COLOR0
|
||||
{
|
||||
class FS {
|
||||
@@ -39,5 +45,9 @@ float4 PixelShaderFunction(float4 input, IN_S s) : COLOR0
|
||||
s3 == s3;
|
||||
s2.i = s.ff4;
|
||||
|
||||
containEmpty ce;
|
||||
empty e;
|
||||
e = ce.e;
|
||||
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user