nvk: Fix the NO_PREFETCH assert for CmdDrawIndirect
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Thu, 4 May 2023 19:32:19 +0000 (14:32 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:05 +0000 (21:32 +0000)
commit1ea94caab6f89bd6a7f8c8ad17f3ce3f0e90f32a
tree3eeb8cee3db5b4003d2363e6fb3a759fc6479638
parente2379a2e87ac2ffbfc2e3e65e5f133be9fa680ff
nvk: Fix the NO_PREFETCH assert for CmdDrawIndirect

The NO_PREFETCH bit gets set on the range.  The offset can pretty much
be whatever.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_buffer.c