Starting to drive command buffer actions down to a graphics driver.

This commit is contained in:
Ben Vanik
2013-10-06 21:09:58 -07:00
parent 371075f154
commit 651954ccae
12 changed files with 307 additions and 84 deletions

View File

@@ -18,7 +18,7 @@ namespace gpu {
namespace xenos {
static const uint32_t kXEGpuRegisterCount = 0x3000;
static const uint32_t kXEGpuRegisterCount = 0x5003;
enum Registers {
@@ -33,13 +33,13 @@ const char* GetRegisterName(uint32_t index);
union RegisterValue {
uint32_t dword_value;
float float_value;
uint32_t u32;
float f32;
};
struct RegisterFile {
RegisterValue registers[kXEGpuRegisterCount];
RegisterValue values[kXEGpuRegisterCount];
};