mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
tu/clear_blit: use || when working with bools
Fixes a warning with clang Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14315>
This commit is contained in:
parent
5c69c44a99
commit
ff7aee2ac9
1 changed files with 1 additions and 1 deletions
|
|
@ -2690,7 +2690,7 @@ tu_emit_blit(struct tu_cmd_buffer *cmd,
|
|||
tu_cs_emit_regs(cs, A6XX_RB_BLIT_INFO(
|
||||
.unk0 = !resolve,
|
||||
.gmem = !resolve,
|
||||
.sample_0 = vk_format_is_int(attachment->format) |
|
||||
.sample_0 = vk_format_is_int(attachment->format) ||
|
||||
vk_format_is_depth_or_stencil(attachment->format)));
|
||||
|
||||
tu_cs_emit_pkt4(cs, REG_A6XX_RB_BLIT_DST_INFO, 4);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue