From: Nicolai Hähnle Date: Tue, 16 May 2017 00:06:15 +0000 (+0200) Subject: radeonsi: add si_shader_selector::nir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90b3ba89707ece2d56c0040c92610ca5ba52f63a;p=mesa.git radeonsi: add si_shader_selector::nir Reviewed-by: Marek Olšák --- 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;