diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 06:00:02 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 06:00:29 +0100 |
commit | f00ada3363f5b39913d6a3eefbbe537624283fa6 (patch) | |
tree | b69ec4ddca4e310029a95020bbbd76ee6ef2bc75 /src/video_core/shader | |
parent | Merge pull request #2309 from yuriks/shader-jit-xbyak (diff) | |
download | yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar.gz yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar.bz2 yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar.lz yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar.xz yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.tar.zst yuzu-f00ada3363f5b39913d6a3eefbbe537624283fa6.zip |
Diffstat (limited to 'src/video_core/shader')
-rw-r--r-- | src/video_core/shader/shader.cpp | 2 | ||||
-rw-r--r-- | src/video_core/shader/shader.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index 3febe739c..c7f23dab9 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp @@ -25,7 +25,7 @@ namespace Pica { namespace Shader { -OutputVertex OutputRegisters::ToVertex(const Regs::ShaderConfig& config) { +OutputVertex OutputRegisters::ToVertex(const Regs::ShaderConfig& config) const { // Setup output data OutputVertex ret; // TODO(neobrain): Under some circumstances, up to 16 attributes may be output. We need to 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"); |