Skip to content

Commit

Permalink
tests: Fix test failure in EI tier 1.1 when mesh is not supported.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
  • Loading branch information
HansKristian-Work committed Oct 22, 2024
1 parent b0921b4 commit e068052
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/d3d12_command.c
Original file line number Diff line number Diff line change
Expand Up @@ -3057,6 +3057,7 @@ void test_execute_indirect_state_tier_11(void)
options7.MeshShaderTier < D3D12_MESH_SHADER_TIER_1)
{
options7.MeshShaderTier = D3D12_MESH_SHADER_TIER_NOT_SUPPORTED;
skip("Mesh shader not supported, skipping mesh indirect test.\n");
}

output = create_default_buffer(context.device, 4096, D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COMMON);
Expand Down Expand Up @@ -3164,6 +3165,9 @@ void test_execute_indirect_state_tier_11(void)

for (i = 0; i < COUNT; i++)
{
if (!psos[i])
continue;

for (j = 0; j < ARRAY_SIZE(draw_arguments); j++)
{
uint32_t expected = expected_counts[i][j];
Expand Down

0 comments on commit e068052

Please sign in to comment.