union {
midgard_load_store_word load_store;
midgard_texture_word texture;
- midgard_branch_extended branch_extended;
- uint16_t br_compact;
- /* General branch, rather than packed br_compact. Higher level
- * than the other components */
midgard_branch branch;
};
} midgard_instruction;
void midgard_nir_lod_errata(nir_shader *shader);
+unsigned midgard_get_first_tag_from_block(compiler_context *ctx, unsigned block_idx);
+
/* Optimizations */
bool midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block);