Commit Graph

  • 8ee9df9eb3 move same device check and tracker insertion inside validate_and_begin_pipeline_statistics_query teoxoy 2024-06-25 14:45:31 +02:00
  • e41cfbf1c2 extract write_timestamp from compute_pass_end_impl teoxoy 2024-06-25 14:33:58 +02:00
  • 3ff680261d extract insert_debug_marker from compute_pass_end_impl teoxoy 2024-06-25 14:31:48 +02:00
  • f609e82055 extract pop_debug_group from compute_pass_end_impl teoxoy 2024-06-25 14:30:43 +02:00
  • c72af7b57f extract push_debug_group from compute_pass_end_impl teoxoy 2024-06-25 14:28:46 +02:00
  • 868b9cd866 extract dispatch_indirect from compute_pass_end_impl teoxoy 2024-06-25 14:26:37 +02:00
  • fefb9c2453 extract dispatch from compute_pass_end_impl teoxoy 2024-06-25 14:24:33 +02:00
  • 5fdb663f45 extract set_push_constant from compute_pass_end_impl teoxoy 2024-06-25 14:21:57 +02:00
  • 3a199cf258 extract set_pipeline from compute_pass_end_impl teoxoy 2024-06-25 14:18:41 +02:00
  • bc2f8edf9b extract set_bind_group from compute_pass_end_impl teoxoy 2024-06-25 14:16:30 +02:00
  • 9b4bb8b594 remove CommandBuffer.limits teoxoy 2024-06-25 14:05:14 +02:00
  • d3eed4920b put all state in State teoxoy 2024-06-25 13:59:09 +02:00
  • 83a8699be7 remove multi_draw_indirect2 teoxoy 2024-06-21 22:03:30 +02:00
  • 3dcd5ab422 move comment that was preventing fmt from running teoxoy 2024-06-21 22:00:10 +02:00
  • ebb930e9fd add more fields to State and cleanup fn params teoxoy 2024-06-21 21:59:05 +02:00
  • 9791b6ccb9 extract render bundle command processing into their own functions teoxoy 2024-06-21 21:57:46 +02:00
  • 3eb387f413 simplify IndexState teoxoy 2024-06-25 12:06:47 +02:00
  • 6db9ceede1 inline pipeline.as_info().id() teoxoy 2024-06-25 11:45:02 +02:00
  • fb60aa86c3 use .error_ident() for api_log!s in render_pass_end_impl teoxoy 2024-06-25 11:44:34 +02:00
  • 82210e1cdc remove stale weak refs before insert view/bind_groups XiaoPeng 2024-06-25 22:09:52 +08:00
  • 3d5d7dec02 clear refs to died texture views XiaoPeng 2024-06-25 19:27:13 +08:00
  • e92e543b7b Allow clippy::pattern_type_mismatch in hal Nicolas Silva 2024-06-25 14:09:03 +02:00
  • bfcb5457c6 remove unnecessary unsafe block teoxoy 2024-06-21 20:09:07 +02:00
  • ad2d797f81 move InvalidQueueId error variant to top level error types teoxoy 2024-06-21 18:05:37 +02:00
  • 3005b46a29 inline ComputePass.parent_id() teoxoy 2024-06-21 12:57:04 +02:00
  • f55fa6e217 make ResourceInfo.label private teoxoy 2024-06-21 12:49:48 +02:00
  • a56698cbe6 use .error_ident() in a few more places teoxoy 2024-06-21 12:49:22 +02:00
  • 8106028f23 remove ResourceInfo.label() teoxoy 2024-06-21 12:31:06 +02:00
  • c4e067b394 use .error_ident() for resource_log! in Drop impls teoxoy 2024-06-21 12:29:27 +02:00
  • 5f78485f30 pass Label to ResourceInfo::new teoxoy 2024-06-21 11:27:22 +02:00
  • beaa6e95e4 remove duplicate label fields teoxoy 2024-06-20 21:26:28 +02:00
  • bbf824767d remove IDs from Destroyed{Buffer,Texture} teoxoy 2024-06-20 20:35:36 +02:00
  • d5d806a474 pass through pipeline_id instead of getting it via .as_info().id() teoxoy 2024-06-20 20:09:02 +02:00
  • 1b40c8c745 replace check_valid_to_use with ParentDevice.same_device checks teoxoy 2024-06-20 20:00:53 +02:00
  • 06da3e88d0 remove IDs from QueryResetMap teoxoy 2024-06-20 19:24:14 +02:00
  • d30c02ffa3 use .error_ident() for resource logging teoxoy 2024-06-20 18:45:07 +02:00
  • eeb57e1cee pass BufferId to unmap for tracing teoxoy 2024-06-20 18:41:32 +02:00
  • 1a4f6aca6f trace as soon as possible teoxoy 2024-06-20 18:21:41 +02:00
  • fd52ec8997 remove tracing from deferred texture view and bind group destruction teoxoy 2024-06-20 17:43:43 +02:00
  • 812a562331 remove tracing from Destroyed{Buffer,Texture} drop impl teoxoy 2024-06-20 17:38:20 +02:00
  • f2ea30772c move destroy/drop tracing actions in Global's methods teoxoy 2024-06-20 17:31:24 +02:00
  • e2c4348959 replace .then_some(()).ok_or_else(e) with ifs teoxoy 2024-06-20 16:48:28 +02:00
  • b4c7987aa7 Separate renderpass arc resolve & renderpass consume on end (#5794) Andreas Reich 2024-06-25 09:37:29 +02:00
  • 29e3b984a4 [naga] Use HandleSet in Validator::needs_visit. Jim Blandy 2024-06-22 23:18:39 -07:00
  • 71a52bdba4 [naga spv-out] Use HandleSet in ExpressionConstnessTracker. Jim Blandy 2024-06-22 23:11:53 -07:00
  • 43f390e86f [naga] Use HandleSet in Validator::valid_expression_set. Jim Blandy 2024-06-22 23:03:30 -07:00
  • f262dce065 [naga] Change HandleSet::insert to return a bool. Jim Blandy 2024-06-22 23:01:46 -07:00
  • 0656fb8ea8 [naga] Use HandleSet in naga::proc::index. Jim Blandy 2024-06-22 22:39:37 -07:00
  • aac6fc7267 [naga] Move HandleSet from compact into arena. Jim Blandy 2024-06-22 22:33:02 -07:00
  • 34f5376517 [naga] Clarify Debug form of arena::Range. Jim Blandy 2024-06-24 16:55:56 -07:00
  • 14a7698d16 v0.20.2 release for wgpu et al., v0.21.1 release for wgpu-{core,hal} (#5850) wgpu-hal-v0.21.1 wgpu-core-v0.21.1 v0.20.2 v0.20 Erich Gubler 2024-06-24 18:00:23 -04:00
  • a5d57db269 [naga] Break naga::arena up into submodules. Jim Blandy 2024-06-22 17:27:04 -07:00
  • bef9eb4074 [naga] Move naga/src/arena.rs to naga/src/arena/mod.rs. Jim Blandy 2024-06-22 16:55:59 -07:00
  • 3623c54fb7 [naga] Use Handle::new, don't construct the Handle directly. Jim Blandy 2024-06-22 18:19:55 -07:00
  • 3e20909ade [naga] Use Range::from_index_range in Arena::range_from. Jim Blandy 2024-06-22 18:11:55 -07:00
  • a7d4d2c79f Allow using include_wgsl! in const contexts (#5872) 9SMTM6 2024-06-24 19:46:30 +02:00
  • 333ed78529 [gl] reorder program_cache & context lock acquisition teoxoy 2024-06-24 11:52:32 +02:00
  • 7cf071195b [glsl] add more reserved keywords from previous specs Teodor Tanasoaia 2024-06-24 11:26:16 +02:00
  • ddff69ba21 Avoid leaking submitted command encoders (#5141) Nicolas Silva 2024-06-24 14:16:55 +02:00
  • 355613342e [naga] Add packed as a keyword for GLSL Kamil Jarosz 2024-06-21 21:29:47 +02:00
  • 1de04926b1 Add infrastructure for counting and reporting internal resources (#5708) Nicolas Silva 2024-06-24 11:20:10 +02:00
  • afc8e38fc1 [naga] Use HandleVec in Layouter. Jim Blandy 2024-06-22 23:58:20 -07:00
  • 9f0a7cb184 [naga] Use HandleVec in ExpressionKindTracker. Jim Blandy 2024-06-22 23:47:14 -07:00
  • 056d0db43e [naga] Use HandleVec in Typeifier. Jim Blandy 2024-06-22 23:40:56 -07:00
  • 4b485fdb0e build(deps): bump crate-ci/typos from 1.22.7 to 1.22.9 (#5867) dependabot[bot] 2024-06-24 09:11:59 +02:00
  • f227ca1258 docs(CHANGELOG): add entry for #5812 Erich Gubler 2024-06-20 10:13:12 -04:00
  • 0f6abc99ee [naga-cli] add --defines options for the glsl parser (#5859) Théo Monnom 2024-06-23 09:21:56 +02:00
  • 6405dcf611 [naga spv-in] Adjust types of globals used by atomic instructions. Schell Carl Scivally 2024-06-05 14:42:25 +12:00
  • 717507977e [naga] Fix cargo doc --document-private-items. Jim Blandy 2024-06-21 21:26:30 -07:00
  • 35477dff9a automatically check for subgroup support when creating a naga Validator Elabajaba 2024-06-20 02:19:34 -04:00
  • 9b5035cee1 [naga] Introduce HandleVec. Jim Blandy 2024-06-19 20:13:58 -07:00
  • d6c4d5c5c3 [naga] Manually implement serde traits for NonMaxU32. Jim Blandy 2024-06-19 23:11:11 -07:00
  • 090c906cb7 [naga] Simplify function names and comments. Jim Blandy 2024-06-18 11:53:18 -07:00
  • 9f498fd571 [naga] Use new NonMaxU32 type for Handle indices. Jim Blandy 2024-06-18 11:48:41 -07:00
  • 7721e33693 [naga] Delete unused constant Handle::DUMMY. Jim Blandy 2024-06-19 10:40:36 -07:00
  • beb89f7956 [naga msl-out] Use Handle::write_prefixed instead of index. Jim Blandy 2024-06-19 18:35:42 -07:00
  • 29aa68e9a3 [naga dot-out] Use Handle::write_prefixed instead of index. Jim Blandy 2024-06-19 17:51:18 -07:00
  • 92287c30b5 [naga hlsl-out] Use Baked for baked expressions. Jim Blandy 2024-06-19 12:45:14 -07:00
  • 2a3c35383a [naga] Introduce Baked newtype for writing baked expression names. Jim Blandy 2024-06-19 12:38:50 -07:00
  • 1e784c9c0a use TrackerIndex instead of IDs in PendingWrites's fields teoxoy 2024-06-20 14:17:12 +02:00
  • 2e1e1cd26e inline id getters teoxoy 2024-06-20 14:01:30 +02:00
  • ef2da1a6d7 rename UsageConflict to ResourceUsageCompatibilityError teoxoy 2024-06-20 13:57:40 +02:00
  • 5f6848eddf remove IDs from UsageConflict variants teoxoy 2024-06-20 13:46:13 +02:00
  • 123a59ae7b change return type of ResourceMetadataProvider.get to &Arc<T> teoxoy 2024-06-20 13:39:13 +02:00
  • 26eceabe86 move body of BufferUsageScope.insert_merge_single in BufferUsageScope.merge_single teoxoy 2024-06-20 13:28:57 +02:00
  • aaec1c37b9 take resource lookup out of BufferUsageScope.merge_single teoxoy 2024-06-20 13:25:16 +02:00
  • f5072261c7 remove ID from QueueSubmitError::BufferStillMapped teoxoy 2024-06-20 13:06:00 +02:00
  • b0d2517bf4 change BindGroup.raw to BindGroup.try_raw teoxoy 2024-06-20 12:52:03 +02:00
  • 08f5eb82cd introduce TextureView.try_raw teoxoy 2024-06-20 12:40:06 +02:00
  • 7bd9195aa2 take resource lookup out of StatelessTracker.add_single teoxoy 2024-06-20 12:30:21 +02:00
  • 2ec7254772 remove old comment teoxoy 2024-06-20 02:05:17 +02:00
  • a024afe182 consolidate destroyed texture/buffer errors and separate them from invalid ID errors teoxoy 2024-06-20 01:57:10 +02:00
  • 97a038a768 make return type of TextureTracker.set_single non-optional teoxoy 2024-06-20 00:56:09 +02:00
  • d2218398ff take buffer lookup out of BufferBindGroupState.add_single teoxoy 2024-06-20 00:41:09 +02:00
  • 6a181fa634 remove IDs from StatelessBindGroupState teoxoy 2024-06-20 00:35:09 +02:00
  • a979d2ed46 simplify BufferTracker.set_single's return type teoxoy 2024-06-19 23:54:49 +02:00
  • 862f19524f make check_texture_usage a texture method teoxoy 2024-06-19 16:59:30 +02:00
  • 87382d7133 make check_buffer_usage a buffer method teoxoy 2024-06-19 16:51:03 +02:00
  • 068da49a4c use error_ident for log instead of ID teoxoy 2024-06-19 16:36:45 +02:00
  • 836f016dcd use the tracker index as key in hashmap instead of ID teoxoy 2024-06-19 15:10:56 +02:00