VideoCore/Shader: Use only entry_point as ShaderSetup param

This removes all implicit dependency of ShaderState on global PICA
state.
This commit is contained in:
Yuri Kunde Schlesner 2016-12-16 22:30:00 -08:00
parent e3caf669b0
commit 1e1f939817
4 changed files with 14 additions and 12 deletions

View file

@ -518,7 +518,7 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d
info.labels.insert({entry_point, "main"});
// Generate debug information
debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, shader_config);
debug_data = shader_setup.ProduceDebugInfo(input_vertex, num_attributes, entry_point);
// Reload widget state
for (int attr = 0; attr < num_attributes; ++attr) {