mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-31 11:52:49 +01:00
[spir-v] Workaorund for 1D sampled images
This commit is contained in:
parent
80609ee974
commit
eb7f950322
2 changed files with 13 additions and 2 deletions
|
|
@ -403,6 +403,9 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct
|
|||
if (info.uses_sampled_1d) {
|
||||
ctx.AddCapability(spv::Capability::Sampled1D);
|
||||
}
|
||||
if (info.uses_image_1d) {
|
||||
ctx.AddCapability(spv::Capability::Image1D);
|
||||
}
|
||||
if (info.uses_sparse_residency) {
|
||||
ctx.AddCapability(spv::Capability::SparseResidency);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue