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

@@ -64,14 +64,9 @@ void NopGraphicsDriver::SetShader(
if (source) {
xe_free(source);
}
// Prepare for use.
if (shader->Prepare()) {
XELOGGPU("NOP: failed to prepare shader");
}
}
void NopGraphicsDriver::DrawIndexed(
void NopGraphicsDriver::DrawAutoIndexed(
XE_GPU_PRIMITIVE_TYPE prim_type,
uint32_t index_count) {
XELOGGPU("NOP: draw indexed %d (%d indicies)",

View File

@@ -39,7 +39,7 @@ public:
uint32_t address,
uint32_t start,
uint32_t length);
virtual void DrawIndexed(
virtual void DrawAutoIndexed(
xenos::XE_GPU_PRIMITIVE_TYPE prim_type,
uint32_t index_count);