Commit Graph
10745 Commits
Author SHA1 Message Date
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
AliandErich Gubler 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
Genna Wingert 2ac1faef05 feat(core): Add ComputePass::transition_resources (#9371) 2026-04-09 09:42:55 -04:00
Inner DaemonsandConnor Fitzgerald 8bc9fc1795 Add GLSL passthrough (#9064)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 22:03:34 -04:00
countgitmickandYour Name 9d31bca996 feat(vulkan): add DMA-buf texture import on Linux (#9366)
Co-authored-by: Your Name <you@example.com>
2026-04-08 22:02:37 -04:00
Neel TamtamandConnor Fitzgerald f0201c9cc3 Fix: Polyfill atomic load/store correctly in GLSL/HLSL (#9242) (#9387)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-09 01:49:19 +00:00
countgitmickandYour Name e25b34fbe2 refactor(vulkan): extract tiling parameter from create_image_without_memory (#9365)
Co-authored-by: Your Name <you@example.com>
2026-04-08 21:27:54 -04:00
atlv ed4a28aef0 Make get_mapped_range return a Result rather than panicking (#9281) 2026-04-08 21:22:00 -04:00
Vecvec daced7acb9 Enable ray tracing example tests on metal (#9324) 2026-04-08 20:43:57 -04:00
Inner Daemons 948b1a6c66 Remove unnecessary object data threadgroup barriers in MSL writer (#9396) 2026-04-08 16:05:17 -07:00