HLSL: Test for issue #699.

This commit is contained in:
John Kessenich
2017-03-03 18:18:23 -07:00
parent 322cb1922e
commit 789086a820
3 changed files with 319 additions and 283 deletions

View File

@@ -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;
}