Connor Fitzgerald
c3d906856f
Add spans to provide more information profile gaps
2021-10-03 22:54:15 -04:00
Dzmitry Malyshau
1ee6036f44
Implement software adapter selection
2021-10-01 17:22:51 -04:00
Connor Fitzgerald
b679342d9e
Support descriptor arrays shorter than binding length
2021-09-30 14:11:51 -04:00
Connor Fitzgerald
7766ed194b
Improve CI testing code
2021-09-14 13:34:07 -04:00
Luke Street
76bcd9c494
Implement min_{uniform,storage}_buffer_offset_alignment limits ( #1923 )
...
* Implement min_{uniform,storage}_buffer_offset_alignment limits
* Add Limits::using_alignment
* Update docs & examples
* Create binding_model::buffer_binding_type_alignment fn
2021-09-08 13:53:02 -04:00
Riccardo Zaglia
0a2be6099c
Add Texture::as_hal()
2021-08-31 10:30:23 -04:00
Dzmitry Malyshau
dffe1f1793
Return a texture by the surface
2021-08-11 20:58:42 -04:00
Dzmitry Malyshau
f78061bcef
Merge swap chain into surface
2021-08-11 20:58:42 -04:00
Lonsdaleiter
64ffdd52ad
Added is_surface_supported ( #1763 )
2021-08-04 14:27:08 +00:00
Zicklag
07cd75a36b
Fix New Clippy Lints From Rust 1.54.0
...
Fixes a number of new lints introduce in the updated clippy that
CI is now using.
2021-07-29 16:29:46 -05:00
Dzmitry Malyshau
552a5f138e
Rename texture usage names
2021-07-28 00:17:54 -04:00
Riccardo Zaglia
2657849977
[Vulkan] Initialize wgpu objects from raw handles
2021-07-25 21:51:40 +02:00
0f784bb3c0
Merge #1602
...
1602: New DX12 backend (unfinished) r=kvark a=kvark
**Connections**
Continuation of #1471
**Description**
Mostly fresh implementation on DX12 backend for wgpu-hal
Core changes:
- texture usage is filtered before passing to `create_texture_view`, so that wgpu-hal can assume every bit is important.
- all the copies involving textures are limited to one array layer at a time
- remove render pass boundary usages
**Testing**
Examples (not running yet)
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-07-13 22:26:44 +00:00
Dzmitry Malyshau
bbb046077e
Check for blendable flag in filtering
2021-07-13 13:13:40 -04:00
Dzmitry Malyshau
c01f6a557e
hal/dx12: enable the backend in wgpu-core
2021-07-13 01:01:19 -04:00
Connor Fitzgerald
130ddcf561
Unify CI and testing
2021-07-04 15:22:51 -04:00
bors[bot] and Dzmitry Malyshau
7ab950e465
Merge #1592
...
1592: Detailed limits check and error r=cwfitzgerald a=kvark
**Connections**
Related to #1590
**Description**
The old comparison "A < B" was simply wrong, because it would do every field in order and could bail out mid-way without reaching for all limits.
**Testing**
Untested
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-07-03 01:12:43 +00:00
Dzmitry Malyshau
23b587246a
Detailed limits check and error
2021-07-02 20:17:12 -04:00
Clayton Walker
25c452cbdd
Add metal layer back in
2021-07-02 15:51:11 -06:00
Connor Fitzgerald
53e2c95dc8
Fix wgpu-info display by moving masks to associated functions
2021-07-02 01:15:19 -04:00
Dzmitry Malyshau
ba006cfaa7
Rename ColorWrite, TextureUsage, and BufferUsage
2021-06-30 14:57:38 -04:00
Dzmitry Malyshau
568ac3fa24
Switch all bitflag names to plural
2021-06-30 14:43:36 -04:00
Dzmitry Malyshau
4be8864b38
hal/gles: totally rework the vertex data binding
2021-06-30 02:31:13 -04:00
Dzmitry Malyshau
e4aee90341
hal/gles: object labels, view dimensions, and buffer clears
2021-06-30 02:29:29 -04:00
Dzmitry Malyshau
952173efde
Enable Gles backend, add checks for downlevel flags
2021-06-30 02:29:28 -04:00
Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
Dzmitry Malyshau
d8979cad4a
hal/vk: command pools, clippy warnings
2021-06-14 10:26:40 -04:00
Dzmitry Malyshau
9ae5e36ad8
hal/vk: format mapping
2021-06-11 14:27:00 -04:00
Dzmitry Malyshau
d88aa99997
Fix rows-per-image treatment, clippy warnings
2021-06-10 15:43:21 -04:00
Dzmitry Malyshau
a421c1c8b6
Instance plumbing
2021-06-08 11:46:53 -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
0ea4cac04b
Rework shader and pipeline creation
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
beb88b0a88
Skip the cube compatibility on a downlevel flag
2021-06-01 08:29:44 -04:00
Wumpf
f62d0d5edc
Native Extension: Expose fill buffer & clear image ( #1335 )
...
* Add command buffer fill buffer method
* Added test for buffer fill
* Added image clear + test
* image/buffer clear methods are now pure clear to zero
* fix cargo clippy & int type issues
* clear buffer alignment is now given by COPY_BUFFER_ALIGNMENT
* joined buffer/image clear player tests
* ImageSubresourceRange is now used in TextureViewDescriptor
2021-05-30 11:03:33 -04:00
Dzmitry Malyshau
a06d277d40
Simplify feature selection
2021-05-17 14:11:48 -04:00
Dzmitry Malyshau
f0a145d0fa
Add VERTEX_WRITABLE_STORAGE feature, refactor the sample border
2021-05-17 14:09:02 -04:00
Dzmitry Malyshau
ffd47fbc0e
Remove Vulkan Portability support
2021-04-29 11:42:26 -04:00
Dzmitry Malyshau
6ff618aafb
Big refactor of the profiling usage
2021-04-29 02:06:58 -04:00
Chandler Newman
904ec7a5ee
Add uniform and storage buffer arrays
2021-04-29 00:38:04 -04: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
Connor Fitzgerald
4db9a4522e
Add downlevel infrastructure
2021-03-31 01:08:48 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Wumpf
717c2d73e7
Add CONSERVATIVE_RASTERIZATION native feature ( #1263 )
...
* Add CONSERVATIVE_RASTERIZATION native feature
* update gfx to cd3042d8c02d9dc7fc74ac8c292099c9789f6d43
* error for polygon mode not fill +conservative raster
2021-03-14 20:43:02 -04:00
Dzmitry Malyshau
231bba03a1
Lint all the things
2021-03-12 12:39:04 -05:00
Dzmitry Malyshau
80fe0d8fdd
Fix Vulkan Portability check
2021-03-10 00:23:09 -05:00
Dzmitry Malyshau
10245cece9
Early tracing of swapchain-related things, clean up the hub API
2021-03-03 19:59:29 -05:00
Dzmitry Malyshau
f7e1304c38
Expose CA surface creation
2021-03-03 15:43:55 -05:00