VideoCore/Shader: Move entry_point to SetupBatch

This commit is contained in:
Yuri Kunde Schlesner 2016-12-17 16:16:02 -08:00
parent 0f64274145
commit 0e9081b973
7 changed files with 29 additions and 29 deletions

View file

@ -521,9 +521,8 @@ 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(shader_setup, input_vertex, num_attributes, entry_point);
shader_engine.SetupBatch(shader_setup, entry_point);
debug_data = shader_engine.ProduceDebugInfo(shader_setup, input_vertex, num_attributes);
// Reload widget state
for (int attr = 0; attr < num_attributes; ++attr) {