[Mesa-dev] [PATCH 1/8] tgsi_exec: add support for up to 3 array registers

Brian Paul brianp at vmware.com
Tue Mar 22 15:37:28 UTC 2016


In the subject, should that be "address" instead of "array"?


On 03/21/2016 04:02 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>   src/gallium/auxiliary/tgsi/tgsi_exec.h | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> index 12a6875..011c9c3 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> @@ -205,12 +205,14 @@ struct tgsi_sampler
>   #define TGSI_EXEC_NUM_TEMP_R        4
>
>   #define TGSI_EXEC_TEMP_ADDR         (TGSI_EXEC_NUM_TEMPS + 8)
> +#define TGSI_EXEC_TEMP_ADDR1        (TGSI_EXEC_NUM_TEMPS + 9)
> +#define TGSI_EXEC_TEMP_ADDR2        (TGSI_EXEC_NUM_TEMPS + 10)
>
>   /* 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