st/glsl_to_nir: gather next_stage in shader_info
[mesa.git] / src / compiler / shader_info.h
index 0eeb2ca58eab5c0e8d3ccc1aa7b2ec63bd63240d..ababe520b2d63dd83a5b388e5e9ede4dc8ad1014 100644 (file)
@@ -52,6 +52,7 @@ struct spirv_supported_capabilities {
    bool subgroup_shuffle;
    bool subgroup_vote;
    bool gcn_shader;
+   bool trinary_minmax;
 };
 
 typedef struct shader_info {
@@ -63,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 */