freedreno: move shader-stage dirty bits to global dirty flag
[mesa.git] / src / gallium / drivers / freedreno / ir3 / ir3_depth.c
index c3f6de965ce0672406a134ca45aaf2cea2ce8fe0..1b8a446ca652411234e68f737bf34ca9c6a37762 100644 (file)
@@ -137,7 +137,7 @@ remove_unused_by_block(struct ir3_block *block)
 {
        list_for_each_entry_safe (struct ir3_instruction, instr, &block->instr_list, node) {
                if (!ir3_instr_check_mark(instr)) {
-                       if (is_flow(instr) && (instr->opc == OPC_END))
+                       if (instr->opc == OPC_END)
                                continue;
                        /* mark it, in case it is input, so we can
                         * remove unused inputs: