<div dir="auto">R-b</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 18, 2019, 6:55 PM Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This fixes new CTS dEQP-VK.pipeline.depth_range_unrestricted.*.<br>
<br>
Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com" target="_blank" rel="noreferrer">samuel.pitoiset@gmail.com</a>><br>
---<br>
 src/amd/vulkan/radv_pipeline.c | 3 +--<br>
 1 file changed, 1 insertion(+), 2 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c<br>
index 8bc0d9b53e6..765f6105f7d 100644<br>
--- a/src/amd/vulkan/radv_pipeline.c<br>
+++ b/src/amd/vulkan/radv_pipeline.c<br>
@@ -2788,8 +2788,7 @@ radv_pipeline_generate_depth_stencil_state(struct radeon_cmdbuf *ctx_cs,<br>
        db_render_override |= S_02800C_FORCE_HIS_ENABLE0(V_02800C_FORCE_DISABLE) |<br>
                              S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE);<br>
<br>
-       if (!pCreateInfo->pRasterizationState->depthClampEnable &&<br>
-           ps->info.info.ps.writes_z) {<br>
+       if (!pCreateInfo->pRasterizationState->depthClampEnable) {<br>
                /* From VK_EXT_depth_range_unrestricted spec:<br>
                 *<br>
                 * "The behavior described in Primitive Clipping still applies.<br>
-- <br>
2.22.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank" rel="noreferrer">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div>