Commit Graph
11312 Commits
Author SHA1 Message Date
Erich Gubler f0333904d0 test: add regression cvg. for #9316 (#10261) 2026-09-12 20:56:26 +02:00
Marcel StruckandAndreas Reich 3b3506ea31 Fix issue with surface drop panic (#10230)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-09-12 18:55:21 +00:00
renovate[bot]andAndy Leiserson d6e5619bb7 Update cts digest to b60456c (#10206)
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-09-11 17:16:01 +00:00
Andy Leiserson 10fe6409d4 Partial snorm10-10-10-2 vertex format support (#10226) 2026-09-11 10:53:31 -04:00
Sam 91fe2f9593 Implement unconfigure in wgc and use it for configure (#10296)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-11 13:46:04 +02:00
Raph Levien 7a2c88d314 [vulkan] Fix interacting robust image access feature detection (#10291)
When the VK_EXT_robustness2 extension is present but reports robust image
access 2 not supported, fall back to checking VK_EXT_image_robustness for
robust image access 1 support instead of assuming no support for either
image robustness extension.
2026-09-10 17:26:38 -07:00
sagudev 68b407883f Generalize BufferDescriptor and use BufferUsagesWebGPU in remote
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev a26e342d9b Split BufferUsages into WGPU and WebGPU bits using bitflags_array
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev fa5dde7603 Update bitflags_array! generated docs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 2b3973be4a Extract bitflags_array from mod features
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev fd432e4f94 Make name_bits struct fully configurable in bitflags_array macro
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 560673e6b2 Make name attr optional in bitflags_array
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
Matt Hargett 252b1dc3dd [metal] report an error instead of panicking on texture view creation (#10145) 2026-09-10 16:07:07 -07:00
Andy Leiserson 107e2827f7 chore: Fix CRLF line endings (#10299) 2026-09-10 05:56:36 -04:00
sagudev 726f0abb48 [deno] Use GPUTexture::* from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 0e7fb34d97 [deno] Use GPUQuerySet::{count, type} from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 3e775e7a3b [deno] Use GPUBuffer::size from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 040404c80b [deno] Use label from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
Andy Leiserson aed6771a20 fix(naga): Fix compilation error when glsl-in enabled in isolation (#10297) 2026-09-09 16:00:02 +00:00
Andy Leiserson c2b227eeef docs(CHANGELOG): Add a missed entry and fix typo (#10284) 2026-09-09 15:46:39 +00:00
Andy Leiserson ab50d50ac6 test: Reduce the texture height in clear_texture tests (#10285) 2026-09-09 17:37:23 +02:00
Andy Leiserson 1249bf8929 test(cts): List updates (#10283) 2026-09-09 11:35:09 -04:00
Erich Gubler 59898327ff Upgrade CI to Prettier 3.9.6 (#10275) 2026-09-09 11:33:04 -04:00
valadaptive e43fe641dd fix(gles): blit to the default back buffer (#10268) 2026-09-09 11:30:39 -04:00
Andy Leiserson f3982866be refactor(core): Replace StagingBuffer::write with write_exact 2026-09-08 15:07:15 -07:00
Andy Leiserson 377370d52b docs(hal): Details of buffer and binding sizes 2026-09-08 15:07:15 -07:00
Andy Leiserson d2ad891087 refactor(metal): Allow zeros in vertex_buffer_size_map 2026-09-08 15:07:15 -07:00
Andy Leiserson fb93139671 feat: Support zero-size vertex and index buffer bindings
Fixes #3170
2026-09-08 15:07:15 -07:00
Andy Leiserson a792cbe99b test: Exercise zero-size vertex and index bindings 2026-09-08 15:07:15 -07:00
Andy Leiserson ea0afc6216 refactor: Parameterize type of hal::BufferBinding::size; resolve sizes in core
For storage and uniform buffer bindings, the size is a `wgt::BufferSize`
(`NonZeroU64`). For vertex and index buffer bindings, the size is a 
`wgt::BufferAddress` (regular `u64`).

Temporarily breaks some zero-size vertex/index binding cases that worked
before (end of buffer); will be resolved in an immediate follow-up
commit that fully implements zero-size vertex/index binding support.
2026-09-08 15:07:15 -07:00
Erich Gubler 4f4dc63098 feat(types): mark CompilationMessageType as repr(u8) (#10281) 2026-09-08 20:07:18 +00:00
Jinlei Li aa468606d1 fix(metal): Disable framebuffer-only for alternate surface views (#10280) 2026-09-08 16:01:29 -04:00
Erich Gubler 760862747b feat(types): add serde integration to Compilation* APIs (#10279) 2026-09-08 15:17:52 -04:00
Erich Gubler 9920c99c1d feat(core): add Limits::max_storage_{buffers,textures}_in_{vertex,fragment}_stage 2026-09-07 07:02:37 -04:00
Erich Gubler c044c86bc2 refactor: hoist max_storage_buffers_per_shader_stage above textures counterpart
This enforces spec. ordering in this one spot that doesn't follow it,
so it will make subsequent commits easier to follow.
2026-09-07 07:02:37 -04:00
Erich Gubler 19b095686d refactor(metal): destructure and shorthand assignment of max_{sampled,storage}_textures_per_shader_stage 2026-09-07 07:02:37 -04:00
Emil Ernerfeldt 9fa0644916 [wgsl-in] Better WGSL error reporting (#9973) 2026-09-05 19:50:59 +02:00
Andy Leiserson c23a8a029e test: CTS list updates; disable slow test (#10248) 2026-09-05 08:52:41 -07:00
Alex EggerandAndreas Reich 5c1748559d fix(hal/gles): copy every depth slice in copy_texture_to_texture (#10004)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-09-05 09:45:28 +00:00
JMS55 dd5c40b474 Support raytracing barycentrics for spirv, and fix spirv 1.4 handling for mesh and raytracing shaders (#10193) 2026-09-04 20:58:29 +00:00
Andy Leiserson 92de1a4295 test: Expectation updates for Vulkan SDK 1.4.357 (#10238) 2026-09-04 16:17:11 -04:00
AdrianEddy 9d0bc6801f fix(core): hold map_state across the HAL map in Buffer::map (#9959) 2026-09-04 09:35:55 -07:00
Sam c268540bee [core] public *_pipeline_or_error methods return invalid pipeline on lost device (#10260) 2026-09-04 12:53:20 +00:00
sagudevandLuo Zhiaho 8630922f47 Don't include detailed shader compilation info in validation error
Co-authored-by: Luo Zhiaho <luo_zhihao@outlook.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
sagudev bdea80afac Move error handling of create_shader_module into wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
sagudev 31f1b0cd81 Move compilation_info into wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
sagudev 45dd6c7c9c Move compilation info types into wgt
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
Lucas Meurer 49afd3e380 Fix crash on older vulkan drivers when poolSizeCount == 0 (#10124) 2026-09-03 21:17:23 +02:00
Andy Leiserson b56be0cf55 fix(core): Drop internals of Device in the correct order (#10243) 2026-09-03 11:11:30 -07:00
dependabot[bot] d8339a579a chore(deps): bump qs from 6.15.2 to 6.16.0 in /tests/wasm/runner (#10252)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-03 11:37:08 +00:00