llvmpipe: get rid of barycentric calculation of a0
[mesa.git] / src / gallium / drivers / llvmpipe / lp_rast.h
index b81d94f50f0e665c61db93998e6d13d2f7246a8f..e2a9ec2089236ebd6880ad6a554fcb6a3fd055e8 100644 (file)
@@ -102,7 +102,7 @@ struct lp_rast_shader_inputs {
    unsigned pad0:29;            /* wasted space */
    unsigned stride;             /* how much to advance data between a0, dadx, dady */
    unsigned layer;              /* the layer to render to (from gs, already clamped) */
-   unsigned pad2;               /* wasted space */
+   unsigned viewport_index;     /* the active viewport index (from gs, already clamped) */
    /* followed by a0, dadx, dady and planes[] */
 };