summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv/emit_context.h
diff options
context:
space:
mode:
authorGravatar ameerj2021-10-16 00:30:43 -0400
committerGravatar Fernando Sahmkow2021-11-16 22:11:31 +0100
commit618de4e7871898f165c028293becd235ce3ccb09 (patch)
treea41f25c847177f4f5d8c6ce8da5651f71f7418a5 /src/shader_recompiler/backend/spirv/emit_context.h
parentTexture Cahe: Fix downscaling on SMO. (diff)
downloadyuzu-618de4e7871898f165c028293becd235ce3ccb09.tar.gz
yuzu-618de4e7871898f165c028293becd235ce3ccb09.tar.xz
yuzu-618de4e7871898f165c028293becd235ce3ccb09.zip
vulkan: Fix rescaling push constant usage
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.h')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/emit_context.h
index b67704baa..63f8185d9 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.h
+++ b/src/shader_recompiler/backend/spirv/emit_context.h
@@ -244,6 +244,7 @@ public:
244 Id rescaling_images_type{}; 244 Id rescaling_images_type{};
245 u32 rescaling_textures_member_index{}; 245 u32 rescaling_textures_member_index{};
246 u32 rescaling_images_member_index{}; 246 u32 rescaling_images_member_index{};
247 u32 rescaling_downfactor_member_index{};
247 u32 texture_rescaling_index{}; 248 u32 texture_rescaling_index{};
248 u32 image_rescaling_index{}; 249 u32 image_rescaling_index{};
249 250
@@ -324,7 +325,7 @@ private:
324 void DefineAttributeMemAccess(const Info& info); 325 void DefineAttributeMemAccess(const Info& info);
325 void DefineGlobalMemoryFunctions(const Info& info); 326 void DefineGlobalMemoryFunctions(const Info& info);
326 void DefineRescalingInput(const Info& info); 327 void DefineRescalingInput(const Info& info);
327 void DefineRescalingInputPushConstant(const Info& info); 328 void DefineRescalingInputPushConstant();
328 void DefineRescalingInputUniformConstant(); 329 void DefineRescalingInputUniformConstant();
329 330
330 void DefineInputs(const IR::Program& program); 331 void DefineInputs(const IR::Program& program);