diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-25 11:46:11 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-07 21:46:31 +0200 |
commit | 2011f9a042bfb51124550462f64a2106e59e11df (patch) | |
tree | 7380029505ac8c21ab77aecb9ce3b9145b80705a | |
parent | Shader Debugger: Highlight current instruction instead of focusing (diff) | |
download | yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar.gz yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar.bz2 yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar.lz yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar.xz yuzu-2011f9a042bfb51124550462f64a2106e59e11df.tar.zst yuzu-2011f9a042bfb51124550462f64a2106e59e11df.zip |
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index f01be71cc..d48b3294b 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -518,6 +518,8 @@ void GraphicsVertexShaderWidget::OnResumed() { void GraphicsVertexShaderWidget::OnInputAttributeChanged(int index) { float value = input_data[index]->text().toFloat(); + input_vertex.attr[index / 4][index % 4] = Pica::float24::FromFloat32(value); + // Re-execute shader with updated value Reload(); } |