gallivm: do per-pixel lod calculations for explicit lod
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_scan.h
index 9debc341f5242155a78d93786f475e50c42fbf1b..b62c462356a45068cacb472b07cb93c734e3b7ef 100644 (file)
@@ -54,6 +54,8 @@ struct tgsi_shader_info
    ubyte num_system_values;
    ubyte system_value_semantic_name[PIPE_MAX_SHADER_INPUTS];
 
+   ubyte processor;
+
    uint file_mask[TGSI_FILE_COUNT];  /**< bitmask of declared registers */
    uint file_count[TGSI_FILE_COUNT];  /**< number of declared registers */
    int file_max[TGSI_FILE_COUNT];  /**< highest index of declared registers */
@@ -75,7 +77,10 @@ struct tgsi_shader_info
    boolean origin_lower_left;
    boolean pixel_center_integer;
    boolean color0_writes_all_cbufs;
+   boolean writes_viewport_index;
+   boolean writes_layer;
 
+   unsigned num_written_culldistance;
    unsigned num_written_clipdistance;
    /**
     * Bitmask indicating which register files are accessed with