Commit Graph

27 Commits

Author SHA1 Message Date
Ben Vanik
889e586cab Skeleton for new draw type and texture fetching. 2013-10-19 21:49:25 -07:00
Ben Vanik
62b792c903 Ignoring a packet I don't care about. 2013-10-19 20:30:36 -07:00
Ben Vanik
68d5f33cfa GPU byte swapping.
A lot of other packets likely do this.
2013-10-19 16:29:00 -07:00
Ben Vanik
37065255a2 Dispatching interrupts. 2013-10-19 12:50:26 -07:00
Ben Vanik
90bc6ad1a8 Interrupts fire on the right 'thread', ringbuffer work, 2013-10-19 11:50:01 -07:00
Ben Vanik
c60230f28a Implementing scratch registers correctly (I think). 2013-10-19 01:16:13 -07:00
Ben Vanik
1616d7ba22 WAIT_MEM_REG, REG_RMW (untested), COND_WRITE 2013-10-19 00:46:35 -07:00
Ben Vanik
f409795dd1 Fixing PM4 type 0 packet parsing. 2013-10-15 20:24:32 -07:00
Ben Vanik
0b24356080 Skipping unknown form of PM4_EVENT_WRITE_SHD for now. 2013-10-14 21:35:23 -07:00
Ben Vanik
2eed0b1575 Fixing wraparound.
This still needs a tremendous amount of cleanup.
2013-10-13 21:18:23 -07:00
Ben Vanik
4887234bba Fixing ring buffer wrap around. I think. 2013-10-13 13:39:46 -07:00
Ben Vanik
e0af361d74 Preventing (one of likely many) race condition with ringbuffer.
This was causing acks for commands not executed if the CPU ran faster
than the GPU.
2013-10-13 12:17:07 -07:00
Ben Vanik
41a652dd03 Manual reset was not the solution. Bah. 2013-10-13 12:09:25 -07:00
Ben Vanik
f49e35636d Fixing uninitialized members.
Wish VC++ warned about this line clang does...
2013-10-13 11:14:46 -07:00
Ben Vanik
c6d779920d Switch ring buffer wait event to manual reset.
Avoids timing issues with kicks.
2013-10-13 11:06:45 -07:00
Ben Vanik
0ef278325f Hacking to get first triangle drawn. 2013-10-12 15:07:34 -07:00
Ben Vanik
51b79cb399 Minor fixes. 2013-10-12 03:02:39 -07:00
Ben Vanik
8e01e2d945 Vertex fetching. 2013-10-12 02:29:01 -07:00
Ben Vanik
6e4fb87992 D3D11 window up and spinning. 2013-10-11 20:23:58 -07:00
Ben Vanik
17be429244 Microcode disassembler skeleton. 2013-10-07 19:58:24 -07:00
Ben Vanik
651954ccae Starting to drive command buffer actions down to a graphics driver. 2013-10-06 21:09:58 -07:00
Ben Vanik
371075f154 More GPU decoding. 2013-10-06 19:22:02 -07:00
Ben Vanik
b7fd4f975d Fixing ringbuffer pointers and no-op instructions. 2013-09-25 00:46:47 -07:00
Ben Vanik
cf57481a0e Adding basic register names. 2013-06-01 22:51:09 -07:00
Ben Vanik
e00e665a09 Basic command buffer processing. 2013-06-01 21:49:14 -07:00
Ben Vanik
ba16a0d847 Trying to setup writeback and add basic secondary command execution. 2013-06-01 03:08:31 -07:00
Ben Vanik
5b0fa8f17e Basic ringbuffer worker. Super hacky, not yet writing back to CPU. 2013-06-01 01:13:44 -07:00