Skip to content

For OpImageFetch, do not provide both Lod and Sample operands#4210

Draft
mikusp wants to merge 1 commit intoshadps4-emu:mainfrom
mikusp:op_image_fetch_lod
Draft

For OpImageFetch, do not provide both Lod and Sample operands#4210
mikusp wants to merge 1 commit intoshadps4-emu:mainfrom
mikusp:op_image_fetch_lod

Conversation

@mikusp
Copy link
Copy Markdown
Contributor

@mikusp mikusp commented Apr 2, 2026

An attempt to fix a Vulkan validation error:

[Render.Vulkan] <Error> (shadPS4:GpuComm) vk_platform.cpp:57 DebugUtilsCallback: VUID-VkShaderModuleCreateInfo-pCode-08737: vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
Image Operand Lod requires 'MS' parameter to be 0
  %131 = OpImageFetch %f32vec4_id %130 %129 Lod|Sample %u32_id_0 %u32_id_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant