Dzmitry Malyshau
82d149b871
Naga update, remove spirv_headers dependency
2020-07-22 11:05:42 -04:00
Gabriel Majeri
ce5bcf86f1
Use thiserror
for validation module
2020-07-17 20:21:19 +03:00
Dzmitry Malyshau
acef9206a6
Player-based GPU test framework
2020-07-17 00:08:43 -04:00
Kunal Mohan
26dcdaae59
Add Error State to Storages ( #776 )
...
* Add Error State to Storages
fix #772
* use resize function in insert
* address review comments
2020-07-10 14:29:22 -04:00
Dzmitry Malyshau
7686bb5cad
Update gfx-extras for the memory changes
2020-07-07 16:41:26 -04:00
Connor Fitzgerald
441b6e0d04
Implement MultiDrawIndirect Extensions
2020-06-27 23:43:23 -04:00
Dzmitry Malyshau
448ecc1bb1
gfx-memory update
2020-06-26 01:12:58 -04:00
Dzmitry Malyshau
0ed90d001b
Tweak the logging a bit to make debug level usable
2020-06-24 10:26:43 -04:00
Connor Fitzgerald
62a870280f
Refine Logging Levels
2020-06-22 02:13:04 -04:00
Connor Fitzgerald
c1f0021a05
Add Chrome Backend
2020-06-20 20:55:59 -04:00
Connor Fitzgerald
1b2cf3cd22
Add Tracing and Instrument Entry Points
2020-06-20 14:26:50 -04:00
Dzmitry Malyshau
365f4e8786
Remove peek-poke.
...
There was a lot of highly unsafe use of serialization based on peek-poke that we
weren't entirely happy with. It's replaced by just serializing the passes now.
Also, switch BufferSize to Option<NonZero>.
2020-06-20 00:39:11 -04:00
Dzmitry Malyshau
0c0ecc3b09
Switch to latest nightly
2020-06-19 11:16:29 -04:00
Dzmitry Malyshau
ff5c9c9ffc
Naga update with offsets and strides
2020-06-19 11:14:29 -04:00
bors[bot]
d7d0fd5dfe
Merge #735
...
735: Set descriptor set name when creating bind group r=kvark a=GabrielMajeri
**Description**
There is a [`TODO` in the code](a02a566841/wgpu-core/src/device/mod.rs (L1428)
) for setting the descriptor set name when creating a bind group. It was blocked on https://github.com/gfx-rs/gfx-extras/pull/5
**Testing**
Tested with examples from `wgpu-rs`.
Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com>
2020-06-19 13:33:32 +00:00
Gabriel Majeri
eba5c7e877
Set descriptor set name when creating bind group
2020-06-19 15:20:01 +03:00
Dzmitry Malyshau
0cd1ec2981
Dummy workspace crate
2020-06-18 14:16:04 -04:00
Dzmitry Malyshau
35a1dc3076
Basic support for WGSL
2020-06-17 13:29:43 -04:00
Connor Fitzgerald
bfcc369bc7
Implement SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING
2020-06-12 19:52:10 -04:00
Connor Fitzgerald
57b3b72571
Implement TEXTURE_BINDING_ARRAY extension
2020-06-10 22:35:25 -04:00
Dzmitry Malyshau
e648516ff9
player: enable x11 on Unix/Vulkan
2020-06-01 16:54:40 -04:00
Dzmitry Malyshau
6fb2b272e4
Fix recycling of command buffers
2020-05-31 11:50:24 -04:00
Gabriel Majeri
f70f32af87
Add optional SPIR-V shader validation
...
# Conflicts:
# Cargo.lock
2020-05-09 19:55:10 +03:00
Paul Kernfeld
29a4cee002
Add a loom test for RefCount
2020-05-06 13:53:57 -04:00
Dzmitry Malyshau
5bbe6ec38c
Integrate with RenderDoc on winit-less captures ( #627 )
2020-05-01 15:34:32 -04:00
Dzmitry Malyshau
854c1be035
trace: support pipelines, refactor destruction sequence
2020-04-30 09:55:52 -04:00
Dzmitry Malyshau
018417f174
trace: replaying all the commands
2020-04-30 09:55:52 -04:00
Dzmitry Malyshau
dbb261b7f1
Remove wgpu-native and wgpu-remote
2020-04-16 22:35:59 -04:00
Dzmitry Malyshau
7dba052900
Version bump and CHANGELOG update
2020-04-06 08:55:39 -04:00
Rukai
99161cbeb5
Use crates.io release of peek-poke
2020-04-05 23:06:02 -04:00
Dzmitry Malyshau
4b69b4257f
Parking lot update to 0.10
2020-03-27 10:42:18 -04:00
Dzmitry Malyshau
2e9610e8c9
Request NDC_Y_FLIP feature
2020-03-27 00:54:01 -04:00
Dzmitry Malyshau
8aeeb8e318
Port to gfx-extras and gfx-hal-0.5
2020-03-27 00:54:01 -04:00
Joshua Groves
b58c15815b
Move more shared types into wgpu-types
2020-03-14 23:08:05 -02:30
Joshua Groves
9940aef599
Move some types into shared wgpu-types crate
2020-03-10 22:36:23 -02:30
Logan McGrath
7927f4cb2b
Using default nsview if not provided by raw-window-handle
2020-01-18 10:06:10 -08:00
Dzmitry Malyshau
a51019795e
Switch to a custom fork of peek-poke
2020-01-13 16:52:59 -05:00
Dzmitry Malyshau
40ac14e92c
Switch the examples to use the new raw passes
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
c01a7c6abe
Use peek-poke for compute pass encoding
2020-01-13 16:52:58 -05:00
Mark Swanson
c757ba827b
Switch XlibHandle window to c_ulong
2020-01-01 10:49:00 -05:00
Mike Hommey
1175fb35f3
Run cargo update
to pick newer compatible versions of dependencies
2019-12-06 15:13:05 +09:00
Mike Hommey
74d83fdedd
Update smallvec to 1.0
2019-12-06 13:37:30 +09:00
Dzmitry Malyshau
6c632d1366
Separate native from the core
2019-11-16 00:36:23 -05:00
Dzmitry Malyshau
9ffcbe5f9d
Release preparations
2019-11-03 18:52:57 -05:00
Dzmitry Malyshau
cb692620ca
Don't depend on gfx-auxil
2019-11-02 00:24:36 -04:00
Dzmitry Malyshau
271c709645
Update to latest rendy with gfx-0.4
2019-10-28 11:59:18 -04:00
Dzmitry Malyshau
e37149b3a8
Remove all the IPC
2019-10-25 12:06:12 -04:00
Terrence Cole
78fbbba5e9
Support Limits::max_bind_groups ( #348 )
...
* Pass max_bind_count down into Binder.
* Use the existing hub.
* Remove accidental newline.
2019-10-14 21:57:05 -04:00
Rukai
31ef688213
Updated deps
2019-10-06 11:17:57 +11:00
Dzmitry Malyshau
5f1c432706
New swapchain model
2019-09-09 20:53:35 -04:00
Dzmitry Malyshau
988d78435a
Switch to use gfx-rs latest and greatest master
2019-09-06 10:05:53 -04:00
Dzmitry Malyshau
175e992149
DX12/DX11 hookup, improved adapter selection
2019-08-29 09:44:34 -04:00
Dzmitry Malyshau
e84ae4a4b2
Feature-less backend selection
...
This PR removes optional backend features in favor of run-time
selection at the `request_adapter` entry point. Adapters from all
supported gpu backends on the platform are reported.
It also makes gfx-rs dependency to be public (for now).
2019-08-27 20:55:49 -04:00
Dzmitry Malyshau
6fdeea23c5
Refactor Id logic.
...
This change merges `Id` with `GenericId` and abstracts away its contents, exposing itself as just u64. This will allow us to encode the backend type into it, in addition to index and epoch.
It also refactors `TypedId` to have a single function extracting all the fields, since this is how it's used all the times anyway.
2019-08-27 20:54:30 -04:00
Dzmitry Malyshau
87b61d206c
Fix instance init on Windows and check it on CI
2019-08-22 11:29:45 -04:00
Dzmitry Malyshau
a9cfde1d9d
Fixed pipeline barriers that are not transitions
2019-08-21 13:11:46 -04:00
Dzmitry Malyshau
1d36203c9a
Raw window handle support instead of winit
2019-08-20 23:41:14 -04:00
yanchith
f7418422f9
Update rendy-memory and rendy-descriptor to 0.4 from crates.io
2019-08-20 17:53:09 +02:00
Dzmitry Malyshau
f30cb20508
Make winit truly optional
2019-08-17 23:37:16 -04:00
Rukai
e61b16f7ed
Update to gfx hal 0.3
2019-08-11 09:39:52 +10:00
Dzmitry Malyshau
41d0ce14d6
Rebind with proper dynamic offsets
2019-07-22 00:16:29 -04:00
John W. Bruce
25834b0312
Derive Debug for All Remaining Types
...
With gfx-hal 0.2.1 and the various backend releases on 2019-06-28, all
of the gfx-hal types that wgpu depends on implement Debug. Thus, some
types that could not derive Debug in #216 can now derive Debug.
This patch also adds Debug implementations for a few types that were
recently added to wgpu.
Fixes #76 .
2019-07-04 17:49:21 -07:00
Rukai
194943c12c
Full MSAA handling
2019-06-23 22:17:42 +10:00
Dzmitry Malyshau
351432aae2
hook up rendy-memory
2019-05-30 13:34:43 -04:00
Dzmitry Malyshau
9c408f919c
Hook up rendy-descriptor
2019-05-30 08:35:34 -04:00
kyren
8680195c91
Add gfx-backend-gl support
...
Also adds glutin-specific support methods to wgpu-native
2019-05-19 15:10:52 -04:00
Dzmitry Malyshau
5597846018
Update to gfx-hal 0.2
2019-05-13 11:07:28 -04:00
Dzmitry Malyshau
6ce9cbd679
Remove Rust wrapper and examples
2019-05-10 20:40:42 -04:00
Rukai
16cc03be31
Update deps + upgrade examples to rust 2018
2019-05-07 22:38:41 +10:00
Dzmitry Malyshau
6ac666a5aa
Introduce ClientFactory
2019-04-30 15:37:46 -04:00
Dzmitry Malyshau
61fca00f34
Remove wgpu-bindings in favor of configuration scripts
2019-04-30 12:45:05 -04:00
Dzmitry Malyshau
0011d9f4ff
Global manager for instance names on the remote client
2019-04-30 09:19:40 -04:00
Dzmitry Malyshau
83a83f33e7
Track epochs of the frame semaphores to wait for
2019-04-03 17:48:26 -04:00
Dzmitry Malyshau
c283a8b115
Update changelog and versions
2019-03-31 20:04:39 -04:00
Dzmitry Malyshau
0b51c8a9d2
Clean up use statements.
...
Use copyless::VecHelper and ArrayVec for some things.
Refactor map_buffer internals.
2019-03-21 12:05:53 -04:00
Dzmitry Malyshau
dc31e4bdd0
Fix descriptor size, bump versions
2019-03-20 14:52:59 -04:00
Dzmitry Malyshau
81114a8ca2
Bump the descriptor pool size
2019-03-20 14:52:38 -04:00
Dzmitry Malyshau
0bb4daa696
Version bumps to 0.2.0
2019-03-06 10:02:43 -05:00
Dzmitry Malyshau
7149ba83ba
Update dx11 dependency in the lockfile
2019-03-05 23:01:13 -05:00
Tristam MacDonald
6ef53d7705
Convert shadow sample to map_async
2019-03-05 19:04:21 -08:00
Dzmitry Malyshau
e16ceafb81
Epoch tracking of indices
2019-02-26 10:12:11 -05:00
Dzmitry Malyshau
bd0de53f8e
First bits of wgpu-remote
2019-02-26 10:10:07 -05:00
Tristam MacDonald
8431da80ed
Implement map read/write async
2019-02-26 06:45:07 -08:00
Dzmitry Malyshau
a7476ee69a
rust: temporary vector of command buffers
2019-02-21 08:15:39 -05:00
Dzmitry Malyshau
844d371989
Command encoder interface
2019-02-12 16:48:56 -05:00
Dzmitry Malyshau
1c95eef7a3
Depenency gfx update to 0.1.1
2019-02-05 09:45:52 -05:00
Dzmitry Malyshau
d50f8199dd
Buffer to texture copies
2019-02-03 21:59:35 -05:00
Dzmitry Malyshau
d4c8c881d0
gfx framework GLSL reading, most of the cube example
2019-02-02 22:48:53 -05:00
Dzmitry Malyshau
ed5499d025
Basic gfx-examples framework
2019-02-02 21:02:33 -05:00
Dzmitry Malyshau
57f0cd184f
native: basic support for pipeine stages in barriers
2019-01-31 21:42:35 -05:00
Dzmitry Malyshau
8547b591ad
Dependencies and Cargo configurations update for 0.1
2019-01-24 07:39:51 -08:00
Dzmitry Malyshau
08cd75f38c
Set vertex and index buffers
2019-01-21 16:18:56 -05:00
Joshua Groves
e51cce7e5d
Lock cbindgen to working revision
2019-01-20 15:47:54 -07:00
Dzmitry Malyshau
5deb6e2047
DX11 support
2019-01-17 23:03:11 -05:00
Dzmitry Malyshau
68cacd4829
native: basic surface and swapchain creation
2019-01-14 16:03:51 -05:00
porky11
6675a4d3e4
update to current version of gfx
2019-01-12 19:03:17 +01:00
Dzmitry Malyshau
f4bb1903bf
Fix deadlock in barrier insertion
2018-12-01 22:53:21 -05:00
Dzmitry Malyshau
d4c415f666
Improve locking safety for Registry
2018-11-27 11:06:22 -05:00
Joshua Groves
d92f222078
Use git dependency for cbindgen
2018-11-11 12:32:19 -07:00
Joshua Groves
f4cd450687
Disable rendy temporarily
2018-11-11 12:02:40 -07:00
Dzmitry Malyshau
9aa5977c22
Bindings update with the new cbindgen 0.6.7
2018-10-30 22:02:07 -04:00
Dzmitry Malyshau
f3cfd2e09c
Transition between command buffers
2018-10-26 22:15:48 -04:00
Dzmitry Malyshau
32b92afa5c
Root Makefile
2018-10-22 12:01:42 -04:00
Joshua Groves
6fb3b06303
Add rendy and create textures
2018-10-06 22:27:02 -06:00
Dzmitry Malyshau
62f5fc480d
Render pipeline states for Rust layer and example
2018-09-28 21:57:49 -04:00
Joshua Groves
e3d7fda9c7
Simplify registry access
2018-09-28 00:13:11 -06:00
Dzmitry Malyshau
3c583160d4
Port hello_triangle_rust example to use the new Rust wrapper
2018-09-26 14:31:06 -04:00
Dzmitry Malyshau
53c75d6aed
First bits of wgpu-rs
2018-09-26 14:31:03 -04:00
Joshua Groves
19ddb63e11
Fix remote get_mut
2018-09-24 21:20:03 -06:00
grovesNL
5759f769b0
Add initial bindings
2018-09-22 16:54:19 -06:00
Dzmitry Malyshau
9ecc25e907
Restructure the repo to host multiple crates
2018-09-18 21:48:18 -04:00
grovesNL
625424407a
Add pipeline types
2018-09-16 23:36:43 -06:00
grovesNL
4f513a3529
Update to latest gfx-memory
2018-09-15 11:04:36 -06:00
Dzmitry Malyshau
7c23f7f0a2
Create gfx-memory allocator
2018-09-14 12:01:56 -04:00
Dzmitry Malyshau
72dc47aba3
Hook up gfx-backend-empty
2018-09-14 09:16:30 -04:00
Dzmitry Malyshau
95d18b01ca
Add gfx-memory dependency
2018-09-14 09:09:36 -04:00
Dzmitry Malyshau
edc8980a9a
Add a simple example
2018-09-14 09:08:23 -04:00