summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-17 07:32:35 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-26 03:53:23 +0100
commitbd82cffd0bf5d61eab8c7c856bcc284b1a77e33b (patch)
tree8b4d2973f30be643a9d688cd310470d6d7748da1 /src/video_core/shader/shader.cpp
parentVideoCore/Shader: Use only entry_point as ShaderSetup param (diff)
downloadyuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar.gz
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar.bz2
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar.lz
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar.xz
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.tar.zst
yuzu-bd82cffd0bf5d61eab8c7c856bcc284b1a77e33b.zip
Diffstat (limited to 'src/video_core/shader/shader.cpp')
-rw-r--r--src/video_core/shader/shader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index 936db0582..ae696533f 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.cpp
@@ -120,7 +120,7 @@ void ShaderSetup::Setup() {
MICROPROFILE_DEFINE(GPU_Shader, "GPU", "Shader", MP_RGB(50, 50, 240));
-void ShaderSetup::Run(UnitState& state, unsigned int entry_point) {
+void ShaderSetup::Run(UnitState& state, unsigned int entry_point) const {
ASSERT(entry_point < 1024);
MICROPROFILE_SCOPE(GPU_Shader);
@@ -139,7 +139,7 @@ void ShaderSetup::Run(UnitState& state, unsigned int entry_point) {
}
DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes,
- unsigned int entry_point) {
+ unsigned int entry_point) const {
ASSERT(entry_point < 1024);
UnitState state;