[Mesa-dev] [PATCH 1/8] tgsi_exec: add support for up to 3 address registers (v2)

Brian Paul brianp at vmware.com
Wed Mar 30 22:33:37 UTC 2016


On 03/30/2016 04:07 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> v2: be consistent with other defintions.

"definitions"

The series looks OK to me.  Though, I'd still like to see 
get_image_coord_dim() split into two functions, but that could be done 
in a follow-up patch.

For the series,
Reviewed-by: Brian Paul <brianp at vmware.com>


>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>   src/gallium/auxiliary/tgsi/tgsi_exec.h | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> index 991c3bf..8b5a580 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> @@ -201,12 +201,13 @@ struct tgsi_sampler
>   #define TGSI_EXEC_NUM_TEMP_R        4
>
>   #define TGSI_EXEC_TEMP_ADDR         (TGSI_EXEC_NUM_TEMPS + 8)
> +#define TGSI_EXEC_NUM_ADDRS         3
>
>   /* predicate register */
> -#define TGSI_EXEC_TEMP_P0           (TGSI_EXEC_NUM_TEMPS + 9)
> +#define TGSI_EXEC_TEMP_P0           (TGSI_EXEC_NUM_TEMPS + 11)
>   #define TGSI_EXEC_NUM_PREDS         1
>
> -#define TGSI_EXEC_NUM_TEMP_EXTRAS   10
> +#define TGSI_EXEC_NUM_TEMP_EXTRAS   12
>
>
>
>



More information about the mesa-dev mailing list