From 85fd7817eef4639ad69ad27807827f335f8b3ed0 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sat, 19 Mar 2016 13:54:55 +0100 Subject: [PATCH] radeonsi: update shader count for compute shaders MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Marek Olšák Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index a0ae72e5f0b..edc03fbc027 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -30,7 +30,8 @@ #include "si_pm4.h" #include "radeon/r600_pipe_common.h" -#define SI_NUM_SHADERS (PIPE_SHADER_TESS_EVAL+1) +#define SI_NUM_GRAPHICS_SHADERS (PIPE_SHADER_TESS_EVAL+1) +#define SI_NUM_SHADERS (PIPE_SHADER_COMPUTE+1) #define SI_MAX_ATTRIBS 16 struct si_screen; -- 2.30.2