r300-gallium: Add derived state for vertex formats.
[mesa.git] / src / gallium / drivers / r300 / r300_winsys.h
index 7711dc792d6dcf3f09243b3d089c672c279bb1f0..5a3a2128927f681434772b5ebadd5fa324d9921c 100644 (file)
@@ -38,6 +38,12 @@ struct radeon_cs;
 
 struct r300_winsys {
 
+    /* PCI ID */
+    uint32_t pci_id;
+
+    /* GB pipe count */
+    uint32_t gb_pipes;
+
     /* CS object. This is very much like Intel's batchbuffer.
      * Fill it full of dwords and relocs and then submit.
      * Repeat as needed. */
@@ -58,7 +64,6 @@ struct r300_winsys {
            int line);
 
     /* Write a dword to the command buffer. */
-    /* XXX is this an okay name for this handle? */
     void (*write_cs_dword)(struct radeon_cs* cs, uint32_t dword);
 
     /* Write a relocated dword to the command buffer. */
@@ -86,4 +91,4 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
 }
 #endif
 
-#endif /* R300_WINSYS_H */
\ No newline at end of file
+#endif /* R300_WINSYS_H */