mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
emit_spirv: Fix missing extension declaration.
This commit is contained in:
parent
e899863f72
commit
41421cfbfc
@ -223,6 +223,7 @@ void SetupCapabilities(const Info& info, const Profile& profile, EmitContext& ct
|
||||
ctx.AddCapability(spv::Capability::StorageImageReadWithoutFormat);
|
||||
ctx.AddCapability(spv::Capability::StorageImageWriteWithoutFormat);
|
||||
if (profile.supports_image_load_store_lod) {
|
||||
ctx.AddExtension("SPV_AMD_shader_image_load_store_lod");
|
||||
ctx.AddCapability(spv::Capability::ImageReadWriteLodAMD);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user