[Mesa-dev] [PATCH 7/7] radeonsi: raise number of samplers per shader to 32

Marek Olšák maraeo at gmail.com
Thu Apr 7 10:36:43 UTC 2016


For the series:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Thu, Apr 7, 2016 at 12:47 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94835
> ---
>  src/gallium/drivers/radeonsi/si_state.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
> index 95a69e8..0a06e15 100644
> --- a/src/gallium/drivers/radeonsi/si_state.h
> +++ b/src/gallium/drivers/radeonsi/si_state.h
> @@ -144,10 +144,10 @@ struct si_shader_data {
>         uint32_t                sh_base[SI_NUM_SHADERS];
>  };
>
> -/* User sampler views:   0..15
> - * Polygon stipple tex:  16
> +/* User sampler views:   0..31
> + * Polygon stipple tex:  32
>   */
> -#define SI_NUM_USER_SAMPLERS            16 /* AKA OpenGL textures units per shader */
> +#define SI_NUM_USER_SAMPLERS            32 /* AKA OpenGL textures units per shader */
>  #define SI_POLY_STIPPLE_SAMPLER         SI_NUM_USER_SAMPLERS
>  #define SI_NUM_SAMPLERS                 (SI_POLY_STIPPLE_SAMPLER + 1)
>
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list