diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-05-18 21:18:38 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-12 12:10:53 +0200 |
commit | f82410e6335b02603c7a6fc0fc63894b6a820a5b (patch) | |
tree | e703a09ea87cd532ed24bea5067e5c26bcf2ac1a /src/video_core/pica.h | |
parent | Refine command list debugging functionality and its qt interface. (diff) | |
download | yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar.gz yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar.bz2 yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar.lz yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar.xz yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.tar.zst yuzu-f82410e6335b02603c7a6fc0fc63894b6a820a5b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/pica.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 8ebe0dc3c..7cbc45f98 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -4,6 +4,9 @@ #pragma once +#include <initializer_list> +#include <map> + #include "common/bit_field.h" #include "common/common_types.h" @@ -34,4 +37,17 @@ union CommandHeader { BitField<31, 1, u32> group_commands; }; +static std::map<CommandId, const char*> command_names = { + {CommandId::ViewportSizeX, "ViewportSizeX" }, + {CommandId::ViewportInvSizeX, "ViewportInvSizeX" }, + {CommandId::ViewportSizeY, "ViewportSizeY" }, + {CommandId::ViewportInvSizeY, "ViewportInvSizeY" }, + {CommandId::ViewportCorner, "ViewportCorner" }, + {CommandId::DepthBufferFormat, "DepthBufferFormat" }, + {CommandId::ColorBufferFormat, "ColorBufferFormat" }, + {CommandId::DepthBufferAddress, "DepthBufferAddress" }, + {CommandId::ColorBufferAddress, "ColorBufferAddress" }, + {CommandId::ColorBufferSize, "ColorBufferSize" }, +}; + } |