mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
radv/gfx11: increase radeon_check_space for occlusion query begin
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20652>
(cherry picked from commit 9112fe3c76)
This commit is contained in:
parent
eaa4e81ea2
commit
16c5e743c6
2 changed files with 2 additions and 2 deletions
|
|
@ -6016,7 +6016,7 @@
|
|||
"description": "radv/gfx11: increase radeon_check_space for occlusion query begin",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1747,7 +1747,7 @@ emit_begin_query(struct radv_cmd_buffer *cmd_buffer, struct radv_query_pool *poo
|
|||
struct radeon_cmdbuf *cs = cmd_buffer->cs;
|
||||
switch (query_type) {
|
||||
case VK_QUERY_TYPE_OCCLUSION:
|
||||
radeon_check_space(cmd_buffer->device->ws, cs, 7);
|
||||
radeon_check_space(cmd_buffer->device->ws, cs, 11);
|
||||
|
||||
++cmd_buffer->state.active_occlusion_queries;
|
||||
if (cmd_buffer->state.active_occlusion_queries == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue