37 Commits

Author SHA1 Message Date
mafiesto4 5dac5d3f2d Refactor GPU Debug Layers to be manually activated with -gpudebug
Debug builds don't activate it by default. Can be sued in both Debug and Development builds.
`GPU_ENABLE_DIAGNOSTICS` renamed to `GPU_ENABLE_DEBUG_LAYER`
`GPU_ENABLE_WINDOW_SRV` renamed to `GPU_ENABLE_WINDOW_SRV`
`GPU_USE_SHADERS_DEBUG_LAYER` renamed to `GPU_ENABLE_SHADERS_DEBUG_LAYER`
2026-05-19 15:26:01 +02:00
mafiesto4 0c1af2f243 Fix various rendering elements with Reversed Z enabled and simplify code
#2684
2026-05-11 18:26:21 +02:00
mafiesto4 1079791bed Add rendering stats for Data Upload 2026-05-07 00:02:33 +02:00
mafiesto4 cf319876e6 Fix build error on missing Emscripten SDK to be more usable 2026-04-18 19:55:37 +02:00
mafiesto4 d0ac31c02b Fix incorrect shader sample support for WebGPU texture formats from Tier1 that are only unfilterable-float for shader load-only 2026-04-17 17:43:03 +02:00
mafiesto4 095cfcdde2 Fix WebGPU crash when creating buffer with init data that is not aligned to 4 bytes 2026-04-09 14:47:21 +02:00
mafiesto4 7193f8dcab Fix empty bind group to not be static due to WebGPU issues 2026-04-03 17:07:14 +02:00
mafiesto4 0e161c6ec1 Fixes for Web 2026-04-03 16:45:16 +02:00
mafiesto4 45feda8f07 Fix Firefox and Safari bug with missing bind group layout 2026-03-24 16:59:49 +01:00
mafiesto4 88fe9ba186 Fix WebGPU crashes when resizing canvas 2026-03-23 18:37:58 +01:00
mafiesto4 b756c16018 Add renaming underlying GPU resource (eg. for pooled render targets) 2026-03-23 18:37:18 +01:00
mafiesto4 a5ec8565e4 Refactor WebGPU ASYNCIFY to use JSPI
Smaller build size and better performance. Also, link time goes down a lot
2026-03-18 23:08:39 +01:00
mafiesto4 ed3a827b5f Implement GPUDeviceWebGPU::WaitForGPU 2026-03-16 16:41:39 +01:00
mafiesto4 427f4647fc Fix various issues in WebGPU backend 2026-03-16 16:39:18 +01:00
mafiesto4 b408a8ce21 Fix WebGPU in non-Debug builds 2026-03-06 14:45:00 +01:00
mafiesto4 94789712e8 Add basis_universal support for textures on Web
Add implementation for loading interchange texture formats with multiple runtime formats support
2026-03-06 11:09:29 +01:00
mafiesto4 414c650550 Fixes for WebGPU 2026-03-04 22:00:50 +01:00
mafiesto4 377d5c00aa Add Compute shaders support to WebGPU 2026-03-04 21:27:42 +01:00
mafiesto4 aff8090adb Add LZ4 compression to WebGPU shaders 2026-03-04 09:15:53 +01:00
mafiesto4 ad3c2be510 Add timer and occlusion queries support to WebGPU 2026-03-03 21:35:42 +01:00
mafiesto4 5641bf63e8 Add validation of adapter limits for WebGPU 2026-03-03 16:03:14 +01:00
mafiesto4 6814a43418 Various changes for WebGPU and hardware instancing support 2026-03-03 14:51:15 +01:00
mafiesto4 c4f4983f6d Add WebGPU bind groups caching 2026-03-03 09:47:59 +01:00
mafiesto4 23ebb0e754 Fix particles on WebGPU to respect format support flags properly 2026-03-02 23:06:01 +01:00
mafiesto4 b191d3918e Fix rendering various visuals on WebGPU 2026-03-02 20:36:33 +01:00
mafiesto4 b36c757753 Fix WebGPU error when sampling depth texture in shader which requires explicit UnfilterableFloat sampler type 2026-02-26 16:59:25 +01:00
mafiesto4 63f19aa4d6 Fix minor issues 2026-02-26 15:52:41 +01:00
mafiesto4 8728d88dde Fix vertex layouts binding to match vertex shader inputs on WebGPU 2026-02-26 15:50:36 +01:00
mafiesto4 f6888b099e Add cubemap and texture arrays copy/update in WebGPU 2026-02-26 13:27:35 +01:00
mafiesto4 239ceb75a9 Fix binding various resources to shaders in WebGPU 2026-02-26 12:23:07 +01:00
mafiesto4 ac4526744a Add GPU profile events to WebGPU and use the by default in non-Release builds 2026-02-26 11:08:12 +01:00
mafiesto4 d2a8ac54cf Fix depth stencil view format when binding to shader to use depth-only aspect but still render to both 2026-02-26 11:07:19 +01:00
mafiesto4 b535791c66 Implement bind groups in WebGPU to provide resources to shaders 2026-02-25 18:22:55 +01:00
mafiesto4 9d95bbaa8c Add GPU data upload allocator with shared page pool 2026-02-24 23:18:07 +01:00
mafiesto4 195d5b1aa2 Fixes and missing changes 2026-02-24 17:59:42 +01:00
mafiesto4 9be8589437 Add shader compiler for WebGPU
Use existing Vulkan compiler to generate SPIR-V and convert it into WGSL with tint compiler
https://github.com/google/dawn/releases/tag/v20260219.200501
2026-02-24 17:55:26 +01:00
mafiesto4 6081ed35bc Add initial base implementation for WebGPU rendering backend 2026-02-23 11:49:45 +01:00