summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-17 07:30:00 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-26 03:53:23 +0100
commit1e1f9398176e4f1ec608f31f22a576c749a0a723 (patch)
tree1c2ced663dcfe434ae0750f0ca64590c1f1dba5f /src/video_core/shader/shader.h
parentVideoCore/Shader: Use self instead of g_state.vs in ShaderSetup (diff)
downloadyuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.gz
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.bz2
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.lz
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.xz
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.tar.zst
yuzu-1e1f9398176e4f1ec608f31f22a576c749a0a723.zip
Diffstat (limited to 'src/video_core/shader/shader.h')
-rw-r--r--src/video_core/shader/shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h
index 61becb6e5..d21f481ab 100644
--- a/src/video_core/shader/shader.h
+++ b/src/video_core/shader/shader.h
@@ -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