summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-16 02:06:15 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:32 +0200
commit90b3ba89707ece2d56c0040c92610ca5ba52f63a (patch)
treed432b959ed9a8f9a8499f57bb23a471f76c24eaa /src
parentacd09389cb6127d4a8c749f9f82016a1800e2732 (diff)
radeonsi: add si_shader_selector::nir
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index a10067d025d..6de7b69cb9f 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -143,6 +143,8 @@
#include "ac_binary.h"
#include "si_state.h"
+struct nir_shader;
+
#define SI_MAX_VS_OUTPUTS 40
/* Shader IO unique indices are supported for TGSI_SEMANTIC_GENERIC with an
@@ -320,6 +322,7 @@ struct si_shader_selector {
struct si_shader *gs_copy_shader;
struct tgsi_token *tokens;
+ struct nir_shader *nir;
struct pipe_stream_output_info so;
struct tgsi_shader_info info;