Commit Graph
123 Commits
Author SHA1 Message Date
Branimir Karadžić d8d6acd94b Cleanup. (#4069) 2026-10-20 05:40:40 +00: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ć ec6e934a2d Sampled MSAA depth reads sample 0 through ordinary samplers. (#4046) 2026-10-12 16:49:19 -07:00
Branimir Karadžić 8f451e9102 VK: Fall back to supported surface format and composite alpha. Fixes #4032. (#4035) 2026-10-08 21:47:03 -07:00
Branimir Karadžić 4f2bad0c9d GL/Metal/WebGPU: Fixed blend factor table, and blend constant caching across frames and render passes. (#4026) 2026-10-05 03:30:36 +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ć 710cb7de83 Fixed integer render target clears and viewport depth range. (#4020) 2026-10-03 18:10:49 -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ć 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
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