[Mesa-dev] [PATCH 1/9] tgsi: Increase maximum number of temps to 4096.

Brian Paul brianp at vmware.com
Tue Dec 4 07:17:45 PST 2012


On 12/04/2012 07:13 AM, jfonseca at vmware.com wrote:
> From: José Fonseca<jfonseca at vmware.com>
>
> To match Shader Model 4 limits, as specified in
> http://msdn.microsoft.com/en-us/library/windows/desktop/ff471378.aspx
> ---
>   src/gallium/auxiliary/tgsi/tgsi_exec.h |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> index fc1ee09..fbd28a2 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
> @@ -128,7 +128,7 @@ struct tgsi_sampler
>   		     float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
>   };
>
> -#define TGSI_EXEC_NUM_TEMPS       128
> +#define TGSI_EXEC_NUM_TEMPS       4096
>   #define TGSI_EXEC_NUM_IMMEDIATES  256
>   #define TGSI_EXEC_NUM_TEMP_ARRAYS 8
>

I had minor comments on #5 and #9.

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list