HLSL: Test for issue #699.
This commit is contained in:
parent
322cb1922e
commit
789086a820
3 changed files with 319 additions and 283 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue