mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
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:
parent
79ab2c3e57
commit
772a5f9814
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue