mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 20:55:56 +00:00
buffer_atomic_imax_x2 (#3130)
Some checks are pending
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Some checks are pending
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
* buffer_atomic_imax_x2 * Define Int64Atomics SPIR-V capability
This commit is contained in:
parent
77117abb31
commit
1757dfaf5a
15 changed files with 84 additions and 5 deletions
|
@ -310,6 +310,19 @@ void SetupCapabilities(const Info& info, const Profile& profile, EmitContext& ct
|
|||
ctx.AddCapability(spv::Capability::WorkgroupMemoryExplicitLayoutKHR);
|
||||
ctx.AddCapability(spv::Capability::WorkgroupMemoryExplicitLayout16BitAccessKHR);
|
||||
}
|
||||
if (info.uses_buffer_int64_atomics || info.uses_shared_int64_atomics) {
|
||||
if (info.uses_buffer_int64_atomics) {
|
||||
ASSERT_MSG(ctx.profile.supports_buffer_int64_atomics,
|
||||
"Shader requires support for atomic Int64 buffer operations that your "
|
||||
"Vulkan instance does not advertise");
|
||||
}
|
||||
if (info.uses_shared_int64_atomics) {
|
||||
ASSERT_MSG(ctx.profile.supports_shared_int64_atomics,
|
||||
"Shader requires support for atomic Int64 shared memory operations that "
|
||||
"your Vulkan instance does not advertise");
|
||||
}
|
||||
ctx.AddCapability(spv::Capability::Int64Atomics);
|
||||
}
|
||||
}
|
||||
|
||||
void DefineEntryPoint(const Info& info, EmitContext& ctx, Id main) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue