Windows sync

This commit is contained in:
Jack Andersen
2017-03-17 13:31:51 -10:00
parent 05c26a535b
commit 5f903c09ee
5 changed files with 620 additions and 366 deletions

View File

@@ -308,7 +308,8 @@ struct TestApplicationCallback : IApplicationCallback
pipeline = glF.newShaderPipeline(VS, FS, 1, &texName, 0, nullptr,
BlendFactor::One, BlendFactor::Zero,
Primitive::TriStrips, boo::ZTest::LEqual, true, true, false, CullMode::None);
Primitive::TriStrips, boo::ZTest::LEqual,
true, true, false, CullMode::None);
}
#if BOO_HAS_VULKAN
else if (plat == IGraphicsDataFactory::Platform::Vulkan)
@@ -340,7 +341,8 @@ struct TestApplicationCallback : IApplicationCallback
"}\n";
pipeline = vkF.newShaderPipeline(VS, FS, vfmt, BlendFactor::One, BlendFactor::Zero,
Primitive::TriStrips, true, true, CullMode::None);
Primitive::TriStrips, boo::ZTest::LEqual,
true, true, false, CullMode::None);
}
#endif
#if _WIN32
@@ -370,8 +372,9 @@ struct TestApplicationCallback : IApplicationCallback
"}\n";
pipeline = d3dF.newShaderPipeline(VS, PS, nullptr, nullptr, nullptr, vfmt,
BlendFactor::One, BlendFactor::Zero, Primitive::TriStrips,
true, true, CullMode::None);
BlendFactor::One, BlendFactor::Zero,
Primitive::TriStrips, boo::ZTest::LEqual,
true, true, false, CullMode::None);
}
#elif BOO_HAS_METAL
else if (plat == IGraphicsDataFactory::Platform::Metal)