[Mesa-dev] [PATCH] Revert "radeonsi: decrease the number of texture slots to 24"

Nicolai Hähnle nhaehnle at gmail.com
Thu Feb 2 22:43:06 UTC 2017


On 02.02.2017 19:46, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> This reverts commit bdd860e3076655519d45bd66936ef7be9b7dda63.
>
> Requested by a game developer.
>
> Cc: 17.0 <mesa-stable at lists.freedesktop.org>

We're really being pushed towards bindless_texture :)

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

> ---
>  src/gallium/drivers/radeonsi/si_state.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
> index 6bb0673..3f08f54 100644
> --- a/src/gallium/drivers/radeonsi/si_state.h
> +++ b/src/gallium/drivers/radeonsi/si_state.h
> @@ -28,21 +28,21 @@
>  #define SI_STATE_H
>
>  #include "si_pm4.h"
>  #include "radeon/r600_pipe_common.h"
>
>  #define SI_NUM_GRAPHICS_SHADERS (PIPE_SHADER_TESS_EVAL+1)
>  #define SI_NUM_SHADERS (PIPE_SHADER_COMPUTE+1)
>
>  #define SI_MAX_ATTRIBS			16
>  #define SI_NUM_VERTEX_BUFFERS		SI_MAX_ATTRIBS
> -#define SI_NUM_SAMPLERS			24 /* OpenGL textures units per shader */
> +#define SI_NUM_SAMPLERS			32 /* OpenGL textures units per shader */
>  #define SI_NUM_CONST_BUFFERS		16
>  #define SI_NUM_IMAGES			16
>  #define SI_NUM_SHADER_BUFFERS		16
>
>  struct si_screen;
>  struct si_shader;
>
>  struct si_state_blend {
>  	struct si_pm4_state	pm4;
>  	uint32_t		cb_target_mask;
>



More information about the mesa-dev mailing list