Commit Graph
600 Commits
Author SHA1 Message Date
Branimir Karadžić e7c58be8b6 Metal fixes, and instance data fallback on all renderers. (#4103) 2026-10-28 21:08:38 -07:00
Branimir Karadžić 66f6e9780d D3D12, GL: Fixed write-only color render targets. (#4099) 2026-10-27 19:15:20 +00:00
Branimir Karadžić 695330f321 D3D12: Fix MSAA array texture resolve source subresource. (#4098) 2026-10-27 18:15:01 +00:00
Branimir Karadžić fe9bbdec66 Fixed transient buffer availability wrap, D3D12 releases resources sooner. Closes #4088. (#4093) 2026-10-25 19:38:42 -07:00
Branimir Karadžić a86ec2b31d D3D11, D3D12, VK, WebGPU: Reduced submit and upload overhead. (#4092) 2026-10-25 18:55:07 -07:00
Branimir Karadžić 7f461b244b Cleanup. (#4080) 2026-10-22 06:42:03 +00:00
Branimir Karadžić 7afee0f9af Added MSAA sample counts to caps trace. (#4073) 2026-10-20 21:24:39 -07:00
Branimir Karadžić 8b8050788c Added per-format MSAA sample count caps, and clamp MSAA requests per format. Closes #1396. (#4072) 2026-10-20 20:35:15 -07:00
Branimir Karadžić d8d6acd94b Cleanup. (#4069) 2026-10-20 05:40:40 +00:00
Branimir Karadžić 4410cdfce9 D3D12: Fixed occlusion query returning 1 instead of sample count. (#4064) 2026-10-17 22:49:08 +00:00
Branimir Karadžić fe3f08fb0e Added Vulkan HDR10, fixed D3D11/D3D12 HDR10 color space, and ImGui colors in HDR10. (#4061) 2026-10-17 09:57:27 -07:00
Branimir Karadžić a7c0e5b426 Main window rebinding: every renderer follows a new nwh, entry on every platform (#4056) 2026-10-16 10:35:20 -07:00
Branimir Karadžić fd541f0586 Fixed 3D texture conversion of all slices, and debug asserts. (#4054) 2026-10-14 22:29:31 -07:00
Branimir Karadžić 9722c5777c D3D1x: Fixes multisampled depth. (#4049) 2026-10-13 07:50:06 -07:00
Branimir Karadžić ec6e934a2d Sampled MSAA depth reads sample 0 through ordinary samplers. (#4046) 2026-10-12 16:49:19 -07:00
Branimir Karadžić 229c44f001 Fixed crashes creating, naming and updating resources after device removal. (#4043) 2026-10-12 09:20:55 -07:00
Branimir Karadžić 24b72d814f Fixed video decode color matrix, reported caps, and VK reference pictures. (#4040) 2026-10-11 21:44:56 -07:00
Julian Xhokaxhiu 61dda020c6 Fix various D3D12 video decode state issues (#4038)
* Fix D3D12 video decode reference resource states

Transition both NV12 planes of active DPB references to VIDEO_DECODE_READ before DecodeFrame and restore their states afterward.
Exclude unused reference slots while preserving DXVA picture indices and use the actual DPB slot count.

* Fix D3D12 scratch descriptor heap lifetime during growth

Defer replaced heap destruction until the command-list fence completes.
Allow the deferred-release queue to retain IUnknown objects so descriptor
heaps can use the same retirement mechanism as resources.

Fixes OBJECT_DELETED_WHILE_STILL_IN_USE (#921) when draw-load growth
replaces a heap referenced by pending native video conversion commands.
2026-10-11 20:19:48 -07:00
Matthew 06b2c3a4b3 NVIDIA Reflex integration. (#4029)
* Integrated NVIDIA Reflex.

* Generated bindings and replaced bools with enum.

* Merged upstream master.

* Addressed review feedback.
2026-10-08 18:44:43 -07:00
Branimir Karadžić e13b87cdd9 Sized handle allocators, timer query rings and free handle queues by use. (#4025) 2026-10-05 02:56:08 +00:00
Branimir Karadžić 01e69a6307 Allocated texture, shader and dynamic buffer tables in blocks as handles are used. (#4024) 2026-10-04 15:45:00 +00:00
Branimir Karadžić aa10f3accb Added BGFX_CAPS_SHADER_F16. (#4023) 2026-10-03 23:27:25 -07:00
Branimir Karadžić 500f916540 Relaxed view maximum, made view storage grow with use, up-to 4096 view ids. (#4014) 2026-10-02 16:00:20 -07:00
Branimir Karadžić 7346c3e731 Reduced per-view memory usage. (#4010) 2026-10-01 06:08:47 +00:00
Branimir Karadžić 997b0cfe36 Fixed MRT clear with UINT8_MAX palette index clearing the attachment on clear quad. (#4006) 2026-09-30 12:06:59 -07:00
Branimir Karadžić b743ef8f7e D3D1x: Report device loss from a failed readback Map. (#4004) 2026-09-29 17:08:20 +00:00
Branimir Karadžić 968e4f8dd9 Added explicit texture mip count, and per-binding sampler LOD clamp. (#4002) 2026-09-28 22:00:14 -07:00
Branimir Karadžić ce3bee65f2 D3D1x/WebGPU: Survive device loss in the readback paths. (#4001) 2026-09-28 19:56:23 -07:00
Branimir Karadžić fd070e679f D3D12: Fixed depth-stencil plane states. (#3990) 2026-09-18 19:16:27 -07:00
vrimar 3ca5a63428 Recreate the main swap chain when only its flags change on reset. (#3986)
Context::reset moves the per-surface flags (MSAA, sRGB, HiDPI) off the reset flags onto SwapChain::flags, but every backend's updateResolution gate still compared only the stripped reset flags, so a runtime MSAA change was dropped.
(cherry picked from commit 1ffb270f91a63403c069fcf652bd2411d962b437)
2026-09-18 01:05:41 +00:00
Branimir Karadžić 5777fe1f66 D3D11/12/WGPU: Retried refused swap chain resize. D3D12/MTL/VK/WGPU: Fatal on failed pipeline creation. (#3985) 2026-09-17 14:14:56 +00:00
Branimir Karadžić ee7f9f66e2 Fixed EGL headless bootstrap. D3D12: fixed explicit swap chain MSAA state. GL: Cleared and blitted texture slices. (#3981) 2026-09-15 05:56:24 +00:00
Branimir Karadžić bd85653546 Added cube array samplers. (#3979) 2026-09-14 00:54:40 +00:00
Branimir Karadžić 8ee74e8260 Optimized encoder bind state, and uniform updates. (#3976) 2026-09-12 22:43:02 +00:00
Branimir Karadžić 7e8bb589f1 Added setUniformRef, BGFX_TEXTURE_SRGB_MUTABLE, and byte-range compute buffer bindings. (#3974) 2026-09-12 06:49:53 +00:00
Branimir Karadžić 5e4943cd0e D3D12: Fixed swap chain resource release during reset and shutdown. (#3973) 2026-09-12 05:53:05 +00:00
Branimir Karadžić 2e51cb6aa9 Added depth control, sample mask, and read-only depth/stencil attachments. (#3971) 2026-09-11 05:22:53 +00:00
Branimir Karadžić 7293e6f75b D3D11, D3D12: swap chain, clear and subresource state fixes. GL: debug group must be pushed and popped on the same context. (#3965) 2026-09-06 00:49:55 +00:00
Branimir Karadžić 8c8b6b5692 Raised renderer baseline, and removed caps every backend now supports. (#3962) 2026-09-05 05:24:56 +00:00
Branimir Karadžić 01dbbbc08c Added swap-chain. (#3959) 2026-09-05 01:44:33 +00:00
Бранимир Караџић 49d0c38c0c D3D12: Fixed 3D UAV mip depth range. 2026-09-03 03:33:25 +00:00
Бранимир Караџић 67edbbd72a D3D12: Device removed extended data. 2026-09-02 05:51:25 +00:00
Бранимир Караџић 340ef142c3 Enable primitive restart for strip topologies. 2026-09-01 23:47:00 +00:00
Branimir Karadžić c949b911fc Reduce default footprint: optional debug text, drop unused shader copies. (#3938) 2026-08-29 22:32:32 -07:00
Branimir Karadžić f73862c579 D3D12: Fixed texture readback resource state. Disabled refcount asserts for external device. (#3935) 2026-08-27 19:27:48 +00:00
Branimir Karadžić 7f0b9c930b Fixed amalgamated build. (#3933) 2026-08-27 16:08:40 +00:00
Branimir Karadžić 1dfc38978d D3D12: Fixed scratch descriptor heap sizing. Added present pacing for window frame buffers. (#3930) 2026-08-26 06:23:28 +00:00
Branimir Karadžić 0432b5d3c5 Reworked blit to use regions, added buffer blit and read buffer. (#3924) 2026-08-25 03:31:09 +00:00
Branimir Karadžić f564ae8bf9 Fixed device lost handling. (#3923) 2026-08-24 22:24:26 +00:00
Branimir Karadžić 780f7bf00a Fix MSAA blit into a multisampled destination and stale MSAA resolve. (#3921) 2026-08-23 04:44:43 +00:00