@@ -3368,6 +3368,7 @@ void RsrcProcMgr::CmdClearBoundDepthStencilTargets(
33683368 viewportInfo.vertClipRatio = FLT_MAX;
33693369 viewportInfo.vertDiscardRatio = 1 .0f ;
33703370 viewportInfo.depthRange = DepthRange::ZeroToOne;
3371+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
33713372
33723373 ScissorRectParams scissorInfo = { };
33733374 scissorInfo.count = 1 ;
@@ -3450,6 +3451,7 @@ void RsrcProcMgr::CmdClearBoundColorTargets(
34503451 viewportInfo.vertClipRatio = FLT_MAX;
34513452 viewportInfo.vertDiscardRatio = 1 .0f ;
34523453 viewportInfo.depthRange = DepthRange::ZeroToOne;
3454+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
34533455
34543456 ScissorRectParams scissorInfo = { };
34553457 scissorInfo.count = 1 ;
@@ -5595,6 +5597,7 @@ void RsrcProcMgr::ResummarizeDepthStencil(
55955597 viewportInfo.vertClipRatio = FLT_MAX;
55965598 viewportInfo.vertDiscardRatio = 1 .0f ;
55975599 viewportInfo.depthRange = DepthRange::ZeroToOne;
5600+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
55985601
55995602 ScissorRectParams scissorInfo = { };
56005603 scissorInfo.count = 1 ;
@@ -5876,6 +5879,7 @@ void RsrcProcMgr::SlowClearGraphics(
58765879 viewportInfo.vertClipRatio = FLT_MAX;
58775880 viewportInfo.vertDiscardRatio = 1 .0f ;
58785881 viewportInfo.depthRange = DepthRange::ZeroToOne;
5882+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
58795883
58805884 const bool is3dImage = (createInfo.imageType == ImageType::Tex3d);
58815885 ColorTargetViewCreateInfo colorViewInfo = { };
@@ -6016,6 +6020,7 @@ void RsrcProcMgr::GenericColorBlit(
60166020 viewportInfo.vertClipRatio = FLT_MAX;
60176021 viewportInfo.vertDiscardRatio = 1 .0f ;
60186022 viewportInfo.depthRange = DepthRange::ZeroToOne;
6023+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
60196024
60206025 ColorTargetViewInternalCreateInfo colorViewInfoInternal = { };
60216026 colorViewInfoInternal.flags .dccDecompress = (pipeline == RpmGfxPipeline::DccDecompress);
@@ -6381,6 +6386,7 @@ void RsrcProcMgr::ResolveImageDepthStencilGraphics(
63816386 viewportInfo.vertClipRatio = FLT_MAX;
63826387 viewportInfo.vertDiscardRatio = 1 .0f ;
63836388 viewportInfo.depthRange = DepthRange::ZeroToOne;
6389+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
63846390
63856391 ScissorRectParams scissorInfo = { };
63866392 scissorInfo.count = 1 ;
@@ -6593,6 +6599,7 @@ void RsrcProcMgr::ResolveImageFixedFunc(
65936599 viewportInfo.vertClipRatio = FLT_MAX;
65946600 viewportInfo.vertDiscardRatio = 1 .0f ;
65956601 viewportInfo.depthRange = DepthRange::ZeroToOne;
6602+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
65966603
65976604 ScissorRectParams scissorInfo = { };
65986605 scissorInfo.count = 1 ;
@@ -6868,6 +6875,7 @@ void RsrcProcMgr::ScaledCopyImageGraphics(
68686875 viewportInfo.vertClipRatio = FLT_MAX;
68696876 viewportInfo.vertDiscardRatio = 1 .0f ;
68706877 viewportInfo.depthRange = DepthRange::ZeroToOne;
6878+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
68716879
68726880 ScissorRectParams scissorInfo = {};
68736881 scissorInfo.count = 1 ;
@@ -7660,6 +7668,7 @@ void RsrcProcMgr::CopyDepthStencilImageGraphics(
76607668 viewportInfo.vertClipRatio = FLT_MAX;
76617669 viewportInfo.vertDiscardRatio = 1 .0f ;
76627670 viewportInfo.depthRange = DepthRange::ZeroToOne;
7671+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
76637672
76647673 ScissorRectParams scissorInfo = { };
76657674 scissorInfo.count = 1 ;
@@ -7988,6 +7997,7 @@ void RsrcProcMgr::CopyColorImageGraphics(
79887997 viewportInfo.vertClipRatio = FLT_MAX;
79897998 viewportInfo.vertDiscardRatio = 1 .0f ;
79907999 viewportInfo.depthRange = DepthRange::ZeroToOne;
8000+ viewportInfo.depthClampOverride = { 1 .0f , 0 .0f };
79918001
79928002 ScissorRectParams scissorInfo = { };
79938003 scissorInfo.count = 1 ;
0 commit comments