summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader_environment.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-12-22 17:40:26 +0100
committerGitHub <noreply@github.com>2023-12-22 17:40:26 +0100
commit4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0 (patch)
tree5f2cae1f65daf7cdd0b1978e48764747177d949d /src/video_core/shader_environment.h
parentMerge pull request #12424 from t895/vsync-per-game-qt (diff)
parentshader_recompiler: use float image operations on load/store when required (diff)
downloadyuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar.gz
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar.bz2
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar.lz
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar.xz
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.tar.zst
yuzu-4d6b6ba76ccf73a47ed46a5c86452cf2be03e2e0.zip
Diffstat (limited to 'src/video_core/shader_environment.h')
-rw-r--r--src/video_core/shader_environment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h
index b90f3d44e..6b372e336 100644
--- a/src/video_core/shader_environment.h
+++ b/src/video_core/shader_environment.h
@@ -115,6 +115,8 @@ public:
Shader::TexturePixelFormat ReadTexturePixelFormat(u32 handle) override;
+ bool IsTexturePixelFormatInteger(u32 handle) override;
+
u32 ReadViewportTransformState() override;
std::optional<Shader::ReplaceConstant> GetReplaceConstBuffer(u32 bank, u32 offset) override;
@@ -139,6 +141,8 @@ public:
Shader::TexturePixelFormat ReadTexturePixelFormat(u32 handle) override;
+ bool IsTexturePixelFormatInteger(u32 handle) override;
+
u32 ReadViewportTransformState() override;
std::optional<Shader::ReplaceConstant> GetReplaceConstBuffer(
@@ -171,6 +175,8 @@ public:
[[nodiscard]] Shader::TexturePixelFormat ReadTexturePixelFormat(u32 handle) override;
+ [[nodiscard]] bool IsTexturePixelFormatInteger(u32 handle) override;
+
[[nodiscard]] u32 ReadViewportTransformState() override;
[[nodiscard]] u32 LocalMemorySize() const override;