Dzmitry Malyshau
749f737c89
Add pervasive Naga support to shader module loading
...
The purpose of the PR is to support Naga modules everywhere.
As a requirement, it updates the gfx-rs version used.
Most of the logic is dedicated towards building a shader interface,
where previously we just used naga's IR. Now we have our own mini-IR.
2020-12-05 11:31:03 -05:00
Dzmitry Malyshau
9e2f6c2f01
Move to gfx master
2020-11-30 22:50:13 -05:00
Dzmitry Malyshau
10c11d718d
Replace gfx-descriptor by gpu-descriptor
2020-11-30 21:48:04 -05:00
lordnoriyuki
162cd6bd86
Disable gfx-backend-gl on macOS
2020-11-28 16:11:16 -08:00
Dzmitry Malyshau
55851add9b
player: use the wgpu-cores's gfx-select macro
2020-11-26 14:47:48 -05:00
Dzmitry Malyshau
2f55c708b8
Update gpu-alloc and naga with linear allocation fixes
2020-11-24 09:40:36 -05:00
Dzmitry Malyshau
fccbca28bd
[error] shader module creation, separate descriptor
2020-11-23 11:57:32 -05:00
Dzmitry Malyshau
b48764728d
Update gpu-alloc and naga
2020-11-18 09:24:43 -05:00
msiglreith
b09027a74a
export ndk toolchain path
2020-11-15 18:34:55 -05:00
Dzmitry Malyshau
b0a98548d1
Update naga to 4d4e1cd4cb
2020-11-13 12:26:48 -05:00
Dzmitry Malyshau
22efbeae70
Replace gfx-memory by gpu-alloc
2020-11-09 12:16:34 -05:00
Zicklag
f7f1ff699a
Implement OpenGL Backend For Unix Platforms
2020-11-04 20:32:33 -06:00
Dzmitry Malyshau
a4e8d58144
Update gfx-backend-vulkan to 0.6.4
2020-10-15 16:03:30 -04:00
Dzmitry Malyshau
50594a747d
Another small Naga update
2020-10-07 16:14:25 -04:00
Dzmitry Malyshau
c18ac58fd8
Update naga with the new usage validation
2020-09-28 10:18:35 -04:00
Dzmitry Malyshau
6a3c106cc4
Update naga with new image API
2020-09-11 12:34:20 -04:00
Dzmitry Malyshau
fc27920fde
Unlock nightly builds on CI
2020-09-10 11:04:24 -04:00
Zicklag
7572dbeaf9
Use CFG Aliases to Replace the backends! Macro
...
Uses the `cfg_aliases` crate to replace the `backends!` macro and
provide a more natural way to gate backend specific code.
2020-08-29 21:55:17 -05:00
Dzmitry Malyshau
ceac2344fc
Update naga to bd9efe5915
2020-08-27 11:52:02 -04:00
Dzmitry Malyshau
b5475d7d80
Update naga to 4797773152
2020-08-26 15:35:14 -04:00
Dzmitry Malyshau
901b043b19
Version bump to 0.6 and changelog update
2020-08-17 16:51:22 -04:00
Connor Fitzgerald
350637df40
Factor wgpu-subscriber into its own repo
2020-08-17 16:36:22 -04:00
Dzmitry Malyshau
d1da6d8106
Switch gfx-hal to 0.6
2020-08-17 10:34:50 -04:00
Dzmitry Malyshau
d8341c5996
Add labels to pipelines
2020-08-13 12:14:24 -04:00
Dzmitry Malyshau
d07d8503a0
Move the subscriber into a different crate
2020-08-12 15:00:15 -04:00
Dzmitry Malyshau
3291b72368
Update naga and fix type widths
2020-07-31 23:46:19 -04:00
Dzmitry Malyshau
bf862b7907
Clarity renames according to the Gecko review
2020-07-28 16:58:28 -04:00
Connor Fitzgerald
cb485f3798
Convert all logging to tracing and add fmt logger
2020-07-25 19:33:21 -04:00
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