[Mesa-dev] [PATCH] r600: Remove assert that not general in some stream instr's

Edward O'Callaghan eocallaghan at alterapraxis.com
Thu Jul 30 19:42:29 PDT 2015


Don't trigger assert on some stream emit instructions.

Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/gallium/drivers/r600/sb/sb_bc_finalize.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
index 8c2cd14..48d56ac 100644
--- a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
+++ b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
@@ -761,8 +761,6 @@ void bc_finalizer::finalize_cf(cf_node* c) {
 			mask |= (1 << chan);
 		}
 
-		assert(reg >= 0 && mask);
-
 		if (reg >= 0)
 			update_ngpr(reg);
 
-- 
2.4.3



More information about the mesa-dev mailing list