Commit Graph

48 Commits

Author SHA1 Message Date
bjorn d5325b87b4 Headset support; 2022-06-05 20:38:14 -07:00
bjorn d8583c6a9d gpu_compute; gpu_compute_indirect; 2022-06-04 11:53:59 -07:00
bjorn 2c2eada1f0 Fix pipeline creating the wrong render pass; 2022-06-04 01:31:16 -07:00
bjorn d9bf19da33 Fix texture memory allocation; 2022-06-04 01:30:51 -07:00
bjorn a09773a5c8 gpu_sync; 2022-05-31 21:50:29 -07:00
bjorn a2cc4f3495 Cap vertex attribute/buffer limits; 2022-05-31 20:40:50 -07:00
bjorn ec0da8e91f Correctly recycle scratchpad buffers; 2022-05-31 20:37:24 -07:00
bjorn 99e45c22ad Add some descriptor set limits; 2022-05-31 20:16:16 -07:00
bjorn 8253b7361c gpu: More vulkan functions use buffer offsets; 2022-05-30 15:26:01 -07:00
bjorn 2570485b20 gpu: pipeline creates render pass properly; 2022-05-30 13:32:59 -07:00
bjorn 32fb5e63ac Destroy descriptor pools properly; 2022-05-30 13:12:04 -07:00
bjorn 25bb64b18c gpu: viewport/binding fixes; 2022-05-29 23:58:18 -07:00
bjorn 082ddc0e1b gpu: add drawing functions; 2022-05-29 21:36:40 -07:00
bjorn 0c8f1b6400 gpu: add binding functions; 2022-05-29 21:36:29 -07:00
bjorn af0e388e91 Pass:copy; Pass:blit; 2022-05-25 23:52:24 -07:00
bjorn 6771ff64b5 Pass:clear; 2022-05-25 19:45:01 -07:00
bjorn 99ecd04e27 Pass:send; 2022-05-23 23:10:11 -07:00
bjorn e054218713 gpu_bundle; gpu_bundle_pool; layouts; 2022-05-23 21:40:57 -07:00
bjorn 970a84a514 Surface, swapchain, window texture, vsync; 2022-05-11 15:28:04 -07:00
bjorn f7b4ec725f Render passes; 2022-05-11 12:51:13 -07:00
bjorn bd970a5ec8 gpu_pipeline; 2022-05-11 12:49:05 -07:00
bjorn d9e5ba8b9f Slightly broken compileShader/newShader; 2022-05-09 11:47:06 -07:00
bjorn 88296a7c16 gpu_layout;
Stores a declaration of a group of shader resources.
2022-05-07 16:08:49 -07:00
bjorn 22edbe4f64 BC1 is rgb; 2022-05-06 17:27:16 -07:00
bjorn 22e15513f9 Sampler; 2022-05-01 15:47:17 -07:00
bjorn f13bfabb5d Fix texture allocator block sizes; 2022-05-01 15:41:03 -07:00
bjorn ebe77e5924 Sketch out Texture uploads; 2022-04-30 18:49:46 -07:00
bjorn b7aa3f29a4 gpu: add texture transfer functions; 2022-04-30 15:58:19 -07:00
bjorn 445f813524 Ignore srgb flag for formats that don't support it; 2022-04-30 09:13:16 -07:00
bjorn 0772d8b4de newTexture; 2022-04-30 03:06:14 -07:00
bjorn e53ddfa03b isFormatSupported; 2022-04-29 17:16:16 -07:00
bjorn bc6b98123b gpu_texture; 2022-04-29 15:09:01 -07:00
bjorn 48e2509a3c lovr.graphics.wait; 2022-04-28 22:37:03 -07:00
bjorn 7aee0a4656 Add Pass; Buffer transfers; lovr.graphics.submit; Bugfixes; 2022-04-28 22:30:31 -07:00
bjorn d76936c48d gpu: add ticks and streams; 2022-04-28 20:57:36 -07:00
bjorn 9e5510b9a7 Adjust; 2022-04-27 00:32:01 -07:00
bjorn e8c809a870 Temporary buffers; 2022-04-27 00:28:39 -07:00
bjorn 43f56c223c Tell Vulkan about the engine name and version; 2022-04-27 00:21:04 -07:00
bjorn a3438274b5 Add non-scratchpad Buffers;
This includes the memory allocator and the morgue.

You can't actually write any data to the buffer yet, since we don't have
commands or temp buffers.  Temp buffers (scratchpads) are coming soon.
2022-04-26 15:32:54 -07:00
bjorn 50ebed697e Update some features and limits;
- rm dynamicIndexing and nonUniformIndexing, for now (arrays aren't well
  supported)
- rename compressed texture features
- move clip/cull distance to limit instead of feature (limit can be 0)
2022-04-26 15:31:51 -07:00
bjorn 3ae0ff568f Rework device info; 2022-04-22 13:28:59 -07:00
bjorn be1cedc922 Always enable fullIndexBufferRange feature; 2022-04-22 01:07:07 -07:00
bjorn f37c1824da lovr.graphics.getDevice/getFeatures/getLimits; 2022-04-21 17:39:59 -07:00
bjorn 40e9a4ab73 core/gpu; 2022-04-21 17:39:59 -07:00
bjorn 96337bf8cc rm core/gpu;
This is far from done and will probably be structured a bit differently.
2020-07-02 10:46:13 -06:00
bjorn ef7ebaef85 core/gpu: vulkan feature detection; rm stats; 2020-02-23 00:47:59 -08:00
bjorn b9b8062c18 core/gpu: texture views; 2020-02-21 01:48:58 -08:00
bjorn 7d2bec7283 core/gpu: add vulkan backend; 2020-02-20 12:23:31 -08:00