[Mesa-dev] [PATCH 04/16] i965/cfg: Add a foreach_block_reverse macro.
Jason Ekstrand
jason at jlekstrand.net
Tue Jan 20 15:08:20 PST 2015
Patches 1, 3, and 4 are also
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
On Mon, Jan 19, 2015 at 3:31 PM, Matt Turner <mattst88 at gmail.com> wrote:
> ---
> src/mesa/drivers/dri/i965/brw_cfg.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h
> b/src/mesa/drivers/dri/i965/brw_cfg.h
> index 3b1bd16..0b60fec 100644
> --- a/src/mesa/drivers/dri/i965/brw_cfg.h
> +++ b/src/mesa/drivers/dri/i965/brw_cfg.h
> @@ -297,6 +297,9 @@ struct cfg_t {
> #define foreach_block(__block, __cfg) \
> foreach_list_typed (bblock_t, __block, link, &(__cfg)->block_list)
>
> +#define foreach_block_reverse(__block, __cfg) \
> + foreach_list_typed_reverse (bblock_t, __block, link,
> &(__cfg)->block_list)
> +
> #define foreach_block_safe(__block, __cfg) \
> foreach_list_typed_safe (bblock_t, __block, link, &(__cfg)->block_list)
>
> --
> 2.0.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150120/d081c77b/attachment.html>
More information about the mesa-dev
mailing list