Commit Graph
110 Commits
Author SHA1 Message Date
vrimar ae6bc904d5 WGPU: Fixed 32-bit build, viewFormatCount narrowing since #3959. (#3995) 2026-09-23 21:17:38 -07:00
Branimir Karadžić 81d81fba72 GL: Fixed timer query stall without a swap. WGPU: Reset read-only depth/stencil for swap chains. Fixed occlusion query result on handle reuse. (#3993) 2026-09-19 21:59:40 +00:00
Branimir Karadžić 42f028887c D3D11: Skipped MSAA resolve of integer formats. WGPU: Fixed uninitialized frame buffer size, and read-only depth/stencil pipeline state. (#3991) 2026-09-19 05:42:34 +00:00
Branimir Karadžić 1fb47dca7a VK/WGPU: drain a view's blits and uniform cache before its dispatches. VK: block on the swapchain image of window framebuffers on a headless device (#3989) 2026-09-18 13:41:57 +00: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ć b380f0ee73 Fixed explicit swap chains in a headless init: MTL screenshots, MTL/VK/WGPU window list compaction, MTL/WGPU user depth pipeline format. (#3984) 2026-09-17 02:26:46 +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ć 2e51cb6aa9 Added depth control, sample mask, and read-only depth/stencil attachments. (#3971) 2026-09-11 05:22:53 +00:00
Branimir Karadžić 9b636df330 GL: Don't toggle primitive restart on WebGL. Fixes #3967. (#3969) 2026-09-07 20:58:25 +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
Бранимир Караџић 1ac4eb3cdd WebGPU: Fixed compressed texture update bounds, and pipeline cache key. 2026-09-03 05:26:33 +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ć 732724bf75 VK, WebGPU: Fixed frame buffer resize on headless reset. (#3931) 2026-08-26 06:40:45 +00:00
Branimir Karadžić a014198164 WebGPU: Fixed mipgen for BGRA8 textures. (#3929) 2026-08-25 18:31:48 -07:00
Branimir Karadžić d611ecef3f Fixed WebGPU sRGB, MSAA, depth-stencil readback, and BGRA8 storage. (#3926) 2026-08-25 05:57:56 +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ć dd961560d5 Raw buffers (#3920)
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.

* Rebuild internal embedded shaders.

* Updated bindings.

* Rebuild embedded shaders.

* Rebuilt shaders.

* Updated bindings.
2026-08-22 20:03:12 -07:00
Branimir Karadžić 1eb770679f WebGPU: Fixed timer query. Fixes #3902. (#3903) 2026-08-18 00:07:52 +00:00
Branimir Karadžić d918bd0be7 Fixed 08-update texture update size, WebGPU cube slice count, Vulkan init order. (#3901) 2026-08-17 04:15:05 +00:00
Branimir Karadžić 35a98dd645 Grow per-frame storage on-demand instead statically allocating for the maximum. (#3900) 2026-08-16 17:26:25 -07:00
Branimir Karadžić b12eef18b5 Fixed clear quad not writing stencil. (#3887) 2026-08-13 18:04:54 -07:00
Branimir Karadžić 56ef37bcf8 Implemented BGFX_SAMPLER_SAMPLE_STENCIL in all backends. (#3884) 2026-08-13 15:38:58 -07:00
Branimir Karadžić 3d3b08778e Support depth-1 volume textures. (#3883) 2026-08-12 18:24:25 -07:00
Branimir Karadžić e75ab293cc Metal/WebGPU: Clip view scissor and render area to the framebuffer. Fixes #3864. (#3866) 2026-08-02 02:51:44 +00:00
Branimir Karadžić 8377801ee0 Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. (#3857) 2026-07-29 21:25:53 +00:00
Branimir Karadžić 1862bf0480 Guard against undersized texture updates. Fix compute image views. (#3856) 2026-07-29 14:10:57 +00:00
Branimir Karadžić ce18bdb6c6 Allow negative x/y in bgfx::setViewRect. (#3848) 2026-07-25 15:04:06 +00:00
Branimir Karadžić 435627021d Added clear texture API. (#3836) 2026-07-16 05:41:58 +00:00
Branimir Karadžić a4555482f9 Increased number of texcoord attributes, increased instance data, added int32/uint32 vertex attributes. (#3832) 2026-07-14 05:15:13 +00:00
Branimir Karadžić 6eb09a4a9b Added setImage with array layer range for compute images. (#3829) 2026-07-13 04:19:07 +00:00
Branimir Karadžić 1fae5a8b06 D3D11/D3D12/VK/WebGPU: Fixed blend-state, and blend factor for MRT. (#3825) 2026-07-13 01:43:24 +00:00
Branimir Karadžić 7b38346442 Added stencil write mask. (#3821) 2026-07-11 23:46:38 -07:00
Branimir Karadžić 80bee4959c Added example name to title bar. Added WebGPU vendor info. (#3820) 2026-07-12 04:07:10 +00:00
Branimir Karadžić 4e88edd7de WebGPU/Metal: Fix sparse slot vertex stream. (#3814) 2026-07-06 23:02:39 -07:00
Branimir Karadžić a62a6f008b Fixed indexed draw indirect with dynamic/transient index buffers. (#3813) 2026-07-06 21:45:53 +00:00
Branimir Karadžić 3c7aef042a WebGPU: Improve state tracking. (#3797) 2026-06-28 09:38:40 -07:00
Branimir Karadžić ecc78ad376 WebGPU: Emscripten fixed PR #3780. (#3795) 2026-06-28 00:39:55 -07:00
Branimir Karadžić b3a15e8e8e WebGPU: Dedup bind group per frame. (#3791) 2026-06-28 05:08:54 +00:00
Branimir Karadžić 07fcf2a577 Revert "WebGPU: enable emscripten support (#3780)" (#3782)
This reverts commit 6777023bfe.
2026-06-25 05:14:34 +00:00
trollyjolly 6777023bfe WebGPU: enable emscripten support (#3780) 2026-06-25 05:12:27 +00:00
Branimir Karadžić 2ed5f31f6a WebGPU: Updated Tint and WebGPU header. (#3777) 2026-06-22 05:55:04 +00:00
Branimir Karadžić 1e8e82b42e WebGPU: Fixed texture conversion pitch, and mip-gen array views. (#3776) 2026-06-22 04:05:14 +00:00
Branimir Karadžić ffcbac4ac0 D3D11/WebGPU: Fixed vertex pulling draw count. Guard WebGPU getPipeline stream loop. (#3775) 2026-06-22 03:02:03 +00:00