[Mesa-dev] [PATCH 08/23] i965: Add #defines for any32h/all32h predication.

Kristian Høgsberg hoegsberg at gmail.com
Mon Jun 30 10:16:16 PDT 2014


On Sat, Jun 28, 2014 at 09:33:47PM -0700, Kenneth Graunke wrote:
> These have existed since Ivybridge.  We don't use them today, but the
> Gen8+ disassembler supports them, and I'd like to use symbolic names
> rather than magic numbers.

Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>

> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_defines.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
> index 88d18a3..858d9af 100644
> --- a/src/mesa/drivers/dri/i965/brw_defines.h
> +++ b/src/mesa/drivers/dri/i965/brw_defines.h
> @@ -1025,6 +1025,8 @@ operator|(brw_urb_write_flags x, brw_urb_write_flags y)
>  #define BRW_PREDICATE_ALIGN1_ALL8H            9
>  #define BRW_PREDICATE_ALIGN1_ANY16H           10
>  #define BRW_PREDICATE_ALIGN1_ALL16H           11
> +#define BRW_PREDICATE_ALIGN1_ANY32H           12
> +#define BRW_PREDICATE_ALIGN1_ALL32H           13
>  #define BRW_PREDICATE_ALIGN16_REPLICATE_X     2
>  #define BRW_PREDICATE_ALIGN16_REPLICATE_Y     3
>  #define BRW_PREDICATE_ALIGN16_REPLICATE_Z     4
> -- 
> 2.0.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list