summaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader.cpp
diff options
context:
space:
mode:
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() {
120 120
121MICROPROFILE_DEFINE(GPU_Shader, "GPU", "Shader", MP_RGB(50, 50, 240)); 121MICROPROFILE_DEFINE(GPU_Shader, "GPU", "Shader", MP_RGB(50, 50, 240));
122 122
123void ShaderSetup::Run(UnitState& state, unsigned int entry_point) { 123void ShaderSetup::Run(UnitState& state, unsigned int entry_point) const {
124 ASSERT(entry_point < 1024); 124 ASSERT(entry_point < 1024);
125 125
126 MICROPROFILE_SCOPE(GPU_Shader); 126 MICROPROFILE_SCOPE(GPU_Shader);
@@ -139,7 +139,7 @@ void ShaderSetup::Run(UnitState& state, unsigned int entry_point) {
139} 139}
140 140
141DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes, 141DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes,
142 unsigned int entry_point) { 142 unsigned int entry_point) const {
143 ASSERT(entry_point < 1024); 143 ASSERT(entry_point < 1024);
144 144
145 UnitState state; 145 UnitState state;