10703 Commits

Author SHA1 Message Date
atlv
878bb1c56a Improve PR template checklist (#9429) 2026-04-16 17:07:46 +00:00
Andy Leiserson
61e76ee746 fix(core): Use more checked arithmetic, part 2b (#9425) 2026-04-16 14:27:01 +02:00
Andreas Reich
006e346a94 Don't fail metal create_fence if no shared event could be created (#9415)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-16 01:04:16 +00:00
Andy Leiserson
e3098b3933 Use llvm-cov show-env for cts_runner integration tests (#9401) 2026-04-15 20:46:35 -04:00
Ali
c040694c94 fixed mat2xc alignment in spv (#9369)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-15 20:52:49 +00:00
Tom Schuster
d96a294bea WebGPU: Populate more AdapterInfo fields (#9058) 2026-04-15 16:29:52 -04:00
Vecvec
f6d9a1dbaa [msl-out] Switch to intersection queries (#9304) 2026-04-15 16:01:28 -04:00
Teodor Tanasoaia
cc44c1f616 [d3d12] always expose Features::FLOAT32_BLENDABLE (#9431) 2026-04-15 11:46:36 -04:00
Kevin Reid
0b4bdaf9ce Prevent deserializing or defaulting LoadOp::DontCare, for soundness. (#9428) 2026-04-14 20:37:12 -04:00
teoxoy
c9c7359f5b deduplicate vertex buffer validation in is_ready 2026-04-14 17:20:15 -07:00
teoxoy
a1b646243d converge on a single VertexState impl for both render passes and
render bundles

- render passes now defer setting vertex buffers to the start of a draw
  command (same as bundles)
- render bundles now cache vertex/instance limit calculations when
  setting the pipeline or when setting a vertex buffer (same as passes)
2026-04-14 17:20:15 -07:00
teoxoy
a9a641c82a remove PipelineState from bundle 2026-04-14 17:20:15 -07:00
teoxoy
35c68be866 add changelog entry 2026-04-14 17:20:15 -07:00
teoxoy
67b4f3c7e5 [wgpu] make vertex buffer slots optional 2026-04-14 17:20:15 -07:00
teoxoy
35fd939877 enable CTS tests 2026-04-14 17:20:15 -07:00
teoxoy
4bbed4074c add max_bind_groups_plus_vertex_buffers limit 2026-04-14 17:20:15 -07:00
teoxoy
2060683c29 make vertex buffer slots optional 2026-04-14 17:20:15 -07:00
Ivan Mironov
85a85d9092 Ignore maxFragmentCombinedOutputResources for Mesa's Honeykrisp driver (#9393) 2026-04-14 13:26:55 -04:00
atlv
8dce18fc56 Rename PerVertex to WgpuPerVertex for consistency (#9416) 2026-04-14 12:14:54 -04:00
atlas
981d3c89c1 docs: Add changelog entries for Queue::present rework 2026-04-14 10:51:03 +02:00
atlas
9ee8282147 test: Add bug repro for presenting unrendered surface texture (#6748) 2026-04-14 10:51:03 +02:00
atlas
20f5c7430e fix(core): use wait_for_idle instead of timeout loop to wait for present in Queue drop 2026-04-14 10:51:03 +02:00
atlas
4c61d61361 fix(core): Keep surface texture alive through present preparation 2026-04-14 10:51:03 +02:00
atlas
2e1cc4b1a6 feat: Move present from SurfaceTexture to Queue in public API 2026-04-14 10:51:03 +02:00
atlas
12ab856f6c feat(core): Move present from Surface to Queue 2026-04-14 10:51:03 +02:00
atlas
9a4e51d12a fix: Use non-fatal error handling for Surface::discard_texture 2026-04-14 10:51:03 +02:00
atlas
6314157c92 fix(core): Add NothingToPresent error for present/discard without acquired texture 2026-04-14 10:51:03 +02:00
atlas
95b06abb94 doc(hal): Add safety invariants to Queue::present 2026-04-14 10:51:03 +02:00
atlas
d672184e54 feat(hal): Add Queue::wait_for_idle 2026-04-14 10:51:03 +02:00
atlas
c662f2a595 refactor(core): Factor out submit_pending_writes from Queue::submit 2026-04-14 10:51:03 +02:00
Jim Blandy
fccadd6f07 [naga wgsl-in] Restore accidentally removed recursion depth check. (#9424) 2026-04-14 09:22:29 +02:00
Tom Schuster
7143bbe882 Re-vendor WebGPU (#9090) 2026-04-12 20:00:46 +02:00
Erich Gubler
10ce22b2ea refactor!: subvert-rename dispatch* to dispatchWorkGroups* (#9362) 2026-04-11 20:58:22 +02:00
teoxoy
9d5311a95f [metal] lower max_inter_stage_shader_variables to 30 on non-Apple GPUs 2026-04-11 00:55:54 -04:00
teoxoy
8c40370eae [d3d12] lower max_vertex_attributes to 30
See https://github.com/gpuweb/gpuweb/pull/5604#discussion_r2967504832
2026-04-11 00:55:54 -04:00
Ali
51faa6fd87 Implements #8875: Using binding_array should require an enable extension (#9298)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-04-11 04:52:44 +00:00
atlv
05a11f4cc8 Use path dep in bug repro (#9413) 2026-04-10 22:17:00 -06:00
Teodor Tanasoaia
f7b650d55c [wgpu-core] fix potential crash when device is not supplied to validate_render_bundle_encoder_descriptor (#9407) 2026-04-10 19:46:34 +00:00
Andy Leiserson
fbaa92ddcd ci: Waive cargo deny warning for redox_syscall (#9409) 2026-04-10 19:17:42 +00:00
Neel Tamtam
7159dfcc14 fix: restore changelog entry and remove redundant atomic load guard (#9400) 2026-04-10 14:17:15 -04:00
Tem3dy
924c62334d Add BlendState::ADDITIVE for additive blending (#9399) 2026-04-10 13:11:44 -04:00
atlas
8a58636037 doc: changelog entry for swapchain acquire timeout fix 2026-04-10 17:11:07 +02:00
atlas
a6a70bbbac doc(hal): fix timeout description 2026-04-10 17:11:07 +02:00
atlas
02e00a1f4d fix(hal/vulkan): propagate wait_for_fence timeout 2026-04-10 17:11:07 +02:00
Andy Leiserson
2640d038e2 fix(core): Allow calling RenderBundleEncoder::new without a device (#9404) 2026-04-10 12:57:11 +02:00
Andy Leiserson
c820c04677 ci: Save caches only on trunk (#9403) 2026-04-09 21:59:23 -04:00
atlv
e6e5f5288c Bring immediate in line with webgpu spec (#9280) 2026-04-09 22:36:02 +00:00
Andy Leiserson
acc5855e1f fix(core): Use more checked arithmetic, part 2 (#9363) 2026-04-09 15:21:20 -06:00
Jim Blandy
bf8330c20b Make DRM support optional. (#9390) 2026-04-09 13:11:04 -07:00
Ali
bde709122f add Metal support for MULTISAMPLE_ARRAY (#9300) 2026-04-09 09:44:45 -04:00