Mesa (master): radv: fix build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 2 18:36:13 UTC 2019


Module: Mesa
Branch: master
Commit: 34be977f80da67d3fb8cfc8bec04104e03cfe19d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34be977f80da67d3fb8cfc8bec04104e03cfe19d

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Oct  2 20:37:43 2019 +0200

radv: fix build

Forgot to amend the commit before updating the MR.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/amd/vulkan/radv_pipeline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 0d14ba2eda6..f8dd6178733 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -3445,7 +3445,7 @@ radv_pipeline_generate_depth_stencil_state(struct radeon_cmdbuf *ctx_cs,
 			      S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE);
 
 	if (!pCreateInfo->pRasterizationState->depthClampEnable &&
-	    ps->info.info.ps.writes_z) {
+	    ps->info.ps.writes_z) {
 		/* From VK_EXT_depth_range_unrestricted spec:
 		 *
 		 * "The behavior described in Primitive Clipping still applies.




More information about the mesa-commit mailing list