From 2ca5d9548fc42bfb19c21dd119845b941ada63a6 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 26 Feb 2018 20:40:38 +1100 Subject: st/glsl_to_nir: gather next_stage in shader_info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/compiler/shader_info.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compiler') diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 737e9cffa86..ababe520b2d 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -64,6 +64,11 @@ typedef struct shader_info { /** The shader stage, such as MESA_SHADER_VERTEX. */ gl_shader_stage stage; + /** The shader stage in a non SSO linked program that follows this stage, + * such as MESA_SHADER_FRAGMENT. + */ + gl_shader_stage next_stage; + /* Number of textures used by this shader */ unsigned num_textures; /* Number of uniform buffers used by this shader */ -- cgit v1.2.3