Commit graph

8 commits

Author SHA1 Message Date
chyyran c3469520f9 examples(d3d11): fix d3d11 examples 2024-09-22 02:06:47 -04:00
chyyran 8cff5a47a8 test: fix some paths to test shaders 2023-02-16 21:32:05 -05:00
chyyran cff4f650c9 ld: add a flag to check if the instance is loaded
Also explicitly create function pointers to NULL, otherwise
null instance is technically unsound to call.

Practically if the create function is unloaded, so will the frame
function, but we should be consistent with the safety model.
2023-02-11 16:40:33 -05:00
chyyran 0eac766685 capi: expose deferred API and make order consistent.
gotta get all these ABI breaks done before release.
2023-02-11 15:30:20 -05:00
chyyran 0cb6f6a346 d3d11: be agnostic about deferred contexts
This brings the D3D11 API more in line with the D3D12 and Vulkan runtimes. To get the old behaviour with immediate contexts, just pass a NULL context.
2023-02-10 18:08:13 -05:00
chyyran 2b250db353 capi: make _opt* structs more forwards compatible
yay another abi break 🙃
hopefully for the last time
2023-02-09 23:44:39 -05:00
chyyran 2d6a967c7f d3d11: generate mipmaps for inputs if requested 2023-01-29 19:04:34 -05:00
chyyran b5ce7ce30d tests: add imgui example for dx11
Currently only dx11 is available for testing but plan is to verify correctness of bindings with others.
2023-01-28 03:07:56 -05:00