mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-20 08:41:45 +00:00
Remove SDL_GPUDepthStencilValue struct
This commit is contained in:
@@ -3561,8 +3561,8 @@ static void D3D11_BeginRenderPass(
|
||||
d3d11CommandBuffer->context,
|
||||
dsv,
|
||||
dsClearFlags,
|
||||
depthStencilTargetInfo->clear_value.depth,
|
||||
depthStencilTargetInfo->clear_value.stencil);
|
||||
depthStencilTargetInfo->clear_depth,
|
||||
depthStencilTargetInfo->clear_stencil);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -3905,8 +3905,8 @@ static void D3D12_BeginRenderPass(
|
||||
d3d12CommandBuffer->graphicsCommandList,
|
||||
subresource->dsvHandle.cpuHandle,
|
||||
clearFlags,
|
||||
depthStencilTargetInfo->clear_value.depth,
|
||||
depthStencilTargetInfo->clear_value.stencil,
|
||||
depthStencilTargetInfo->clear_depth,
|
||||
depthStencilTargetInfo->clear_stencil,
|
||||
0,
|
||||
NULL);
|
||||
}
|
||||
|
@@ -2204,7 +2204,7 @@ static void METAL_BeginRenderPass(
|
||||
passDescriptor.depthAttachment.storeAction = SDLToMetal_StoreOp(
|
||||
depthStencilTargetInfo->store_op,
|
||||
texture->msaaHandle ? 1 : 0);
|
||||
passDescriptor.depthAttachment.clearDepth = depthStencilTargetInfo->clear_value.depth;
|
||||
passDescriptor.depthAttachment.clearDepth = depthStencilTargetInfo->clear_depth;
|
||||
|
||||
if (IsStencilFormat(container->header.info.format)) {
|
||||
if (texture->msaaHandle) {
|
||||
@@ -2217,7 +2217,7 @@ static void METAL_BeginRenderPass(
|
||||
passDescriptor.stencilAttachment.storeAction = SDLToMetal_StoreOp(
|
||||
depthStencilTargetInfo->store_op,
|
||||
texture->msaaHandle ? 1 : 0);
|
||||
passDescriptor.stencilAttachment.clearStencil = depthStencilTargetInfo->clear_value.stencil;
|
||||
passDescriptor.stencilAttachment.clearStencil = depthStencilTargetInfo->clear_stencil;
|
||||
}
|
||||
|
||||
METAL_INTERNAL_TrackTexture(metalCommandBuffer, texture);
|
||||
|
@@ -8011,9 +8011,9 @@ static void VULKAN_BeginRenderPass(
|
||||
|
||||
if (depthStencilTargetInfo != NULL) {
|
||||
clearValues[totalColorAttachmentCount].depthStencil.depth =
|
||||
depthStencilTargetInfo->clear_value.depth;
|
||||
depthStencilTargetInfo->clear_depth;
|
||||
clearValues[totalColorAttachmentCount].depthStencil.stencil =
|
||||
depthStencilTargetInfo->clear_value.stencil;
|
||||
depthStencilTargetInfo->clear_stencil;
|
||||
}
|
||||
|
||||
VkRenderPassBeginInfo renderPassBeginInfo;
|
||||
|
Reference in New Issue
Block a user