From cd7414814a99cfdf52d790fe6553b468411f1bff Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Thu, 12 Mar 2026 01:13:50 -0400 Subject: [PATCH] [vulkan] Removed handling for PixelFormatInterpretation --- src/shader_recompiler/ir_opt/texture_pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shader_recompiler/ir_opt/texture_pass.cpp b/src/shader_recompiler/ir_opt/texture_pass.cpp index 6c466545d1..7b48b9b95a 100644 --- a/src/shader_recompiler/ir_opt/texture_pass.cpp +++ b/src/shader_recompiler/ir_opt/texture_pass.cpp @@ -199,6 +199,10 @@ static inline TexturePixelFormat ReadTexturePixelFormatCached(Environment& env, const ConstBufferAddr& cbuf) { return env.ReadTexturePixelFormat(GetTextureHandleCached(env, cbuf)); } +static inline bool IsTexturePixelFormatIntegerCached(Environment& env, + const ConstBufferAddr& cbuf) { + return env.IsTexturePixelFormatInteger(GetTextureHandleCached(env, cbuf)); +} std::optional Track(const IR::Value& value, Environment& env); static inline std::optional TrackCached(const IR::Value& v, Environment& env) {