Commit Graph

  • b54fb72d4a chore: un-regress unused_qualifications lint in naga::front::spv (#6297) Erich Gubler 2024-09-20 03:29:05 -04:00
  • dfc384a7fd Stop Vulkan generating validation error in build acceleration structures (#6282) Vecvec 2024-09-19 09:02:25 +12:00
  • 0d339fc9f1 chore: suppress unused_qualifications for wgpu_core::id const. assertions (#6295) Erich Gubler 2024-09-18 15:48:04 -04:00
  • f942ceef9b docs(msl-out): note that Dawn also avoids loop UB like we do Erich Gubler 2024-09-18 10:54:45 -04:00
  • 3fda684eb9 [naga msl-out] Defeat the MSL compiler's infinite loop analysis. Jim Blandy 2024-09-16 12:56:58 -07:00
  • c3ab12aa29 build(deps): bump the patch-updates group across 1 directory with 11 updates (#6293) dependabot[bot] 2024-09-18 10:34:12 -04:00
  • ab9a78c64b Update parking_lot dependency (#6287) mahkoh 2024-09-18 15:53:50 +02:00
  • fc85e4f970 spv-in parse more atomic ops (#5824) Schell Carl Scivally 2024-09-18 17:39:36 +12:00
  • 434f197410 Document default pipeline layout behavior. (#6275) Ben Reeves 2024-09-15 16:08:13 -05:00
  • 2fac5e983e Properly handle the case where Navigator.gpu is undefined and WebGPU is the only compiled backend (#6197) Ben Reeves 2024-09-15 03:07:40 -05:00
  • d79ebc4db3 Update some docs containing OpenGL or GLSL references (#6271) Johann Muszynski 2024-09-15 10:07:39 +03:00
  • a21c0e2696 Clarify cfg(send_sync) gating in this backend/webgpu comment. (#6274) Ben Reeves 2024-09-14 23:44:17 -05:00
  • eb18854b46 spv-out: configure source language in debug info Dzmitry Malyshau 2024-09-11 23:32:20 -07:00
  • c8beade187 remove backend from ID (#6263) Teodor Tanasoaia 2024-09-13 17:30:38 +02:00
  • ff52b86331 [d3d12] handle absence of Windows SDK (#6262) Teodor Tanasoaia 2024-09-13 15:56:26 +02:00
  • c2e0ad293f Vulkan: Avoid undefined behaviour with adversarial debug label (#6257) Daniel McNab 2024-09-12 14:03:04 +01:00
  • f3cbd6ce54 fix: Set mip_level_count in TextureInitTracker for externally created textures (#6249) Adam Winiarczuk 2024-09-11 00:28:36 +02:00
  • c4110afc7f [wgpu-core] inline Storage.insert_impl() teoxoy 2024-09-07 02:33:27 +02:00
  • 2addb267fc [wgpu-core] remove FutureId.into_id() teoxoy 2024-09-07 02:26:16 +02:00
  • c182d3f24f [wgpu-core] rename .strict_unregister() & .strict_remove() to .remove() teoxoy 2024-09-07 02:23:23 +02:00
  • ac74f36590 [wgpu-core] rename .strict_get() to .get() teoxoy 2024-09-07 02:21:50 +02:00
  • 31edbfd0dc [wgpu-core] use .strict_get() & .strict_unregister() for command buffers teoxoy 2024-09-07 02:11:50 +02:00
  • c0c594eff2 [wgpu-core] use Fallible for RenderBundle teoxoy 2024-09-06 22:11:03 +02:00
  • ee3b63a9af [wgpu-core] use Fallible for PipelineCache teoxoy 2024-09-06 22:06:45 +02:00
  • 5bcdd4266e [wgpu-core] use Fallible for ShaderModule teoxoy 2024-09-06 22:04:01 +02:00
  • 1c5793afb3 [wgpu-core] use Fallible for PipelineLayout teoxoy 2024-09-06 22:00:02 +02:00
  • e444e78d94 [wgpu-core] use Fallible for BindGroupLayout teoxoy 2024-09-06 21:53:19 +02:00
  • 45206e553d [wgpu-core] use Fallible for RenderPipeline teoxoy 2024-09-06 21:40:15 +02:00
  • 82ce2ea747 [wgpu-core] use Fallible for ComputePipeline teoxoy 2024-09-06 21:35:46 +02:00
  • b42500ee40 [wgpu-core] use Fallible for BindGroup teoxoy 2024-09-06 21:29:53 +02:00
  • 2ea314e978 [wgpu-core] remove Arc around StagingBuffer teoxoy 2024-09-06 21:24:29 +02:00
  • b14fe14e88 [wgpu-core] use Fallible for QuerySet teoxoy 2024-09-06 21:20:06 +02:00
  • 3ed1abc492 [wgpu-core] use Fallible for Sampler teoxoy 2024-09-06 21:09:24 +02:00
  • 04f17d4197 [wgpu-core] use Fallible for TextureView teoxoy 2024-09-06 21:04:31 +02:00
  • c630821f1d [wgpu-core] use Fallible for Texture teoxoy 2024-09-06 20:56:24 +02:00
  • 68e8b7d4a8 [wgpu-core] introduce Fallible and use it for Buffer (first step of invalidity internalization) teoxoy 2024-09-06 20:40:09 +02:00
  • 3437589107 [wgpu-core] use .strict_get() & .strict_unregister() for devices teoxoy 2024-09-05 15:28:20 +02:00
  • 07c397a1e5 [wgpu-core] use .strict_get() & .strict_unregister() for queues teoxoy 2024-09-05 15:10:35 +02:00
  • aa280ecd44 [wgpu-core] change return type of device creation methods to be more rusty teoxoy 2024-09-05 15:03:37 +02:00
  • da9afea271 [wgpu-core] use .strict_get() & .strict_unregister() for surfaces teoxoy 2024-09-05 14:41:48 +02:00
  • 98426329a4 [wgpu-core] introduce Registry .strict_get() & .strict_unregister() and use them for adapters teoxoy 2024-09-05 14:30:41 +02:00
  • 70a9c01b48 [wgpu-core] make the Registry generic over T: Clone teoxoy 2024-09-05 12:28:46 +02:00
  • d550342f47 [wgpu-core] use device.instance_flags when possible teoxoy 2024-09-05 11:20:40 +02:00
  • 5c7389a068 build(deps): bump the patch-updates group with 21 updates (#6239) dependabot[bot] 2024-09-09 15:04:28 +02:00
  • 480abae331 fix ordering of device.valid.store in device_destroy teoxoy 2024-09-06 16:16:24 +02:00
  • eb47449eb9 invalidate the device when we encounter driver-induced device loss or on unexpected errors teoxoy 2024-09-06 15:51:26 +02:00
  • ce6a46ee0c build(deps): bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4 (#6237) dependabot[bot] 2024-09-09 15:02:35 +02:00
  • 5889eff44d build(deps): bump crate-ci/typos from 1.24.1 to 1.24.5 (#6238) dependabot[bot] 2024-09-09 15:02:05 +02:00
  • 055372902d [d3d12] handle known error variants returned by D3D12CreateDevice (#6241) Teodor Tanasoaia 2024-09-09 15:01:24 +02:00
  • fb0cb1eb11 [metal] Improve layer initialization and resizing (#6107) Mads Marquart 2024-09-08 16:28:14 +02:00
  • 9b36a3e129 Make bind group an Option for set_bind_group calls. (#6216) Brad Werth 2024-09-06 14:29:09 -07:00
  • c87717b814 [naga] Document snapshots::Targets::IR and ANALYSIS. (#6231) Jim Blandy 2024-09-06 13:59:20 -07:00
  • 50b71287ce fix: 5890 set upper bound for vertical jump (#6034) Deep Vora 2024-09-06 11:00:42 -05:00
  • 0e352f5b34 Resolve lints for Rust 1.78-1.81 that can be preempted before upgrade (#6225) Erich Gubler 2024-09-06 05:55:22 -04:00
  • 07684d3623 Rename Rg11b10UFloat to Rg11b10Ufloat (#6226) Valaphee The Meerkat 2024-09-06 11:46:49 +02:00
  • e6a2a86f2c Fix a regression from #6223 (#6227) Nicolas Silva 2024-09-06 11:39:09 +02:00
  • 0b93030582 [ci] Re-enable cargo doc --document-private-items in CI (#6224) Jim Blandy 2024-09-05 12:28:47 -07:00
  • 81963e24ca Fix the internal buffer and texture count (#6223) Nicolas Silva 2024-09-05 20:53:01 +02:00
  • ec21000521 refactor: lock::observing: extract fn addr from ref. conv. to usize Erich Gubler 2024-09-05 09:05:47 -04:00
  • 63a24d37c3 chore: satisfy clippy::ref_as_ptr Erich Gubler 2024-07-24 11:00:13 -04:00
  • aeac0f29fe [naga] Make tests compile without the WGSL front end. (#6217) Jim Blandy 2024-09-05 01:18:20 -07:00
  • 36124b12c5 [core] Update docs for private items. (#6219) Jim Blandy 2024-09-05 01:15:27 -07:00
  • 64ea7efc04 [naga] Update docs for private items. (#6218) Jim Blandy 2024-09-05 01:15:02 -07:00
  • 9ff161d5e0 [hal] Document some CommandEncoder trait methods. Jim Blandy 2024-09-03 22:38:20 -07:00
  • 2aa69e1bb2 test(wgsl): note link b/w cross and bad_cross_builtin_args tests Erich Gubler 2024-08-28 17:28:18 -04:00
  • fcbec57d84 test(wgsl): test explicit center with {perspective,linear} interpolation Erich Gubler 2024-08-28 17:09:27 -04:00
  • 960555a426 [wgpu-hal] Allow importing external WGL contexts as with EGL (#6152) Marijn Suijten 2024-09-04 17:11:47 +02:00
  • 4e78829d82 [wgpu-core] when mapping buffers for reading, mark buffers as initialized only when they have MAP_WRITE usage (#6178) Teodor Tanasoaia 2024-09-04 16:57:08 +02:00
  • ee35b0e586 [core, hal, types] Clarify wgpu_hal's bounds check promises. Jim Blandy 2024-09-02 16:37:28 -07:00
  • de7765bd28 [core]: Let Device::create_buffer_binding get limits from self. Jim Blandy 2024-09-02 12:24:22 -07:00
  • 9ebc50fc1e [core] Remove unnecessary pub(crate) from Device methods. Jim Blandy 2024-09-02 12:22:12 -07:00
  • 9d24406d29 [core] Simplify self types in device::resource. Jim Blandy 2024-09-02 12:06:58 -07:00
  • 504ff3e1a6 [core] Rename map_buffer to resolve_buffer, etc. Jim Blandy 2024-09-01 17:39:01 -07:00
  • a9a98d6056 build(deps): bump the patch-updates group across 1 directory with 28 updates (#6206) dependabot[bot] 2024-09-03 12:32:26 -04:00
  • 07becfe5b5 [tests] don't create a new instance/adapter for DEVICE_LIFETIME_CHECK & MULTIPLE_DEVICES tests teoxoy 2024-09-03 16:59:41 +02:00
  • 595ae7cb47 [wgpu-hal] add null terminations to symbols to avoid reallocation teoxoy 2024-09-02 18:46:23 +02:00
  • 9d24888848 [d3d12] use windows-rs's bindings for DXC instead of hassle-rs teoxoy 2024-09-02 17:41:37 +02:00
  • 912bdcd336 [d3d12] simplify enumerate_adapters() fn teoxoy 2024-08-21 15:37:43 +02:00
  • 6c2f23c6a2 [d3d12] simplify create_factory() fn teoxoy 2024-08-21 15:11:24 +02:00
  • dd01b6d209 [d3d12] make DxgiLib and D3D12Lib methods consistent teoxoy 2024-08-21 15:10:48 +02:00
  • 29e288f81c move hal_usage_error from the vk backend to lib.rs teoxoy 2024-08-21 13:13:44 +02:00
  • e25051ec8f [d3d12] treat failure to populate references to resources as DeviceError::Unexpected teoxoy 2024-08-21 12:37:31 +02:00
  • 43f6279605 [d3d12] refactor buffer/texture creation functions to return resources instead of using out params teoxoy 2024-08-21 12:24:39 +02:00
  • 85346dfd20 chore: use std::mem::size_of{,_val} s'more Erich Gubler 2024-08-28 13:34:18 -04:00
  • e1c0aed520 chore(dx12): satisfy clippy::manual_bits Erich Gubler 2024-08-28 15:38:07 -04:00
  • e323817425 chore: satisfy unused_qualifications _again_ 😩 Erich Gubler 2024-08-28 13:51:19 -04:00
  • 4e9a2a5003 [naga wgsl] Impl const_assert (#6198) Samson 2024-09-02 19:37:04 +02:00
  • ace2e201cf [naga wgsl-in] allow global vars without explicit type (#6199) Samson 2024-09-02 18:27:52 +02:00
  • 105cb9db31 [naga wgsl-in] Proper singular generic in vec and matrix (#6189) Samson 2024-09-02 14:04:51 +02:00
  • 8eb0e6451b fix wrong count buffer id (#6194) BlackStone1123 2024-09-02 19:37:37 +08:00
  • 26398ea0db Use checked_mul or leading_zeros for shl overflows (#6186) Samson 2024-08-31 11:31:50 +02:00
  • 585f4a1036 [naga wgsl] all swizzle components must be either color or dimension (#6187) Samson 2024-08-31 11:08:34 +02:00
  • 04618b36a8 feat(wgsl): add first and either sampling for @interpolate(flat, …) (#6181) Erich Gubler 2024-08-30 11:08:00 -04:00
  • 34bb9e4ceb [naga wgsl] Implement local const declarations (#6156) Samson 2024-08-30 11:55:03 +02:00
  • 4454cbfaab [wgpu-hal] #5956 windows-rs migration followups and cleanups (#6173) Marijn Suijten 2024-08-30 11:02:38 +02:00
  • bbdbafdf8a [core] Add lock::observing module, for analyzing lock acquisition. Jim Blandy 2024-04-22 10:59:21 -07:00
  • 3f6f1d766c [core] Add #[track_caller] to Registry lock methods. Jim Blandy 2024-05-01 16:25:57 -07:00
  • f56914cea9 [core] Rename LockRankSet::name to member_name. Jim Blandy 2024-04-23 11:11:09 -07:00
  • 0ce5996891 refactor(naga): split out cross handling to separate match arm Erich Gubler 2024-08-27 14:00:21 -04:00
  • 7164f3eb4e fix(wgsl): narrow accepted args. of cross to vec3<$float> Erich Gubler 2024-08-27 14:09:00 -04:00