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 <lionel.g.landwerlin@intel.com>
Fixes: 8db6f2e6eb ("anv/pipeline: Roll genX_pipeline_util.h into genX_pipeline.c")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Lionel Landwerlin
2019-07-23 14:12:43 +03:00
parent 79ab2c3e57
commit 772a5f9814

View File

@@ -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