mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv: fix missing initialization of the predication value
It's expected to be 0.
Fixes: 62d9ca696e ("radv: use 32-bit predication for conditional rendering on GFX10.3+")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7789>
This commit is contained in:
parent
d1ff00cb76
commit
bb9b7d0a68
1 changed files with 1 additions and 1 deletions
|
|
@ -6449,7 +6449,7 @@ void radv_CmdBeginConditionalRenderingEXT(
|
|||
|
||||
if (cmd_buffer->queue_family_index == RADV_QUEUE_GENERAL &&
|
||||
!cmd_buffer->device->physical_device->rad_info.has_32bit_predication) {
|
||||
uint64_t pred_value, pred_va;
|
||||
uint64_t pred_value = 0, pred_va;
|
||||
unsigned pred_offset;
|
||||
|
||||
/* From the Vulkan spec 1.1.107:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue