diff options
author | Marek Olšák <[email protected]> | 2014-09-30 15:12:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-04 15:16:14 +0200 |
commit | 5233568861b082ee288d845f447012fa47e8bd1e (patch) | |
tree | ebae8d3e34c3d22ac58bf698f3ade833a1fa7683 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | af4f5a7c97f3ab47bbd21aa7c27d0c0aaf01f959 (diff) |
radeonsi: get tgsi_shader_info only once before compilation
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <llvm-c/Core.h> /* 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; |