Commit Graph

3257 Commits

Author SHA1 Message Date
Dzmitry Malyshau
450e5dc08b hal/dx12: queue operations 2021-07-13 01:04:08 -04:00
Dzmitry Malyshau
8163dc7b47 hal/dx12: pipeline creation 2021-07-13 01:04:07 -04:00
Dzmitry Malyshau
0a609e74c0 hal/dx12: compute pipelines, update naga 2021-07-13 01:04:06 -04:00
Dzmitry Malyshau
040a602b69 hal/dx12: bind group creation 2021-07-13 01:03:45 -04:00
Dzmitry Malyshau
7d29a3b70e hal/dx12: binding resources and index/vertex buffers 2021-07-13 01:03:44 -04:00
Dzmitry Malyshau
c0432761d9 hal/dx12: use range-alloc for descriptor heaps 2021-07-13 01:03:15 -04:00
Dzmitry Malyshau
ba1bff58ed hal/dx12: attachment clears and resolvess 2021-07-13 01:03:14 -04:00
Dzmitry Malyshau
00859b9e0c Stop using render pass boundary usages for resource transitions 2021-07-13 01:02:42 -04:00
Dzmitry Malyshau
12bc3eb3fc hal/dx12: set render targets 2021-07-13 01:01:31 -04:00
Dzmitry Malyshau
81f31f5555 hal: change blend color argument 2021-07-13 01:01:30 -04:00
Dzmitry Malyshau
1f91c5f297 hal/dx12: debug markers 2021-07-13 01:01:30 -04:00
Dzmitry Malyshau
27b8085048 hal/dx12: queries 2021-07-13 01:01:29 -04:00
Dzmitry Malyshau
b818157f67 hal/dx12: draws and dispatches 2021-07-13 01:01:28 -04:00
Dzmitry Malyshau
9069c2301f hal/dx12: implement fill_buffer with zero 2021-07-13 01:01:28 -04:00
Dzmitry Malyshau
2c76b0e656 hal/dx12: clippy fixes, buffer-texture copies 2021-07-13 01:01:27 -04:00
Dzmitry Malyshau
35ee65707f hal: make copy to work on one array layer at a time 2021-07-13 01:01:26 -04:00
Dzmitry Malyshau
f79c3781c3 hal/dx12: buffer-buffer and texture-texture copies 2021-07-13 01:01:25 -04:00
Dzmitry Malyshau
4f6812fc36 hal/dx12: resource barriers 2021-07-13 01:01:25 -04:00
Dzmitry Malyshau
43a39a229e hal/dx12: command pooling 2021-07-13 01:01:24 -04:00
Dzmitry Malyshau
e128021aee hal/dx12: pipeline layout 2021-07-13 01:01:23 -04:00
Dzmitry Malyshau
904621ee19 hal/dx12: sampler and query set creation 2021-07-13 01:01:23 -04:00
Dzmitry Malyshau
04ca3212de hal/dx12: intercept debug output 2021-07-13 01:01:22 -04:00
Dzmitry Malyshau
855689462c hal/dx12: fences 2021-07-13 01:01:21 -04:00
Dzmitry Malyshau
c7519432ee Filter texture usages on view creation 2021-07-13 01:01:21 -04:00
Dzmitry Malyshau
925ece8b40 hal/dx12: creation of RTV/DSV/UAV 2021-07-13 01:01:20 -04:00
Dzmitry Malyshau
23615aa55d hal/dx12: texture and view creation 2021-07-13 01:01:19 -04:00
Dzmitry Malyshau
c01f6a557e hal/dx12: enable the backend in wgpu-core 2021-07-13 01:01:19 -04:00
Dzmitry Malyshau
971aee0e1c hal/dx12: buffer creation, device idling 2021-07-13 01:01:18 -04:00
Dzmitry Malyshau
0942fb1346 hal/dx12: swap chain configuration 2021-07-13 01:01:17 -04:00
Dzmitry Malyshau
eb565a59f7 hal/dx12: move device and encoder into modules 2021-07-13 01:01:17 -04:00
Dzmitry Malyshau
3a2bbfd563 hal/dx12: adapter initialization 2021-07-13 01:01:16 -04:00
Connor Fitzgerald
d6e386df2d Check docs in CI 2021-07-12 23:38:06 -04:00
bors[bot]
4b4e393eec
Merge #1641
1641: Enable VK_KHR_timeline_semaphore On Vulkan < 1.2 r=kvark a=zicklag

**Connections**
Fixes #1640 

**Description**
This is my attempt to fix #1640.

**Testing**
Test the `cube` example on:
- `Intel(R) UHD Graphics (CML GT2) (Vulkan)`
- `Using GeForce GTX 1650 (Vulkan)`


Co-authored-by: Zicklag <zicklag@katharostech.com>
2021-07-12 23:59:03 +00:00
Zicklag
7e837ffcdc Enable VK_KHR_timeline_semaphore On Vulkan < 1.2 2021-07-12 18:51:38 -05:00
bors[bot]
6c8e046238
Merge #1639
1639: Doc fixes for wgpu r=cwfitzgerald a=jimblandy

This PR makes `cargo doc --all-features` work without errors.

Commits are organized for ease of review (and for revision, if I screwed something up).


Co-authored-by: Jim Blandy <jimb@red-bean.com>
2021-07-12 21:27:52 +00:00
Jim Blandy
51dc5b407c Doc fixes: Broken links, <code> formatting. 2021-07-12 12:53:43 -07:00
Jim Blandy
3cbd845afb Docs: Fix outdated references to VertexStateDescriptor::vertex_buffers. 2021-07-12 12:53:42 -07:00
Jim Blandy
db9d076ffa Docs: get_timestamp_period is now a method on Queue, not Device. 2021-07-12 12:50:09 -07:00
Jim Blandy
454164c1d0 Docs: Fix outdated references to SAMPLED_TEXTURE_BINDING_ARRAY.
This is now simply `Features::TEXTURE_BINDING_ARRAY`.
2021-07-12 12:50:09 -07:00
Jim Blandy
3e6629ceca Document that no dimension of a texture's size may be zero. 2021-07-12 12:50:09 -07:00
Jim Blandy
ae4a450103 RenderEncoder doc fixes.
Change references to `RenderBundleEncoder` in descriptions of `RenderEncoder`
methods to `RenderEncoder` instead, since they all seem to be referring to
methods of this trait, and presumably apply to `RenderPass`es as well.
2021-07-12 12:50:05 -07:00
bors[bot]
c41efb0256
Merge #1634
1634: Improve documentation of ImageDataLayout r=kvark a=cwfitzgerald

**Connections**

Fixes #1626.

**Description**

Just improves the docs.

**Testing**

Docs. @StarArawn take a look if that clears things up.


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-07-12 18:12:17 +00:00
bors[bot]
5c2e40c6ed
Merge #1636
1636: Rename StoreOp::Clear to StoreOp::Discard r=kvark a=Wumpf

(recent change in spec)

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2021-07-12 16:47:19 +00:00
Andreas Reich
f5a4cbc0e1 Rename StoreOp::Load to StoreOp::Discard
(recent change in spec)
2021-07-12 18:06:15 +02:00
Connor Fitzgerald
3deb4f5fb6 Improve documentation of ImageDataLayout 2021-07-12 02:16:38 -04:00
bors[bot]
3d16671e3f
Merge #1633
1633: Always use EXT Robustness with EGL r=kvark a=cwfitzgerald

**Connections**

Closes #1631. Closes #1577. 

**Description**

KHR robustness doesn't seem to work on any real platform. This unconditionally uses EXT robustness.

**Testing**

Works on rpi and my haswell rig. @Gordon-F could you check your android?


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-07-12 04:38:58 +00:00
Connor Fitzgerald
6c1dd5e153 Always use EXT Robustness 2021-07-11 22:28:45 -04:00
bors[bot]
e5142b3cdc
Merge #1623
1623: Enable All Backends for Trace Player r=cwfitzgerald a=zicklag

**Connections**
None

**Description**
I just spent a bit of time trying to figure out how to get the trace player to play an OpenGL trace before realizing that only the primary backends were enabled at instance creation. This just enables all backends in the trace player. I believe that this should be harmless as it shouldn't change anything for traces on the primary supported backends.

**Testing**
It's not tested specifically, but it's such a minor change it shouldn't matter, I think.


Co-authored-by: Zicklag <zicklag@katharostech.com>
2021-07-10 01:51:22 +00:00
Zicklag
0614ccea7e Enable All Backends for Trace Player 2021-07-09 20:42:59 -05:00
bors[bot]
e27fbb821b
Merge #1612
1612: Update `web-sys` r=grovesNL a=a1phyr

`wgpu` uses unstable APIs so the version has to be pinned and manually updated.

No breaking changes happened in `0.3.51` so this update is easy.

Co-authored-by: Benoît du Garreau <bdgdlm@outlook.com>
2021-07-07 18:44:46 +00:00