diff options
| author | 2016-12-16 22:30:00 -0800 | |
|---|---|---|
| committer | 2017-01-25 18:53:23 -0800 | |
| commit | 1e1f9398176e4f1ec608f31f22a576c749a0a723 (patch) | |
| tree | 1c2ced663dcfe434ae0750f0ca64590c1f1dba5f /src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | |
| parent | VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup (diff) | |
| download | yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.gz yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.xz yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.zip | |
VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA
state.
Diffstat (limited to 'src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp index 89512146e..c556d3b15 100644 --- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | |||
| @@ -518,7 +518,7 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d | |||
| 518 | info.labels.insert({entry_point, "main"}); | 518 | info.labels.insert({entry_point, "main"}); |
| 519 | 519 | ||
| 520 | // Generate debug information | 520 | // Generate debug information |
| 521 | debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, shader_config); | 521 | debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, entry_point); |
| 522 | 522 | ||
| 523 | // Reload widget state | 523 | // Reload widget state |
| 524 | for (int attr = 0; attr < num_attributes; ++attr) { | 524 | for (int attr = 0; attr < num_attributes; ++attr) { |