VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
This commit is contained in:
parent
34d581f2dc
commit
e3caf669b0
3 changed files with 9 additions and 13 deletions
|
@ -518,8 +518,7 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
|
|||
info.labels.insert({entry_point, "main"});
|
||||
|
||||
// Generate debug information
|
||||
debug_data = Pica::g_state.vs.ProduceDebugInfo(input_vertex, num_attributes, shader_config,
|
||||
shader_setup);
|
||||
debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, shader_config);
|
||||
|
||||
// Reload widget state
|
||||
for (int attr = 0; attr < num_attributes; ++attr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue