From 5233568861b082ee288d845f447012fa47e8bd1e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 30 Sep 2014 15:12:09 +0200 Subject: radeonsi: get tgsi_shader_info only once before compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_shader.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/radeonsi/si_shader.h') diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index d8a63df6275..8f5b4316cd6 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -30,6 +30,7 @@ #define SI_SHADER_H #include /* LLVMModuleRef */ +#include "tgsi/tgsi_scan.h" #define SI_SGPR_CONST 0 #define SI_SGPR_SAMPLER 2 @@ -117,6 +118,7 @@ struct si_shader_selector { struct tgsi_token *tokens; struct pipe_stream_output_info so; + struct tgsi_shader_info info; unsigned num_shaders; -- cgit v1.2.3