diff options
author | Ilia Mirkin <[email protected]> | 2015-01-05 00:33:58 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-01-05 00:34:33 -0500 |
commit | 21a280f87c5c884eea7a2043d6ed10cdbab57a3e (patch) | |
tree | 6c004e7cb5a6d274a1b7fd583258316483ac6f94 /src/gallium/drivers/nouveau | |
parent | 72283020093525ca5248d7f408e88b0bcba1e52b (diff) |
nvc0: add name to magic number
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 5069e5aca71..1d7caf8c8c5 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -475,8 +475,8 @@ nvc0_magic_3d_init(struct nouveau_pushbuf *push, uint16_t obj_class) BEGIN_NVC0(push, SUBC_3D(0x1610), 1); PUSH_DATA (push, 0xe); - BEGIN_NVC0(push, SUBC_3D(0x164c), 1); - PUSH_DATA (push, 1 << 12); + BEGIN_NVC0(push, NVC0_3D(VERTEX_ID_GEN_MODE), 1); + PUSH_DATA (push, NVC0_3D_VERTEX_ID_GEN_MODE_DRAW_ARRAYS_ADD_START); BEGIN_NVC0(push, SUBC_3D(0x030c), 1); PUSH_DATA (push, 0); BEGIN_NVC0(push, SUBC_3D(0x0300), 1); |