Minor tweak to the test

This commit is contained in:
Henrik Rydgård committed 2018-12-20 13:13:09 +01:00
1 parent fb3ba70074
commit 5f58caf4dd
1 file changed
+1
+1
View File
@@ -128,6 +128,7 @@ void GPUDriverTestScreen::DiscardTest() {
// Write only stencil.
dsDesc.stencilEnabled = true;
dsDesc.depthTestEnabled = false;
dsDesc.depthWriteEnabled = false; // Just in case the driver is crazy. when test is enabled, though, this should be ignored.
DepthStencilState *stencilWrite = draw->CreateDepthStencilState(dsDesc);
// Now for the shaders that read depth and/or stencil.