aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/nsp.cpp
diff options
context:
space:
mode:
authorwildcard <wildcard@eden-emu.dev>2026-03-04 22:46:55 +0100
committercrueter <crueter@eden-emu.dev>2026-03-04 22:46:55 +0100
commitc682306788055c57953aea38fdded95a0c6dfc09 (patch)
treedc05cd919897970c2248ade9ec8d19ac4fccd398 /src/core/loader/nsp.cpp
parent9d2341eaeafb275d3d3e4692812fe121ae24e2e3 (diff)
[vulkan] Implement push descriptors for compute pipelines (#3666)
Implements push descriptor for compute pipelines along with a bug fix, the increment logic was, offset += sizeof(DescriptorUpdateEntry); This only advances the byte offset by a single descriptor slot, regardless of the array's size (descriptorCount).Now suppose if a shader utilized an array of descriptors (eg, layout(binding = 0) uniform sampler2D textures[4]) and if this happened to fit within the MaxPushDescriptors limit, the template would consume 4 * sizeof(DescriptorUpdateEntry) bytes, but the offset for the next binding would only advance by 1 slot. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3666 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: wildcard <wildcard@eden-emu.dev> Co-committed-by: wildcard <wildcard@eden-emu.dev>
Diffstat (limited to 'src/core/loader/nsp.cpp')
0 files changed, 0 insertions, 0 deletions