mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Vulkan: Choose D32S8 or D24S8 depending on availability
The Vulkan spec mandates support for only one or the other, which is why we have the concept of a depth24plus format. This also adds a Toggle to test both formats in DepthStencilStateTests. Finally this renames ForceWorkarounds to ForceToggles because toggles can be more than just workarounds. BUG=dawn:286 Change-Id: I5b5dc582ffd4ee61c51e3e75563aec815c580511 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14103 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: David Turner <digit@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
ec0020c208
commit
84a57756db
@@ -607,7 +607,7 @@ TEST_P(DrawCallPerf, Run) {
|
||||
DAWN_INSTANTIATE_PERF_TEST_SUITE_P(
|
||||
DrawCallPerf,
|
||||
{D3D12Backend, MetalBackend, OpenGLBackend, VulkanBackend,
|
||||
ForceWorkarounds(VulkanBackend, {"skip_validation"})},
|
||||
ForceToggles(VulkanBackend, {"skip_validation"})},
|
||||
{
|
||||
// Baseline
|
||||
MakeParam(),
|
||||
|
||||
Reference in New Issue
Block a user