diff options
author | Vladimir Dergachev <volodya@freedesktop.org> | 2004-12-30 07:11:28 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@freedesktop.org> | 2004-12-30 07:11:28 +0000 |
commit | 7d8c1fb03a738d63706eb07708a87712bd6fe102 (patch) | |
tree | 40a49ffa3e0ce7b6e96342a9329940240e86181b /src/mesa/drivers/dri/r300/r300_cmdbuf.c | |
parent | 74bf43051c5a0abbe83f431ca8e1d8d4d2b068c4 (diff) |
Clarify some of the unkXXXX atoms.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 580c5145a7..e668e97da9 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -304,12 +304,14 @@ void r300InitCmdBuf(r300ContextPtr r300) r300->hw.unk2220.cmd[0] = cmducs(0x2220, 4); ALLOC_STATE( unk2288, always, 2, "unk2288", 0 ); r300->hw.unk2288.cmd[0] = cmducs(0x2288, 1); + ALLOC_STATE( vof, always, R300_VOF_CMDSIZE, "vof", 0 ); + r300->hw.vof.cmd[R300_VOF_CMD_0] = cmducs(R300_VAP_OUTPUT_VTX_FMT_0, 2); ALLOC_STATE( pvs, always, R300_PVS_CMDSIZE, "pvs", 0 ); r300->hw.pvs.cmd[R300_PVS_CMD_0] = cmducs(R300_VAP_PVS_CNTL_1, 3); - ALLOC_STATE( unk4008, always, 2, "unk4008", 0 ); - r300->hw.unk4008.cmd[0] = cmducs(0x4008, 1); - ALLOC_STATE( unk4010, always, 6, "unk4010", 0 ); - r300->hw.unk4010.cmd[0] = cmducs(0x4010, 5); + ALLOC_STATE( gb_enable, always, 2, "gb_enable", 0 ); + r300->hw.gb_enable.cmd[0] = cmducs(R300_GB_ENABLE, 1); + ALLOC_STATE( gb_misc, always, R300_GB_MISC_CMDSIZE, "gb_misc", 0 ); + r300->hw.gb_misc.cmd[0] = cmducs(R300_GB_MSPOS0, 5); ALLOC_STATE( txe, always, R300_TXE_CMDSIZE, "txe", 0 ); r300->hw.txe.cmd[R300_TXE_CMD_0] = cmducs(R300_TX_ENABLE, 1); ALLOC_STATE( unk4200, always, 5, "unk4200", 0 ); @@ -421,9 +423,10 @@ void r300InitCmdBuf(r300ContextPtr r300) insert_at_tail(&r300->hw.atomlist, &r300->hw.unk221C); insert_at_tail(&r300->hw.atomlist, &r300->hw.unk2220); insert_at_tail(&r300->hw.atomlist, &r300->hw.unk2288); + insert_at_tail(&r300->hw.atomlist, &r300->hw.vof); insert_at_tail(&r300->hw.atomlist, &r300->hw.pvs); - insert_at_tail(&r300->hw.atomlist, &r300->hw.unk4008); - insert_at_tail(&r300->hw.atomlist, &r300->hw.unk4010); + insert_at_tail(&r300->hw.atomlist, &r300->hw.gb_enable); + insert_at_tail(&r300->hw.atomlist, &r300->hw.gb_misc); insert_at_tail(&r300->hw.atomlist, &r300->hw.txe); insert_at_tail(&r300->hw.atomlist, &r300->hw.unk4200); insert_at_tail(&r300->hw.atomlist, &r300->hw.unk4214); |