Commit Graph

366 Commits (d6378aba7461a7e8086074fb5770e35c8d5d9f81)

Author SHA1 Message Date
Caleb Cornett d6378aba74 Groundwork for D3D11. Yoinked most of this from the prior work, but updated the ABI 2024-03-02 23:11:36 -08:00
cosmonaut 9d1059ed0e fix stencil state 2024-03-02 23:11:07 -08:00
cosmonaut 7b0ed4278d correct stencil API change 2024-03-02 23:00:44 -08:00
cosmonaut 02c0d85885 Resource containers, new bindings API, WriteOptions ()
Reviewed-on: 
2024-03-02 09:09:49 +00:00
cosmonaut 695abd4139 alter vulkan defrag strategy 2024-02-27 00:16:06 -08:00
cosmonaut 2361cec274 actually assign len in Refresh_Image_Info 2024-02-25 01:44:19 -08:00
cosmonaut 899f961461 prefer host-local instead of require host-local 2024-02-24 23:07:22 -08:00
cosmonaut 9d36ddaac1 Refresh2 Vulkan Implementation ()
Reviewed-on: 
2024-02-23 23:46:02 +00:00
cosmonaut 4e1705d1bd specify buffer type in param name 2024-02-23 09:50:48 -08:00
cosmonaut 2f57a05c85 rename CpuBuffer to TransferBuffer 2024-02-23 09:42:31 -08:00
cosmonaut 2798067d54 add Refresh_Image_Info 2024-02-23 00:03:17 -08:00
cosmonaut d34310a7df fix Refresh_CreateCpuBuffer in Refresh.c 2024-02-22 10:34:48 -08:00
cosmonaut 73d927791a rename DISCARD to SAFEDISCARD 2024-02-22 10:32:24 -08:00
cosmonaut 72ff9407c4 update CreateCpuBuffer in Refresh_Driver 2024-02-21 10:59:31 -08:00
cosmonaut 52b99ea49a fix tabbing 2024-02-17 20:23:09 -08:00
cosmonaut 94f181787b CpuBuffer Set/Get API 2024-02-17 20:21:52 -08:00
cosmonaut c44a095bca CreateCpuBuffer writes a data pointer 2024-02-16 18:53:52 -08:00
cosmonaut fdb29ade82 remove map/unmap calls 2024-02-16 18:44:16 -08:00
cosmonaut 61386a27ba update Refresh_Driver.h and Refresh.c 2024-02-16 17:54:58 -08:00
cosmonaut ce4d294a31 rework Push_Uniforms and Draw calls 2024-02-16 17:51:18 -08:00
cosmonaut c779718967 buffer bindings should actually use uint64_t 2024-02-15 20:05:18 -08:00
cosmonaut 218587bb6a rearrange copy params order 2024-02-15 17:27:40 -08:00
cosmonaut 80914e9c38 add command buffer to Pass functions 2024-02-15 16:48:26 -08:00
cosmonaut 342a7f9ef6 update ASSIGN_DRIVER_FUNC calls 2024-02-15 16:34:52 -08:00
cosmonaut 5b82609565 some comment clarifications 2024-02-13 12:25:53 -08:00
cosmonaut 10c0b5ae37 a few more API revisions 2024-02-12 11:00:06 -08:00
cosmonaut 6f31f17be1 proposed API revision 2024-02-12 00:04:02 -08:00
cosmonaut b78d01592b memory system tweaks 2024-02-11 15:56:53 -08:00
cosmonaut c99b4cdfa1 fix incorrect flag bit 2024-01-31 14:47:01 -08:00
cosmonaut 2803e6d94e force ignore device-local property if allocation failed 2024-01-31 14:36:02 -08:00
cosmonaut 30b5f1dd21 user-requested buffers are no longer host-visible 2024-01-31 14:26:40 -08:00
cosmonaut 4ce2d80f80 Intel doesn't like 1 byte buffers 2024-01-19 10:19:23 -08:00
cosmonaut 27e9c741f8 1.15.4 2024-01-15 22:34:31 -08:00
cosmonaut c10ca98ccd Remove some unused variables 2024-01-15 22:25:27 -08:00
cosmonaut d441424b7c Fix ANY_SHADER_READ_SAMPLED_IMAGE sync hazard 2024-01-15 21:41:36 -08:00
cosmonaut 55c77def69 Revert "Fix potential sync hazards ()"
This reverts commit 20636ec951.
2024-01-15 21:38:37 -08:00
cosmonaut 2634359b48 Texture size calculation fixes 2024-01-15 16:36:56 -08:00
cosmonaut 56e3eb2af5 1.15.3 2024-01-15 12:47:49 -08:00
cosmonaut 859fc3b9fa fix UBO buffer size 2024-01-13 23:45:07 -08:00
cosmonaut 05350a9332 UBO offsets should respect alignment 2024-01-13 23:39:58 -08:00
cosmonaut 760c29699f 1.15.2 2024-01-12 18:10:11 -08:00
cosmonaut 20636ec951 Fix potential sync hazards ()
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: 
2024-01-12 18:10:11 -08:00
cosmonaut 7297eba889 Uniform buffers are now slices of dedicated allocs ()
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: 
2024-01-13 01:41:12 +00:00
cosmonaut b72b0b5fde fix path quotes in shadercompiler 2024-01-11 16:26:08 -08:00
cosmonaut fa92e9e08a change dummy uniform buffer size to 1 2023-12-08 12:49:46 -08:00
cosmonaut 483c07f3a8 Vulkan: fix dummy UBOs becoming invalid after defrag 2023-12-05 12:22:40 -08:00
cosmonaut f01d5d817a Vulkan: fix some missed cleanup in DestroyDevice 2023-12-04 17:28:25 -08:00
cosmonaut 17aae46eae revert OSX deployment target to 10.9 2023-12-04 16:37:22 -08:00
cosmonaut 1b3e954da8 change render pass barriers to read-write 2023-11-09 11:00:19 -08:00
Evan Hemsley 0989e45f88 MoltenVK support 2023-10-14 22:14:00 -07:00