radeonsi: add si_shader_selector::nir
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 16 May 2017 00:06:15 +0000 (02:06 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:32 +0000 (14:55 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.h

index a10067d025d017d252355add11930410323c9033..6de7b69cb9fadf1ae6995d1d31d29570cc1ad81e 100644 (file)
 #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;