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:
parent
e3caf669b0
commit
1e1f939817
4 changed files with 14 additions and 12 deletions
|
@ -191,7 +191,7 @@ struct ShaderSetup {
|
|||
* Runs the currently setup shader
|
||||
* @param state Shader unit state, must be setup per shader and per shader unit
|
||||
*/
|
||||
void Run(UnitState& state);
|
||||
void Run(UnitState& state, unsigned int entry_point);
|
||||
|
||||
/**
|
||||
* Produce debug information based on the given shader and input vertex
|
||||
|
@ -201,7 +201,7 @@ struct ShaderSetup {
|
|||
* @return Debug information for this shader with regards to the given vertex
|
||||
*/
|
||||
DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes,
|
||||
const Regs::ShaderConfig& config);
|
||||
unsigned int entry_point);
|
||||
};
|
||||
|
||||
} // namespace Shader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue