aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader.h
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2016-12-15 00:16:04 -0500
committerGitHub <noreply@github.com>2016-12-15 00:16:04 -0500
commitec9130de8dfaf22bfc5dc8a4988b68532955b43a (patch)
treeb69ec4ddca4e310029a95020bbbd76ee6ef2bc75 /src/video_core/shader/shader.h
parentbde54333dff178c8c2d7704a91df23a69a55a1cc (diff)
parentf00ada3363f5b39913d6a3eefbbe537624283fa6 (diff)
Merge pull request #2317 from yuriks/vertex-copy
VideoCore: Eliminate an unnecessary copy in the drawcall loop
Diffstat (limited to 'src/video_core/shader/shader.h')
-rw-r--r--src/video_core/shader/shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h
index 8858d67f8..0111d8c0f 100644
--- a/src/video_core/shader/shader.h
+++ b/src/video_core/shader/shader.h
@@ -85,7 +85,7 @@ struct OutputRegisters {
alignas(16) Math::Vec4<float24> value[16];
- OutputVertex ToVertex(const Regs::ShaderConfig& config);
+ OutputVertex ToVertex(const Regs::ShaderConfig& config) const;
};
static_assert(std::is_pod<OutputRegisters>::value, "Structure is not POD");