GPU: Add enable_depth_clip to RasterizerState (#10964)

This commit is contained in:
Caleb Cornett
2024-09-27 11:18:54 -05:00
committed by GitHub
parent 04bb105d09
commit 5ff6e8d522
5 changed files with 22 additions and 4 deletions

View File

@@ -2447,7 +2447,7 @@ static bool D3D12_INTERNAL_ConvertRasterizerState(SDL_GPURasterizerState rasteri
desc->SlopeScaledDepthBias = 0.0f;
}
desc->DepthClipEnable = TRUE;
desc->DepthClipEnable = rasterizerState.enable_depth_clip;
desc->MultisampleEnable = FALSE;
desc->AntialiasedLineEnable = FALSE;
desc->ForcedSampleCount = 0;