From 772a5f981485d81919f1cb8ab52ddff0412c6ee5 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 23 Jul 2019 14:12:43 +0300 Subject: [PATCH] anv: fix use of comma operator This doesn't fix any bug at the moment because the next statement is 'true' which happens to be APIMODE_D3D, but if that changes it could. The fixes tags is as far I could go but the error predates it (2016 is probably far enough). Signed-off-by: Lionel Landwerlin Fixes: 8db6f2e6ebb9 ("anv/pipeline: Roll genX_pipeline_util.h into genX_pipeline.c") Reviewed-by: Eric Engestrom Reviewed-by: Jason Ekstrand --- src/intel/vulkan/genX_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 5660711692c..9796ad29df0 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1149,7 +1149,7 @@ emit_3dstate_clip(struct anv_pipeline *pipeline, clip.ClipEnable = true; clip.StatisticsEnable = true; clip.EarlyCullEnable = true; - clip.APIMode = APIMODE_D3D, + clip.APIMode = APIMODE_D3D; clip.GuardbandClipTestEnable = true; /* Only enable the XY clip test when the final polygon rasterization -- 2.30.2