swr: [rasterizer core] GS viewport array index attribute
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 13 Jun 2016 15:19:38 +0000 (09:19 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 23 Jun 2016 15:50:47 +0000 (10:50 -0500)
Only adds the attribute mapping to the jitter; no implementation yet.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/knobs.h
src/gallium/drivers/swr/rasterizer/core/state.h

index 2629276ed59c459a7a7cca1684291adf14f8e1f8..bac2525208f7f36b2230d8b300612a103dc47ea1 100644 (file)
@@ -77,7 +77,7 @@
 #define KNOB_NUM_STREAMS                    32
 
 // Maximum supported number of attributes per vertex
-#define KNOB_NUM_ATTRIBUTES                 38
+#define KNOB_NUM_ATTRIBUTES                 39
 
 // Maximum supported active viewports and scissors
 #define KNOB_NUM_VIEWPORTS_SCISSORS         16
index 05735b3f32b1f2a8592059a3a8cee2485ee592d7..29048f10ae4e9c3a6137cc2100e7c090c9194835 100644 (file)
@@ -197,6 +197,7 @@ enum SWR_OUTER_TESSFACTOR_ID
 #define VERTEX_CLIPCULL_DIST_LO_SLOT 35 // VS writes lower 4 clip/cull dist
 #define VERTEX_CLIPCULL_DIST_HI_SLOT 36 // VS writes upper 4 clip/cull dist
 #define VERTEX_POINT_SIZE_SLOT 37       // VS writes point size here
+#define VERTEX_VIEWPORT_ARRAY_INDEX_SLOT 38
 // SoAoSoA
 struct simdvertex
 {