Vertex fetching.

This commit is contained in:
Ben Vanik
2013-10-12 02:29:01 -07:00
parent 04aad708c9
commit 8e01e2d945
18 changed files with 2762 additions and 54 deletions

View File

@@ -25,6 +25,9 @@ public:
xe_memory_ref memory();
xenos::RegisterFile* register_file() { return &register_file_; };
void set_address_translation(uint32_t value) {
address_translation_ = value;
}
virtual void Initialize() = 0;
@@ -35,7 +38,7 @@ public:
uint32_t address,
uint32_t start,
uint32_t length) = 0;
virtual void DrawIndexed(
virtual void DrawAutoIndexed(
xenos::XE_GPU_PRIMITIVE_TYPE prim_type,
uint32_t index_count) = 0;
@@ -45,6 +48,7 @@ protected:
xe_memory_ref memory_;
xenos::RegisterFile register_file_;
uint32_t address_translation_;
};