Zebediah Figura (@zfigura) commented about tests/hlsl/fx-syntax.shader_test:
- pass
- {
cat = SetPixelShader(foobar);
- }
+}
+% Test use of a DepthStencilState in SetDepthStencilState(). +[pixel shader todo] +DepthStencilState dss1 +{
- DepthEnable = false;
- DepthWriteMask = Zero;
- DepthFunc = Less;
- foobar_Field = 22;
+};
This test is a bit weird, because as we've seen, SetDepthStencilState() doesn't even validate anything [unless we're in an effect target, presumably]. Is this actually testing anything?