anv: provide dummy vkCmdSetPatchControlPointsEXT
authorTapani Pälli <tapani.palli@intel.com>
Mon, 21 Jun 2021 16:50:36 +0000 (19:50 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 22 Jun 2021 06:14:46 +0000 (09:14 +0300)
commit100fc3020ade0a44f904d1e6a94e01c0d5a957a6
tree44e35b25e8b0344f0f1726137ceab97a442ee2d4
parent91029211093c7ab9e32de101ac7499a958635ac6
anv: provide dummy vkCmdSetPatchControlPointsEXT

This makes dEQP-VK.api.version_check.entry_points pass and matches how
other drivers are handling this case. We do not support the feature but
still need to provide a dummy entrypoint.

v2: throw error if/when called (Jason)

Fixes: 0d031d1da34 ("anv: toggle on VK_EXT_extended_dynamic_state2")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11503>
src/intel/vulkan/anv_cmd_buffer.c