summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-19 23:39:16 +0000
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-19 23:39:16 +0000
commitac208c95cdef7711a9f4ba1a451dbb497912a40e (patch)
tree1fb329a05ccaa1cfb641c1b78761b6d09b04beb0 /src
parent4165a1097243db8478650aefebdd4a39b3bd27f5 (diff)
Use NONINC_METHOD for vertex data.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_ctrlreg.h2
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_ctrlreg.h b/src/mesa/drivers/dri/nouveau/nouveau_ctrlreg.h
index 2f4c3f6d5d..c9b2d59007 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_ctrlreg.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_ctrlreg.h
@@ -40,3 +40,5 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV03_FIFO_CMD_REWIND (NV03_FIFO_CMD_JUMP | (0 & NV03_FIFO_CMD_JUMP_OFFSET_MASK))
+#define NONINC_METHOD 0x40000000
+
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 48f41cf2fa..f128926182 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -82,11 +82,11 @@ static inline void nv10StartPrimitive(struct nouveau_context* nmesa,uint32_t pri
OUT_RING(primitive);
if (nmesa->screen->card->type==NV_10)
- BEGIN_RING_SIZE(NvSub3D,NV10_TCL_PRIMITIVE_3D_VERTEX_ARRAY_DATA,size);
+ BEGIN_RING_SIZE(NvSub3D,NV10_TCL_PRIMITIVE_3D_VERTEX_ARRAY_DATA|NONINC_METHOD,size);
else if (nmesa->screen->card->type==NV_20)
- BEGIN_RING_SIZE(NvSub3D,NV20_TCL_PRIMITIVE_3D_VERTEX_DATA,size);
+ BEGIN_RING_SIZE(NvSub3D,NV20_TCL_PRIMITIVE_3D_VERTEX_DATA|NONINC_METHOD,size);
else
- BEGIN_RING_SIZE(NvSub3D,NV30_TCL_PRIMITIVE_3D_VERTEX_DATA,size);
+ BEGIN_RING_SIZE(NvSub3D,NV30_TCL_PRIMITIVE_3D_VERTEX_DATA|NONINC_METHOD,size);
}
inline void nv10FinishPrimitive(struct nouveau_context *nmesa)