summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-25 11:46:11 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 21:46:31 +0200
commit2011f9a042bfb51124550462f64a2106e59e11df (patch)
tree7380029505ac8c21ab77aecb9ce3b9145b80705a /src/citra_qt/debugger/graphics_vertex_shader.cpp
parentShader Debugger: Highlight current instruction instead of focusing (diff)
downloadyuzu-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
Diffstat (limited to 'src/citra_qt/debugger/graphics_vertex_shader.cpp')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp2
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();
}