venus: fix query feedback copy sanitize off by 1
authorJuston Li <justonli@google.com>
Fri, 8 Dec 2023 21:51:12 +0000 (13:51 -0800)
committerEric Engestrom <eric@engestrom.ch>
Sun, 10 Dec 2023 17:29:56 +0000 (17:29 +0000)
commit836ef56c51c9f904417f165815e8a3b197bd9d00
treeac89ed5a4b7a7df69470108bddc6dff1c068a4f3
parent4a6094622576c6a2b670f15020f1251ac2095277
venus: fix query feedback copy sanitize off by 1

Copy sanitization incorrectly included +1 range of the reset.

Eg Reset Query=0 QueryCount=5 is [0,5) exclusive, not [0,5] inclusive.

Fixes: 5b24ab91e43 ("venus: switch to unconditionally deferred query feedback")

Signed-off-by: Juston Li <justonli@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26603>
(cherry picked from commit 4f2b4b81d16edec691940f84e9b2b8e2cdb3dfd4)
.pick_status.json
src/virtio/vulkan/vn_queue.c