summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2015-08-15 19:55:26 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2015-08-16 14:12:11 +0200
commit493c432d1e33a66c234485ea09c167888a6f9567 (patch)
treecb12c1ac323d270b72bb8672b214f7c6e1711ef1
parentIntroduce a shader tracer to allow inspection of input/output values for each processed instruction. (diff)
downloadyuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar.gz
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar.bz2
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar.lz
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar.xz
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.tar.zst
yuzu-493c432d1e33a66c234485ea09c167888a6f9567.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.h b/src/citra_qt/debugger/graphics_vertex_shader.h
index 1b46aa0d9..6e99f3674 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.h
+++ b/src/citra_qt/debugger/graphics_vertex_shader.h
@@ -55,10 +55,11 @@ private slots:
void DumpShader();
- /** Reload widget based on the current PICA200 state
- * @param replace_vertex_data If true, invalidate all current vertex data
- * @param vertex_data New vertex data to use, as passed to OnBreakPointHit. May be nullptr to specify that no valid vertex data can be retrieved currently. Only used if replace_vertex_data is true.
- */
+ /**
+ * Reload widget based on the current PICA200 state
+ * @param replace_vertex_data If true, invalidate all current vertex data
+ * @param vertex_data New vertex data to use, as passed to OnBreakPointHit. May be nullptr to specify that no valid vertex data can be retrieved currently. Only used if replace_vertex_data is true.
+ */
void Reload(bool replace_vertex_data = false, void* vertex_data = nullptr);
@@ -71,7 +72,7 @@ private:
QTreeView* binary_list;
GraphicsVertexShaderModel* model;
- // TODO: Move these into a single struct
+ /// TODO: Move these into a single struct
std::array<QLineEdit*, 4*16> input_data; // A text box for each of the 4 components of up to 16 vertex attributes
std::array<QWidget*, 16> input_data_container; // QWidget containing the QLayout containing each vertex attribute
std::array<QLabel*, 16> input_data_mapping; // A QLabel denoting the shader input attribute which the vertex attribute maps to