bors[bot]
cef978f8c5
[rs] Merge #516
...
516: Depend on less of futures r=cwfitzgerald a=JMS55
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com >
2020-08-18 23:24:39 +00:00
JMS55
37ad1ff38b
[rs] Shrink futures dependencies
2020-08-18 19:23:53 -04:00
bors[bot]
945a85f1c0
[rs] Merge #515
...
515: Add logging information to README r=kvark a=cwfitzgerald
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-08-18 15:11:41 +00:00
Connor Fitzgerald
e8c300fcbd
[rs] Add logging information
2020-08-18 11:08:15 -04:00
bors[bot]
01a019f84a
[rs] Merge #514
...
514: Release version 0.6 r=kvark a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-18 15:04:21 +00:00
Dzmitry Malyshau
2610544993
[rs] Release version 0.6
2020-08-18 10:31:27 -04:00
bors[bot]
c15a642498
[rs] Merge #513
...
513: Update parking-lot to 0.11 r=trivial a=cwfitzgerald
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-08-17 22:00:50 +00:00
Connor Fitzgerald
833bca6146
[rs] Update parking-lot to 0.11
2020-08-17 17:59:58 -04:00
bors[bot]
429aa6f1fd
[rs] Merge #512
...
512: Convert to using independent subscriber implementation r=kvark a=cwfitzgerald
https://github.com/gfx-rs/wgpu/pull/881 but for wgpu-rs.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-08-17 21:39:45 +00:00
Connor Fitzgerald
96a032d347
[rs] Convert to using independent subscriber implementation
2020-08-17 16:31:28 -04:00
bors[bot]
1a197c7f67
[rs] Merge #510
...
510: Update to hal-0.6 r=kvark a=kvark
Tested on macOS and Linux so far (examples)
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2020-08-17 15:42:33 +00:00
Dzmitry Malyshau
282130a70b
[rs] Update to hal-0.6
2020-08-17 11:41:58 -04:00
bors[bot]
28b3a3273f
[rs] Merge #509
...
509: Convert StagingBelt to take a &mut CommandEncoder r=kvark a=cwfitzgerald
This allows `StagingBelt` to be `Send`, very important for async/highly multithreaded applications. Also added a bit more documentation.
Tested on the skybox example.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-08-17 03:11:22 +00:00
Connor Fitzgerald
04ac773bc6
[rs] Convert StagingBelt to take a &mut CommandEncoder
2020-08-16 23:10:14 -04:00
bors[bot]
ca5ae98ad5
[rs] Merge #505
...
505: Update wgpu to 7e8b51b428 r=kvark a=kvark
Includes https://github.com/gfx-rs/wgpu/pull/876
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2020-08-13 21:42:27 +00:00
Dzmitry Malyshau
84cab2ef2f
[rs] Update wgpu to 7e8b51b428
2020-08-13 17:41:05 -04:00
bors[bot]
49100c3fa5
[rs] Merge #504
...
504: Update wgpu with pipeline labels r=trivial a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-13 17:05:00 +00:00
Dzmitry Malyshau
45de9a5462
[rs] Update wgpu with pipeline labels
2020-08-13 13:04:23 -04:00
bors[bot]
26ce126582
[rs] Merge #503
...
503: Update for the wgpu grand refactor r=kvark a=kvark
Depends on https://github.com/gfx-rs/wgpu/pull/873
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-13 04:27:09 +00:00
Dzmitry Malyshau
5c5483a25e
[rs] Update for the wgpu grand refactor
2020-08-13 00:26:40 -04:00
bors[bot]
ecb91664e6
[rs] Merge #501
...
501: Fighting back the bovine forces r=kvark a=Kimundi
<img src="https://dcassetcdn.com/w1k/submissions/399000/399327_d0ba.jpg " width="300">
"Good work boys, we'll get 'em next time!"
Co-authored-by: Marvin Löbel <loebel.marvin@gmail.com >
2020-08-12 14:31:00 +00:00
Marvin Löbel
40ded76554
[rs] Udderly remove cows from the following APIs:
...
- BufferDescriptor
- CommandEncoderDescriptor
- RenderBundleDescriptor
- TextureDescriptor
- TextureViewDescriptor
- PipelineLayoutDescriptor
- SamplerDescriptor
- BindGroupDescriptor
- ProgrammableStageDescriptor
- RenderPassDescriptor
- RenderPipelineDescriptor
- BindGroupLayoutDescriptor
- VertexStateDescriptor
- VertexBufferDescriptor
- RenderBundleEncoderDescriptor
- ComputePipelineDescriptor
Also change anisotropy_clamp to use NonZeroU8
2020-08-12 10:21:38 +02:00
bors[bot]
5805a4b3e2
[rs] Merge #502
...
502: Expose get_bind_group_layout r=grovesNL a=kvark
Returning a new object is fine for BGLs specifically and for these cases in particular because we made sure the refcount is bumped (and BGL has a special kind of refcount) in f164fd1f46
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-11 12:39:23 +00:00
Dzmitry Malyshau
30f93e6f8d
[rs] Expose get_bind_group_layout
2020-08-11 00:36:32 -04:00
bors[bot]
041c5dea77
[rs] Merge #500
...
500: Update wgpu for optional layouts r=3rdtimeisthecharm a=kvark
Fixes #498
Includes https://github.com/gfx-rs/wgpu/pull/872 and https://github.com/gfx-rs/wgpu/pull/870
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2020-08-10 21:54:18 +00:00
Dzmitry Malyshau
de41bac69b
[rs] Update wgpu for optional layouts
2020-08-10 16:42:52 -04:00
bors[bot]
5d85f591e9
[rs] Merge #496
...
496: Replace u32 with NonZeroU32 in TextureView r=kvark a=kunalmohan
Includes https://github.com/gfx-rs/wgpu/pull/865
Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com >
2020-08-05 17:45:46 +00:00
Kunal Mohan
f9ab713d0e
[rs] Replace u32 with NonZeroU32 in TextureView
2020-08-05 22:54:41 +05:30
bors[bot]
768c606844
[rs] Merge #494
...
494: Update wgpu with the error model changes r=cwfitzgerald a=kvark
Depends on https://github.com/gfx-rs/wgpu/pull/857
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-05 00:00:21 +00:00
Dzmitry Malyshau
6832ad1513
[rs] Update wgpu with the error model changes
2020-08-04 17:09:21 -04:00
bors[bot]
d846081d36
[rs] Merge #495
...
495: Update a documentation to refer to create_buffer_init() instead of create_buffer_with_data() r=kvark a=yutannihilation
A followup of #482
Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com >
2020-08-02 00:26:48 +00:00
Hiroaki Yutani
3c823e24c0
[rs] Update a doc's reference to create_buffer_init()
2020-08-01 17:57:13 +09:00
bors[bot]
6183e205a0
[rs] Merge #493
...
493: Use BCn textures if possible in skybox example r=kvark a=cwfitzgerald
This converts the skybox to using compressed textures if available. I have designed the code to be extensible to other compressed formats as they are added.
Additionally I added srgb to the texture types, as we were using a srgb framebuffer without properly converting into linear on the texture reads.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-07-31 02:52:35 +00:00
Connor Fitzgerald
aeffeaf869
[rs] Use BCn textures if possible in skybox example
2020-07-30 20:55:40 -04:00
bors[bot]
c320599e20
[rs] Merge #492
...
492: Replace NonZeroU32 with u32 in TextureViewDescriptor r=kvark a=kunalmohan
Includes https://github.com/gfx-rs/wgpu/pull/854
(rustfmt seems to have introduced a number of other changes. I can revert them if they are undesired)
r?@kvark
Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com >
2020-07-30 17:41:55 +00:00
Kunal Mohan
eba4cd977b
[rs] Replace NonZeroU32 with u32 in TextureViewDescriptor
2020-07-30 23:01:49 +05:30
bors[bot]
45df7b03ca
[rs] Merge #482
...
482: Add label parameter to `create_buffer_with_data` r=kvark a=OptimisticPeach
Improves QOL by allowing you to attach a label to a buffer when created with predetermined data:
```
let uniform_buf = device.create_buffer_with_data(
bytemuck::cast_slice(my_data),
wgpu::BufferUsage::UNIFORM,
Some(Cow::Borrowed("My Uniforms")),
);
```
Co-authored-by: OptimisticPeach <patrikbuhring@yahoo.com >
2020-07-30 02:08:24 +00:00
OptimisticPeach
208e3ec8a0
[rs] Combine create_buffer and create_buffer_with_dataCombines both by creating a new buffer descriptor which can deal with both of copying and allocating.
2020-07-29 21:35:21 -04:00
bors[bot]
a41b91b284
[rs] Merge #490
...
490: Panic using error Display rather than unwrapping r=kvark a=cormac-obrien
Fixes #489 .
Co-authored-by: Mac O'Brien <cormac@c-obrien.org >
2020-07-29 20:01:03 +00:00
Mac O'Brien
71b2763159
[rs] Panic using error Display rather than unwrapping
...
Fixes #489
2020-07-29 14:01:50 -05:00
bors[bot]
378834336e
[rs] Merge #484
...
484: Enable features in CI to prevent compiler errors r=kvark a=cwfitzgerald
Simple change, this also builds features in CI.
I added trace and replay features to wasm, even though wasm doesn't support tracing as is, because people may enable them to get serde support for wgpu-types stuff.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-07-29 16:59:20 +00:00
Connor Fitzgerald
3eda1c5990
[rs] Enable features in CI to prevent compiler errors
2020-07-29 12:58:08 -04:00
bors[bot]
db14d0f7ea
[rs] Merge #488
...
488: Update wgpu with view descriptor changes r=kvark a=kvark
Includes https://github.com/gfx-rs/wgpu/pull/846
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-07-29 03:37:05 +00:00
Dzmitry Malyshau
8a32c7dbb8
[rs] Update wgpu with view descriptor changes
2020-07-28 23:35:59 -04:00
bors[bot]
de36997986
[rs] Merge #487
...
487: Update to latest `wgpu-core` r=kvark a=GabrielMajeri
Pulls in the latest changes from `wgpu-core`, follow up for https://github.com/gfx-rs/wgpu/pull/841
Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com >
2020-07-28 19:58:28 +00:00
Gabriel Majeri
04c1ff27ea
[rs] Update to latest wgpu-core
2020-07-28 21:32:39 +03:00
bors[bot]
26eb6c0882
[rs] Merge #476
...
476: Convert to tracing for logging and add fmt logger r=kvark a=cwfitzgerald
wgpu-rs half of https://github.com/gfx-rs/wgpu/pull/835
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-07-26 04:46:37 +00:00
Connor Fitzgerald
927d80e0af
[rs] Convert to tracing for logging and add fmt logger
2020-07-26 00:44:39 -04:00
bors[bot]
67cab07e46
[rs] Merge #469
...
469: Update to latest `wgpu-core` device error handling r=kvark a=GabrielMajeri
Corresponding PR for https://github.com/gfx-rs/wgpu/pull/832
Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com >
2020-07-25 14:39:38 +00:00
Gabriel Majeri
3eec74cd9c
[rs] Unwrap errors from device functions
2020-07-25 07:46:32 +03:00