Dzmitry Malyshau
8505a39f6a
Make implicit ids actually errors to start with
2021-04-20 17:32:40 -04:00
Dzmitry Malyshau
c744582052
Update blending API names
2021-04-15 11:25:04 -04:00
Dzmitry Malyshau
191f33871b
Don't panic on change_extend errors
2021-04-08 12:03:46 -04:00
adamnemecek
d91ad13482
framecapture
2021-04-01 12:51:50 -07:00
Connor Fitzgerald
3073a454ff
Update to flag-based downlevel bools
2021-04-01 11:48:09 -04:00
Connor Fitzgerald
fca72f54f9
Validate compute shader's presence
2021-03-31 01:08:53 -04:00
Joshua Groves
a5693ab2a3
Rename color/depth attachments to match spec
...
- Rename `ColorAttachmentDescriptor` to `RenderPassColorAttachment`
- Rename `DepthStencilAttachmentDescriptor` to `RenderPassDepthStencilAttachment`
- Rename `attachment` fields on both attachments to `view`
2021-03-23 09:31:59 -02:30
bors[bot]
fb0288a377
Merge #1279
...
1279: Fix some typos r=kvark a=grovesNL
**Description**
Fix a few small typos in doc comments
**Testing**
None
Co-authored-by: Joshua Groves <josh@joshgroves.com >
2021-03-23 06:44:11 +00:00
Joshua Groves
306eaf3969
Fix some typos
2021-03-23 01:01:32 -02:30
Joshua Groves
9058f3ba62
Rename copy views and layout to match spec
2021-03-23 00:48:42 -02:30
Andreas Reich
720c73fa9c
Review feedback / fix validate_linear_texture_data
2021-03-21 09:01:31 +01:00
Andreas Reich
50043875e5
rows_per_image & rows_per_image are now optional
...
Fixes #988
2021-03-20 12:33:28 +01:00
Dzmitry Malyshau
9673635125
Add sample count to framebuffer key
2021-03-17 12:13:11 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
231bba03a1
Lint all the things
2021-03-12 12:39:04 -05:00
Dzmitry Malyshau
fb1b98ebb1
Early tracing of the other device things
2021-03-03 17:24:09 -05:00
Dzmitry Malyshau
103e7763a3
Rename depth to depth_or_array_layers
2021-03-01 11:08:17 -05:00
bors[bot]
6442b947cb
Merge #1210
...
1210: Reset the bindings on the push constant change r=wumpf a=kvark
**Connections**
Fixes #1207
(unconfirmed!)
**Description**
I was able to replay the trace in #1207 without validation errors, so I looked deeper into what might have gone wrong.
The code isolated in #1194 looks great. However, the calling code's handling of push constants might have changed a bit.
And I see that the trace uses push constants, so here is what happened, I think:
- layout A was set, expecting bind group layouts X and Z
- bind groups X and Y where bound
- layout B was set, expecting bind group layout X and Y. We see that Y group can now be bound, so we do this. The old logic in this case wasn't considering the push constants in any way, it would only consider them if bind group layouts didn't change, erroneously.
- layout B has different push constant ranges...
So it's a one-line fix now, which I'm hoping is correct.
**Testing**
Not tested
@Wumpf would you be able to check this?
Co-authored-by: Dzmitry Malyshau <kvark@fastmail.com >
2021-02-12 21:10:26 +00:00
Jakob Hellermann
b89cb21ce3
fix rustdoc warnings
2021-02-12 13:56:51 +01:00
Dzmitry Malyshau
692e82d521
Reset the bindings on the push constant change
2021-02-11 14:47:35 -05:00
Dzmitry Malyshau
d0dcb105f5
Don't check the index format for non-indexed calls
2021-02-06 10:58:46 -05:00
Dzmitry Malyshau
e357e3083a
Fix command allocator race condition with maintenance
2021-02-05 00:57:18 -05:00
Dzmitry Malyshau
262d0c6dfc
Isolate binding compatibility logic into a separate module
2021-02-04 01:16:40 -05:00
Andreas Reich
822424e519
Fix buffer init in bundle.rs with mem::size_of::<wgt::DrawIndirectArgs>
2021-01-31 22:01:52 +01:00
Andreas Reich
018ad05f56
memory init tracker check (previous is_initialized) clamps range now
...
and is O(log n)!
2021-01-31 21:56:31 +01:00
Andreas Reich
da86b3f401
Cleanup, better use of some rust std lib functions
2021-01-31 21:56:31 +01:00
Andreas Reich
492027fe6e
command buffer buffer memory init tracking is only filled if necessary now
2021-01-31 21:56:22 +01:00
Andreas Reich
1efdc2b229
Queue_submit zeros out uninitialized buffer regions now
...
again but with fine grained scheme now
2021-01-31 21:55:49 +01:00
Andreas Reich
9595b39bb3
Fine grained tracking of buffer init requirements
2021-01-31 21:55:49 +01:00
Andreas Reich
5133b0da94
Introduced separate MemoryInitTracker
2021-01-31 21:55:49 +01:00
Andreas Reich
a51b4f9232
buffer zero initialization prior to use in submit
2021-01-31 21:55:49 +01:00
Andreas Reich
6b51328b2e
Add public structs for indirect command buffers
...
and fix missing IndirectBufferOverrun error for IndirectDispatch
2021-01-31 21:32:33 +01:00
Dzmitry Malyshau
4764ff21e9
Update gfx with the new iterator API
2021-01-28 12:40:24 -05:00
Dzmitry Malyshau
0346b43982
Update the render pipeline API
2021-01-27 15:09:13 -05:00
Dzmitry Malyshau
c233a70afc
Handle zero-sized bindings as an error
2021-01-25 22:33:44 -05:00
Dzmitry Malyshau
7f8c776a85
Update gfx to unborrowed APIs
2021-01-19 00:33:45 -05:00
Vengarioth | Andreas Fischer
6adaef6512
fix the size checks in transfer buffer to image commands
2021-01-18 18:46:37 +01:00
Connor Fitzgerald
a22037ced0
Add pipeline statistics and timeline queries
2021-01-16 00:48:54 -05:00
Dzmitry Malyshau
a4f897b5d7
Include the extent into the framebuffer map key
2021-01-15 00:53:51 -05:00
Dzmitry Malyshau
012569845d
Update render pass and framebuffers logic to the latest gfx-hal
2021-01-15 00:53:28 -05:00
dasetwas
c01e2d10ce
Remove comment introduced in https://github.com/gfx-rs/wgpu/pull/1144
2021-01-13 23:28:44 +01:00
Mikko Lehtonen
6c56613045
Merge PassErrorScope::Draw* and Dispatch* variants
2021-01-12 22:23:17 +02:00
Mikko Lehtonen
0d60bd80c5
Include pipeline id in some pass error scopes
2021-01-12 17:58:44 +02:00
Dzmitry Malyshau
389a848dea
Support trailing render passes after the swapchain rendering
2021-01-11 21:40:41 -05:00
DasEtwas
93f68add27
Decrease error variant code verbosity, apply reviews
2021-01-11 23:46:26 +01:00
DasEtwas
151d521ad9
Fix and simplify attachment dimension mismatch check
...
This also improves error messages with detailed dimension and attachment type name info which should help developers can hopefully recognize.
2021-01-11 20:13:14 +01:00
Dzmitry Malyshau
d70148725b
Fix API traced dynamic offsets and object labels
2021-01-04 17:54:56 -05:00
Dzmitry Malyshau
f328995950
Fix UB in populating dynamic offsets
2021-01-04 14:46:04 -05:00
Dzmitry Malyshau
5953098461
Implement render bundle freeing
2021-01-04 09:30:10 -05:00
Dzmitry Malyshau
ab10d36ac0
Rename get_encoder to get_encoder_mut
2020-12-23 11:20:08 -05:00