mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-28 13:28:59 +02:00
[vk, gl, spv] Opcode Promotion path emulation
This commit is contained in:
parent
f6f0690544
commit
1e9cb290ca
11 changed files with 394 additions and 81 deletions
|
|
@ -401,7 +401,7 @@ void SetupTransformFeedbackCapabilities(EmitContext& ctx, Id main_func) {
|
|||
}
|
||||
|
||||
void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ctx) {
|
||||
if (info.uses_sampled_1d) {
|
||||
if (info.uses_sampled_1d && profile.support_sampled_1d) {
|
||||
ctx.AddCapability(spv::Capability::Sampled1D);
|
||||
}
|
||||
if (info.uses_sparse_residency) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue