summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.c b/src/gallium/drivers/freedreno/ir3/ir3.c
index 284c6559eb1..e015de91c33 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3.c
@@ -97,7 +97,10 @@ static uint32_t reg(struct ir3_register *reg, struct ir3_info *info,
{
reg_t val = { .dummy32 = 0 };
- assert(!(reg->flags & ~valid_flags));
+ if (reg->flags & ~valid_flags) {
+ debug_printf("INVALID FLAGS: %x vs %x\n",
+ reg->flags, valid_flags);
+ }
if (!(reg->flags & IR3_REG_R))
repeat = 0;