Skip to content

Commit

Permalink
[Testbed] Temporarily disable multi-threading test for D3D12 as state…
Browse files Browse the repository at this point in the history
…-tracking is incomplete.

The index/vertex buffer state tracking does not work with multi-threaded command lists in LLGL/D3D12.
  • Loading branch information
LukasBanana committed Jun 30, 2024
1 parent 9b74ebd commit 5e02ed1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Testbed/UnitTests/TestCommandBufferMultiThreading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ DEF_TEST( CommandBufferMultiThreading )
constexpr unsigned numFrames = 10;
constexpr int diffThreshold = 30; // Diff threshold of 30, because sampling MIP-mapped textures is backend dependent

//TODO: temporarily disable this test for D3D12 as state tracking does not work with multi-threading
if (renderer->GetRendererID() == RendererID::Direct3D12)
return TestResult::Skipped;

if (shaders[VSTextured] == nullptr || shaders[PSTextured] == nullptr)
{
Log::Errorf("Missing shaders for backend\n");
Expand Down

0 comments on commit 5e02ed1

Please sign in to comment.