r600g: upload translated indices via the uploader
[mesa.git] / src / gallium / drivers / llvmpipe / lp_state_setup.h
index 2b080fbc32110cd93b56abd75b7fb7a0360a6958..90c55ca4ce654a48a25c58c0e8441173602ffd6d 100644 (file)
@@ -15,11 +15,20 @@ struct lp_setup_variant_list_item
 
 
 struct lp_setup_variant_key {   
+   unsigned size:16;
    unsigned num_inputs:8;
+   unsigned color_slot:8;
+
+   unsigned bcolor_slot:8;
+   unsigned spec_slot:8;
+   unsigned bspec_slot:8;
    unsigned flatshade_first:1;
    unsigned pixel_center_half:1;
-   unsigned pad:7;
-   unsigned size:16;
+   unsigned twoside:1;
+   unsigned pad:5;
+
+   float units;
+   float scale;      
    struct lp_shader_input inputs[PIPE_MAX_SHADER_INPUTS];
 };
 
@@ -30,8 +39,7 @@ typedef void (*lp_jit_setup_triangle)( const float (*v0)[4],
                                       boolean front_facing,
                                       float (*a0)[4],
                                       float (*dadx)[4],
-                                      float (*dady)[4],
-                                      const struct lp_setup_variant_key *key );
+                                      float (*dady)[4] );