summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis/sis_reg.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-06-08 09:19:17 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-06-08 09:19:17 +0000
commite84f77be215ec1fc7a27388819b6c3a711057e4a (patch)
treee7f86df30254abcdb5f5581a9dc00a41d0877ac6 /src/mesa/drivers/dri/sis/sis_reg.h
parenta94185474d38f88f141d45d8d42bf9ea081c483d (diff)
* Convert to use t_vertex.c instead of sis_vb.[ch]
* Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers first. This makes things more uniform between AGP and MMIO paths, cleans up some locking ugliness, and makes the driver look more like other drivers. * Don't use the AGP Cmd buffer provided by the server. Instead allocate one in the client, which avoids the need for lots of synchronization stuff. * Mark some MMIO accesses volatile that should have been. * Disable the AGP submission path by default (agp_disable=true) due to unresolved issues in the new code. The old code had its own (serious) errors with AGP, so this is not really a step backwards.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_reg.h')
-rw-r--r--src/mesa/drivers/dri/sis/sis_reg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_reg.h b/src/mesa/drivers/dri/sis/sis_reg.h
index 8af5e02a69..e0806f4e36 100644
--- a/src/mesa/drivers/dri/sis/sis_reg.h
+++ b/src/mesa/drivers/dri/sis/sis_reg.h
@@ -230,6 +230,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define MASK_VertexDWSize 0xf0000000
#define MASK_VertexDataFormat 0x0fff0000
+/* Because the original MASK_PsVertex_* names of these bits appared to be
+ * wrong, new names SiS_PS_* based off of the 4.3.0 driver and research are
+ * below.
+ */
+#define SiS_PS_HAS_XYZ 0x08000000
+#define SiS_PS_HAS_W 0x04000000
+#define SiS_PS_HAS_SPECULAR 0x02000000 /* XXX ? */
+#define SiS_PS_HAS_DIFFUSE 0x01000000
+#define SiS_PS_HAS_UV0 0x00400000
+#define SiS_PS_HAS_UV1 0x00200000
#define MASK_PsVertex_HAS_RHW 0x08000000
#define MASK_PsVertex_HAS_NORMALXYZ 0x04000000
#define MASK_PsVertex_HAS_DIFFUSE 0x02000000