summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-05-16 02:06:15 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-05 12:32:36 +0200
commitd596401723b9a79906077b59577d64d06fe1a829 (patch)
treee06e912a03b77db4c161bd807e9f310960f22cdd
parente187191756e2a7f7cea5b42f33c63da465679c70 (diff)
radeonsi: add si_shader_selector::nir
-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 a10067d025..6de7b69cb9 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;