From: Tim Rowley Date: Mon, 13 Jun 2016 15:19:38 +0000 (-0600) Subject: swr: [rasterizer core] GS viewport array index attribute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d80295a6eb6e83d1cc84a009f14ad3dba8e96f8;p=mesa.git swr: [rasterizer core] GS viewport array index attribute Only adds the attribute mapping to the jitter; no implementation yet. Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/core/knobs.h b/src/gallium/drivers/swr/rasterizer/core/knobs.h index 2629276ed59..bac2525208f 100644 --- a/src/gallium/drivers/swr/rasterizer/core/knobs.h +++ b/src/gallium/drivers/swr/rasterizer/core/knobs.h @@ -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 diff --git a/src/gallium/drivers/swr/rasterizer/core/state.h b/src/gallium/drivers/swr/rasterizer/core/state.h index 05735b3f32b..29048f10ae4 100644 --- a/src/gallium/drivers/swr/rasterizer/core/state.h +++ b/src/gallium/drivers/swr/rasterizer/core/state.h @@ -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 {