anv: use the parameter passed to the macro
authorIván Briano <ivan.briano@intel.com>
Wed, 1 Mar 2023 00:04:56 +0000 (16:04 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Mar 2023 19:07:41 +0000 (19:07 +0000)
commit4887b88d22f6a26d7044a2d46b28553aaf0dc770
tree9b2d838a538a5c921f37138db9ff60dfee79056c
parenta8691f916be67a5fc4fd731ac032921ce9ebc3dd
anv: use the parameter passed to the macro

The two points calling this macro pass dyn->rs.provoking_vertex to it,
which is why it works, but it's cleaner to use the parameter instead.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21613>
src/intel/vulkan/anv_private.h