anv: fix use of comma operator
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 23 Jul 2019 11:12:43 +0000 (14:12 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 23 Jul 2019 15:54:48 +0000 (15:54 +0000)
commit772a5f981485d81919f1cb8ab52ddff0412c6ee5
tree8ef948b3e6baf3cc2f5b477d23850fd784527524
parent79ab2c3e5764f6ac5e20338dc2c6c750eed9abd2
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: 8db6f2e6ebb9 ("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>
src/intel/vulkan/genX_pipeline.c