VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
This commit is contained in:
parent
6fa3687afc
commit
0f64274145
7 changed files with 43 additions and 46 deletions
|
@ -521,8 +521,9 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
|
|||
|
||||
// Generate debug information
|
||||
Pica::Shader::InterpreterEngine shader_engine;
|
||||
shader_engine.SetupBatch(&shader_setup);
|
||||
debug_data = shader_engine.ProduceDebugInfo(input_vertex, num_attributes, entry_point);
|
||||
shader_engine.SetupBatch(shader_setup);
|
||||
debug_data =
|
||||
shader_engine.ProduceDebugInfo(shader_setup, input_vertex, num_attributes, entry_point);
|
||||
|
||||
// Reload widget state
|
||||
for (int attr = 0; attr < num_attributes; ++attr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue