Commit Graph

371 Commits (6674076423f3874e5f8e1487e3daa758a49556b4)

Author SHA1 Message Date
cosmonaut 6674076423 implement SetData and GetData 2024-02-23 09:50:57 -08:00
cosmonaut 0c095fa56d write pDataPtr on CreateCpuBuffer 2024-02-23 09:50:57 -08:00
cosmonaut 74f26e605d permanently map host-visible buffers 2024-02-23 09:50:57 -08:00
cosmonaut a0414d0a4f require CpuBuffers to be host-local 2024-02-23 09:50:57 -08:00
cosmonaut f5e25979f4 use 32 bit block sizes 2024-02-23 09:50:57 -08:00
cosmonaut 695ad15b75 update PushUniforms and Draw functions 2024-02-23 09:50:57 -08:00
cosmonaut 55ce210be6 add FIXME 2024-02-23 09:50:57 -08:00
cosmonaut 45f5bef337 fix the UBO descriptor range to use UBO_SECTION_SIZE 2024-02-23 09:50:57 -08:00
cosmonaut a3d69ace21 rework uniform buffer implementation as a ring buffer 2024-02-23 09:50:57 -08:00
cosmonaut 4ed50a96c9 move compute reset to EndComputePass 2024-02-23 09:50:57 -08:00
cosmonaut 35d90f8dcb fix autoReleaseFence race condition 2024-02-23 09:50:57 -08:00
cosmonaut 86099fb7ee remove ignored memory property flags 2024-02-23 09:50:57 -08:00
cosmonaut 95ac1d06fb update vulkan implementation in line with new API 2024-02-23 09:50:57 -08:00
cosmonaut 4e1705d1bd specify buffer type in param name
continuous-integration/drone/push Build is failing Details
2024-02-23 09:50:48 -08:00
cosmonaut 2f57a05c85 rename CpuBuffer to TransferBuffer
continuous-integration/drone/push Build is failing Details
2024-02-23 09:42:31 -08:00
cosmonaut 2798067d54 add Refresh_Image_Info
continuous-integration/drone/push Build is failing Details
2024-02-23 00:03:17 -08:00
cosmonaut d34310a7df fix Refresh_CreateCpuBuffer in Refresh.c
continuous-integration/drone/push Build is failing Details
2024-02-22 10:34:48 -08:00
cosmonaut 73d927791a rename DISCARD to SAFEDISCARD
continuous-integration/drone/push Build is failing Details
2024-02-22 10:32:24 -08:00
cosmonaut 72ff9407c4 update CreateCpuBuffer in Refresh_Driver
continuous-integration/drone/push Build is failing Details
2024-02-21 10:59:31 -08:00
cosmonaut 52b99ea49a fix tabbing
continuous-integration/drone/push Build is failing Details
2024-02-17 20:23:09 -08:00
cosmonaut 94f181787b CpuBuffer Set/Get API
continuous-integration/drone/push Build is failing Details
2024-02-17 20:21:52 -08:00
cosmonaut c44a095bca CreateCpuBuffer writes a data pointer
continuous-integration/drone/push Build is failing Details
2024-02-16 18:53:52 -08:00
cosmonaut fdb29ade82 remove map/unmap calls
continuous-integration/drone/push Build is failing Details
2024-02-16 18:44:16 -08:00
cosmonaut 61386a27ba update Refresh_Driver.h and Refresh.c
continuous-integration/drone/push Build is failing Details
2024-02-16 17:54:58 -08:00
cosmonaut ce4d294a31 rework Push_Uniforms and Draw calls
continuous-integration/drone/push Build is failing Details
2024-02-16 17:51:18 -08:00
cosmonaut c779718967 buffer bindings should actually use uint64_t
continuous-integration/drone/push Build is failing Details
2024-02-15 20:05:18 -08:00
cosmonaut 218587bb6a rearrange copy params order
continuous-integration/drone/push Build is failing Details
2024-02-15 17:27:40 -08:00
cosmonaut 80914e9c38 add command buffer to Pass functions
continuous-integration/drone/push Build is failing Details
2024-02-15 16:48:26 -08:00
cosmonaut 342a7f9ef6 update ASSIGN_DRIVER_FUNC calls
continuous-integration/drone/push Build is failing Details
2024-02-15 16:34:52 -08:00
cosmonaut 5b82609565 some comment clarifications
continuous-integration/drone/push Build is failing Details
2024-02-13 12:25:53 -08:00
cosmonaut 10c0b5ae37 a few more API revisions
continuous-integration/drone/push Build is failing Details
2024-02-12 11:00:06 -08:00
cosmonaut 6f31f17be1 proposed API revision
continuous-integration/drone/push Build is failing Details
2024-02-12 00:04:02 -08:00
cosmonaut b78d01592b memory system tweaks
continuous-integration/drone/push Build is passing Details
2024-02-11 15:56:53 -08:00
cosmonaut c99b4cdfa1 fix incorrect flag bit
continuous-integration/drone/push Build is passing Details
2024-01-31 14:47:01 -08:00
cosmonaut 2803e6d94e force ignore device-local property if allocation failed
continuous-integration/drone/push Build is passing Details
2024-01-31 14:36:02 -08:00
cosmonaut 30b5f1dd21 user-requested buffers are no longer host-visible
continuous-integration/drone/push Build is passing Details
2024-01-31 14:26:40 -08:00
cosmonaut 4ce2d80f80 Intel doesn't like 1 byte buffers
continuous-integration/drone/push Build is passing Details
2024-01-19 10:19:23 -08:00
cosmonaut 27e9c741f8 1.15.4
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2024-01-15 22:34:31 -08:00
cosmonaut c10ca98ccd Remove some unused variables
continuous-integration/drone/push Build is passing Details
2024-01-15 22:25:27 -08:00
cosmonaut d441424b7c Fix ANY_SHADER_READ_SAMPLED_IMAGE sync hazard
continuous-integration/drone/push Build is passing Details
2024-01-15 21:41:36 -08:00
cosmonaut 55c77def69 Revert "Fix potential sync hazards (#49)"
This reverts commit 20636ec951.
2024-01-15 21:38:37 -08:00
cosmonaut 2634359b48 Texture size calculation fixes
continuous-integration/drone/push Build is passing Details
2024-01-15 16:36:56 -08:00
cosmonaut 56e3eb2af5 1.15.3
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2024-01-15 12:47:49 -08:00
cosmonaut 859fc3b9fa fix UBO buffer size
continuous-integration/drone/push Build is passing Details
2024-01-13 23:45:07 -08:00
cosmonaut 05350a9332 UBO offsets should respect alignment
continuous-integration/drone/push Build is passing Details
2024-01-13 23:39:58 -08:00
cosmonaut 760c29699f 1.15.2
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2024-01-12 18:10:11 -08:00
cosmonaut 20636ec951 Fix potential sync hazards (#49)
We now do certain image layout transitions in the render pass instead of a barrier in EndRenderPass.

There is also an additional barrier on buffer uploads to prevent write-after-write hazard. It's a kludge on the fact that we're only tracking the most recent resource access.

Reviewed-on: #49
2024-01-12 18:10:11 -08:00
cosmonaut 7297eba889 Uniform buffers are now slices of dedicated allocs (#48)
continuous-integration/drone/push Build is passing Details
This should fix an issue where draw calls could flicker if a defrag was in progress and a uniform buffer was being used.

Uniform buffer "pools" are now just a single dedicated VulkanBuffer, and the uniform buffer objects are offsets into that buffer.

Reviewed-on: #48
2024-01-13 01:41:12 +00:00
cosmonaut b72b0b5fde fix path quotes in shadercompiler
continuous-integration/drone/push Build is passing Details
2024-01-11 16:26:08 -08:00
cosmonaut fa92e9e08a change dummy uniform buffer size to 1
continuous-integration/drone/push Build is passing Details
2023-12-08 12:49:46 -08:00