[Mesa-dev] [PATCH 1/2] panfrost: Don't use mir_foreach_instr_in_block_safe() when not needed

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Tue Aug 13 19:55:57 UTC 2019


> +++ b/src/panfrost/midgard/midgard_opt_perspective.c
> @@ -71,7 +71,7 @@ midgard_opt_combine_projection(compiler_context *ctx, midgard_block *block)
>                  unsigned frcp_component = 0;
>                  unsigned frcp_from = 0;
>  
> -                mir_foreach_instr_in_block_safe(block, sub) {
> +                mir_foreach_instr_in_block(block, sub) {

Should this one be _safe?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190813/2ee0e02f/attachment-0001.sig>


More information about the mesa-dev mailing list