Module: Mesa
Branch: main
Commit: eaf272aa93b30719d78758efab4aece0af907deb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaf272aa93b30719d78758efab4aece0af907deb

Author: Rob Clark <[email protected]>
Date:   Mon Feb  6 11:19:37 2023 -0800

ir3: Quiet unused variable warning

Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21195>

---

 src/freedreno/ir3/ir3.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 27b73377780..fdf1a0d182c 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -2012,7 +2012,7 @@ ir3_COV(struct ir3_block *block, struct ir3_instruction 
*src, type_t src_type,
 {
    struct ir3_instruction *instr = ir3_instr_create(block, OPC_MOV, 1, 1);
    unsigned dst_flags = (type_size(dst_type) < 32) ? IR3_REG_HALF : 0;
-   unsigned src_flags = (type_size(src_type) < 32) ? IR3_REG_HALF : 0;
+   ASSERTED unsigned src_flags = (type_size(src_type) < 32) ? IR3_REG_HALF : 0;
 
    assert((src->dsts[0]->flags & IR3_REG_HALF) == src_flags);
 

Reply via email to