From: Lionel Landwerlin Date: Tue, 23 Jul 2019 11:12:43 +0000 (+0300) Subject: anv: fix use of comma operator X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=772a5f981485d81919f1cb8ab52ddff0412c6ee5;p=mesa.git 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 --- 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