Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
9d85602349
hal: re-architect command encoding and pooling
2021-06-14 13:30:28 -04:00
Dzmitry Malyshau
c2bb2d5dfc
Experimental command pool API
2021-06-14 01:58:09 -04:00
Dzmitry Malyshau
d88aa99997
Fix rows-per-image treatment, clippy warnings
2021-06-10 15:43:21 -04:00
Dzmitry Malyshau
ff2a3e84fc
update synchronization, fix last errors in wgc
2021-06-08 02:03:44 -04:00
Dzmitry Malyshau
0a82c232ba
hal: port the rest of wgpu-core
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
c61ee1262b
hal: transfer operations
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
569cd0cdd6
WIP new wgpu-hal
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
6ff618aafb
Big refactor of the profiling usage
2021-04-29 02:06:58 -04:00
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
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
103e7763a3
Rename depth to depth_or_array_layers
2021-03-01 11:08:17 -05:00
Jakob Hellermann
b89cb21ce3
fix rustdoc warnings
2021-02-12 13:56:51 +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
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
Dzmitry Malyshau
4764ff21e9
Update gfx with the new iterator API
2021-01-28 12:40:24 -05:00
Vengarioth | Andreas Fischer
6adaef6512
fix the size checks in transfer buffer to image commands
2021-01-18 18:46:37 +01:00
Dzmitry Malyshau
ab10d36ac0
Rename get_encoder to get_encoder_mut
2020-12-23 11:20:08 -05:00
Dzmitry Malyshau
394135f725
Fix and improve object labels and command markers
2020-12-15 11:28:11 -05:00
Connor Fitzgerald
19fb491262
Fix validation of compressed mipmaps
2020-12-05 19:30:26 -05:00
Connor Fitzgerald
8f430ab1ef
Implement ETC2 and ASTC textures
2020-12-05 19:30:26 -05:00
Mikko Lehtonen
4498f172cc
Retain labels for resources
...
As a braking api change, adds also label for the error id generation,
for labeling invalid ids too.
Also adds query methods the label.
2020-11-19 00:09:21 +02:00
Dzmitry Malyshau
c87a94f976
Early texture destruction
2020-10-08 23:21:11 -04:00
Dzmitry Malyshau
0a7d81351c
Handle cases where buffer contents are destroyed
2020-10-08 12:57:17 -04:00
lberrymage
41228ef1a4
Fix clippy warnings about using if-let over match
...
The specific lint triggered was
https://rust-lang.github.io/rust-clippy/master/index.html#single_match .
2020-09-25 23:02:51 -08:00
Maximilian Lupke
5d50b2ac24
Allow copying from depth textures ( #901 )
...
* Allow copying from depth textures
* Rename TextureFormat::is_depth_format to just is_depth
* Only allow Depth32Float format for copying, and only as source
2020-08-28 10:58:48 -04:00
bors[bot]
59f0996eab
Merge #895
...
895: Improve validation in B2B copies and RenderCommands r=kvark a=kunalmohan
**Connections**
_Link to the issues addressed by this PR, or dependent PRs in other repositories_
**Description**
_Describe what problem this is solving, and how it's solved._
Validation for the following have been added-
- Validate all parameters in B2B copy even if `copy_size == 0`.
- Check for copy operations issued within same buffer.
- `RenderPass.setViewport()`
- `RenderPass.setScissorRect()`
**Testing**
_Explain how this change is tested._
Tested with CTS in Servo. More tests pass now. Will test on wgpu-rs now.
<!--
Non-trivial functional changes would need to be tested through:
- [wgpu-rs](https://github.com/gfx-rs/wgpu-rs ) - test the examples.
- [wgpu-native](https://github.com/gfx-rs/wgpu-native/ ) - check the generated C header for sanity.
Ideally, a PR needs to link to the draft PRs in these projects with relevant modifications.
See https://github.com/gfx-rs/wgpu/pull/666 for an example.
If you can add a unit/integration test here in `wgpu`, that would be best.
-->
Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com >
2020-08-24 18:00:47 +00:00
Kunal Mohan
a10e5cdb53
Check whether attachments are of same size or not
2020-08-24 23:02:04 +05:30
Dzmitry Malyshau
b8b7561796
Improve texture creation validation
2020-08-24 13:00:34 -04:00
Kunal Mohan
f266431f24
Improve validation in b2b copies and RenderCommands
2020-08-24 21:14:07 +05:30
Connor Fitzgerald
f9265bccd2
Improve buffer and texture overrun error messages
2020-08-19 11:44:54 -04:00
Dzmitry Malyshau
d1da6d8106
Switch gfx-hal to 0.6
2020-08-17 10:34:50 -04:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Dzmitry Malyshau
3291b72368
Update naga and fix type widths
2020-07-31 23:46:19 -04:00
Connor Fitzgerald
00a5be7f7b
Fix multi-layer copies
2020-07-30 16:58:29 -04:00
Connor Fitzgerald
e5c647745e
Implement TEXTURE_COMPRESSION_BC extension
2020-07-29 18:43:50 -04:00
Dzmitry Malyshau
6e10518f12
Reformat the alignment errors, add a stride check
2020-07-28 11:48:49 -04:00
Connor Fitzgerald
cb485f3798
Convert all logging to tracing and add fmt logger
2020-07-25 19:33:21 -04:00
Gabriel Majeri
a27b24215d
Convert the existing error types to thiserror
2020-07-18 07:29:20 +03:00
Gabriel Majeri
f3b80f1d8d
Unify wgpu-core and wgpu-rs types
2020-07-13 18:39:49 +03:00
Gabriel Majeri
98e4f73a10
Error handling for data transfer API
2020-07-10 21:50:22 +03:00
Connor Fitzgerald
62a870280f
Refine Logging Levels
2020-06-22 02:13:04 -04:00