Commit graph

6487 commits

Author SHA1 Message Date
Jakob Bornecrantz 6d0ab43cda tests: Add uv to tangent lengths test 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz 77efa57e0a c/render: Make library usable on it's own in cmake 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz ace0ca62c6 c/render: Expose uv to tangent lengths function
Also document it better.
2023-10-05 12:47:51 +01:00
Jakob Bornecrantz 975ca891c3 c/render: Refactor gfx distortion dispatch 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz 996195f544 c/main: Refactor gfx dispatch 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz b7dbdae304 c/main: Refactor vertex rot getting in renderer 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz c81356e0c8 c/main: Refactor view poses getting in renderer 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz 0362834904 c/main: Tidy layer headers 2023-10-05 12:47:51 +01:00
Jakob Bornecrantz 3ca1381be1 doc: Document !1975 2023-10-04 16:39:06 +01:00
Jakob Bornecrantz 05a9617874 c/util: Fix timewarp logic being inverted for fast path 2023-10-04 16:28:38 +01:00
Jakob Bornecrantz 2bce700fbc doc: Document !1972 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz 87b3b2ea5a c/render: Constify arguments [NFC] 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz b5a9300479 c/render: Tidy header includes in shaders [NFC] 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz ae3cf44263 c/render: Refactor shader loading define [NFC] 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz 6e7a0a621c c/render: Use define helpers in gfx code 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz b8a226bf7b c/render: Use define helpers in buffer code 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz 78a638a6cd c/render: Use define helpers in shaders code 2023-10-04 01:04:03 +01:00
Jakob Bornecrantz f468e124c2 c/render: Use define helpers in compute code 2023-10-03 21:51:03 +00:00
Jakob Bornecrantz c93f0d75d8 c/render: Use define helpers in resources code 2023-10-03 21:51:03 +00:00
Jakob Bornecrantz 19da398713 c/render: Use define helpers in distortion code 2023-10-03 21:51:03 +00:00
Jakob Bornecrantz db4ef3bad1 doc: Document !1973 2023-10-03 20:57:11 +00:00
Jakob Bornecrantz d72627ceb7 a/vk: Fix leak in extension checking code 2023-10-03 20:57:11 +00:00
Jakob Bornecrantz 9fc9bd5dbb doc: Document !1971 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz cf1f03b175 a/vk: Remove unused vk_has_error 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 6d43e3e4b7 a/vk: Remove unused vk_check_error define 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz f4455271c9 a/vk: Remove unused vk_check_error_with_free define 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz e10c0e5d40 c/main: Use VK_CHK_WITH_RET instead of vk_check_error 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz f75eabea29 a/vk: Use VK_CHK_WITH_RET instead of vk_check_error 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 8c512f9890 a/vk: Introduce VK_CHK_* helpers 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 42080b068c a/vk: Add mini defines helpers 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 0fb3e9a943 a/vk: Use vk_print_result instead of vk_has_error 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 6316bf39a9 a/vk: Add vk_print_result helper 2023-10-03 01:11:14 +01:00
Jakob Bornecrantz 9d92720960 doc: Document !1970 2023-10-02 21:48:56 +01:00
Jakob Bornecrantz 0fa30c0fbe c/main: Print error on bad fast path state 2023-10-02 21:48:50 +01:00
Jakob Bornecrantz 3c82beb1a1 c/main: Fix mistake in dispatch_graphics
Closes #290
2023-10-02 21:48:43 +01:00
BabbleBones 65d3350295 doc: Document !1968 2023-09-30 16:19:40 +00:00
BabbleBones 4c1c593bf4 steamvr_lh: add frame mutex to prevent double free 2023-09-30 16:19:40 +00:00
Jakob Bornecrantz 3adfd58bcc doc: Document !1969 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz e33418de56 c/main: Refactor dispatch_graphics function 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz 4893638ccd c/main: Remove the command buffer in layer renderer
This makes it so that we only use one command buffer
for the entire frame, which gives us a nice speed up.
2023-09-29 12:00:03 +01:00
Jakob Bornecrantz ce4e11686e c/main: Use scratch image for layer renderer 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz 7e5615fee1 c/main: Use render's render pass in layer renderer 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz d46e619d3c c/main: Create render pass and targets for scratch images 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz 7a9aa05d46 c/main: Let main compositor decide size of scratch image 2023-09-29 12:00:03 +01:00
Jakob Bornecrantz 84a0277ee7 c/render: Make srgb_view renderable for scratch images 2023-09-29 10:43:18 +01:00
Jakob Bornecrantz 29574dfea3 c/render: Refactor out a render pass object 2023-09-29 10:43:18 +01:00
Jakob Bornecrantz 7c512b2fc5 c/render: Refactor external render pass into a implicit one 2023-09-29 10:43:18 +01:00
Jakob Bornecrantz d4f3c794df c/render: Don't enable depth testing and writing for mesh shader
It's not used, so don't leave it on.
2023-09-29 10:43:18 +01:00
Jakob Bornecrantz 13edb14fc8 doc: Document !1961 2023-09-28 17:10:34 +01:00
Jakob Bornecrantz b6e5a89c97 u/pacing: Add minimum app margin 2023-09-28 15:23:46 +01:00