Adding --max_draw_elements to make debugging easier for now.

This commit is contained in:
Ben Vanik
2014-11-02 21:50:11 -08:00
parent 96c203699d
commit 5be1b9458a
3 changed files with 10 additions and 0 deletions

View File

@@ -19,6 +19,9 @@ DEFINE_bool(trace_ring_buffer, false, "Trace GPU ring buffer packets.");
DEFINE_string(dump_shaders, "",
"Path to write GPU shaders to as they are compiled.");
DEFINE_uint64(max_draw_elements, 0,
"Maximum element count; anything over this is ignored.");
#include <xenia/gpu/nop/nop_gpu.h>
std::unique_ptr<GraphicsSystem> xe::gpu::CreateNop(Emulator* emulator) {
return xe::gpu::nop::Create(emulator);