swr/rast: Add support for dynamic vertex size for VS output
[mesa.git] / src / gallium / drivers / swr / rasterizer / core / state.h
index 4c0c1db412cd9800130d8ae66bd34c60d5aa2323..0cf9ad65dbc0a1c21e6ff226802d898c91722958 100644 (file)
@@ -856,6 +856,10 @@ struct SWR_FRONTEND_STATE
         uint32_t bits;
     } provokingVertex;
     uint32_t topologyProvokingVertex; // provoking vertex for the draw topology
+
+    // Size of a vertex in simdvector units. Should be sized to the 
+    // maximum of the input/output of the vertex shader.
+    uint32_t vsVertexSize;
 };
 
 //////////////////////////////////////////////////////////////////////////