Dzmitry Malyshau
a535ca42e7
Update wgpu to 7e8b51b428
2020-08-13 17:41:05 -04:00
bors[bot] and Dzmitry Malyshau
333aeb73c1
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
1e695f2803
Update wgpu with pipeline labels
2020-08-13 13:04:23 -04:00
bors[bot] and Dzmitry Malyshau
471d2a1a48
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
ed9a2ca6df
Update for the wgpu grand refactor
2020-08-13 00:26:40 -04:00
bors[bot] and Marvin Löbel
d3edb9509c
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
e9cf243663
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] and Dzmitry Malyshau
8bfde457f1
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 https://github.com/gfx-rs/wgpu/commit/f164fd1f46390d6a51acc1c1082cc8e0c23dbb8c
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-08-11 12:39:23 +00:00
Dzmitry Malyshau
b07950ca8a
Expose get_bind_group_layout
2020-08-11 00:36:32 -04:00
bors[bot] and Dzmitry Malyshau
0414f4b550
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
924e4b38e4
Update wgpu for optional layouts
2020-08-10 16:42:52 -04:00
bors[bot] and Kunal Mohan
3069da1004
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
e110672a53
Replace u32 with NonZeroU32 in TextureView
2020-08-05 22:54:41 +05:30
bors[bot] and Dzmitry Malyshau
7087e3141c
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
9b5cbd98ad
Update wgpu with the error model changes
2020-08-04 17:09:21 -04:00
bors[bot] and Hiroaki Yutani
ffa9199402
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
b9dcf32595
Update a doc's reference to create_buffer_init()
2020-08-01 17:57:13 +09:00
bors[bot] and Connor Fitzgerald
8ac6145ce6
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
6e2f51018f
Use BCn textures if possible in skybox example
2020-07-30 20:55:40 -04:00
bors[bot] and Kunal Mohan
ac89cff224
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
9e365da89d
Replace NonZeroU32 with u32 in TextureViewDescriptor
2020-07-30 23:01:49 +05:30
bors[bot] and OptimisticPeach
50d6204665
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
2512c30e57
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] and Mac O'Brien
18f7408b0e
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
975e77b363
Panic using error Display rather than unwrapping
...
Fixes #489
2020-07-29 14:01:50 -05:00
bors[bot] and Connor Fitzgerald
1fb9344bf1
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
ccfe3ed285
Enable features in CI to prevent compiler errors
2020-07-29 12:58:08 -04:00
bors[bot] and Dzmitry Malyshau
9e520f8e7c
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
514e7699ff
Update wgpu with view descriptor changes
2020-07-28 23:35:59 -04:00
bors[bot] and Gabriel Majeri
e4711d0141
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
b17dbdb0b4
Update to latest wgpu-core
2020-07-28 21:32:39 +03:00
bors[bot] and Connor Fitzgerald
fe1c4021d9
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
7871d100c8
Convert to tracing for logging and add fmt logger
2020-07-26 00:44:39 -04:00
bors[bot] and Gabriel Majeri
2f96127006
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
5862ca3703
Unwrap errors from device functions
2020-07-25 07:46:32 +03:00
bors[bot] and Dzmitry Malyshau
cc54e9dece
Merge #481
...
481: Remove screenshots from README r=grovesNL a=kvark
Screenshots cover a ton of space, and now we have a dedicated hosted gallery for them.
I'm open to the idea of having *some* smaller screenshots here. It's just difficult to draw the line. Maybe README should show a few screenshots of examples only, and the gallery would not have them?
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-07-25 03:52:41 +00:00
Dzmitry Malyshau
01905ece10
Remove screenshots from README
2020-07-24 23:37:10 -04:00
bors[bot] and memoryruins
37d26f13dc
Merge #480
...
480: Fix the link to friend applications in the readme r=kvark a=memoryruins
The current link <sup> [1] </sup> brings one to a "Create new page" form for the wiki instead of the intended page <sup> [2] </sup>.
[1] https://github.com/gfx-rs/wgpu-rs/wiki/Applications
[2] https://github.com/gfx-rs/wgpu-rs/wiki/Applications-and-Libraries
Co-authored-by: memoryruins <memoryruinsmusic@gmail.com >
2020-07-25 00:42:55 +00:00
memoryruins
ee066d5cd3
Fix the link to friend apllications in the readme
...
The current link brings one to a "Create new page" form for the wiki instead of the intended page.
2020-07-24 18:45:05 -04:00
bors[bot] and Connor Fitzgerald
c75b0ee535
Merge #479
...
479: Split framework limit situation into requested/required r=kvark a=cwfitzgerald
Requiring individual examples be responsible for panicing if their features aren't supported is a bit bug-prone, so this encodes requirements in the framework and enforces it in the framework.
Additionally made the verbs consistent.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2020-07-24 21:39:46 +00:00
Connor Fitzgerald
7e17789987
Split framework limit situation into requested/required, enforcing correctness in the framework
2020-07-24 17:37:04 -04:00
bors[bot] and Andrea Nardi
9a9bf53a6e
Merge #475
...
475: Made RenderBundleEncoder derive Debug r=kvark a=Andful
This is a continuation of the pull request #466 and should resolve the issue #458 .
Co-authored-by: Andrea Nardi <buongiorno19972@gmail.com >
2020-07-24 19:11:05 +00:00
bors[bot] and Marvin Löbel
867b281875
Merge #477
...
477: Add more cows r=cwfitzgerald,kvark a=Kimundi
Co-authored-by: Marvin Löbel <loebel.marvin@gmail.com >
2020-07-24 15:57:02 +00:00
Marvin Löbel
166fdc1052
Fix missing cows in some places
2020-07-24 17:24:30 +02:00
Andrea Nardi
4784c45be4
Made RenderBundleEncoder derive Debug
...
Signed-off-by: Andrea Nardi <buongiorno19972@gmail.com >
2020-07-24 14:59:40 +02:00
bors[bot] and Dzmitry Malyshau
e785b213e4
Merge #473
...
473: Update wgpu, use defaults for rasterizer states, use depth-clamping r=straightforward a=kvark
Includes https://github.com/gfx-rs/wgpu/pull/833 last
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2020-07-24 02:36:24 +00:00
Dzmitry Malyshau
b76e560432
Update wgpu, use defaults for rasterizer states, use depth-clamping
2020-07-23 22:35:13 -04:00
bors[bot] and Marvin Löbel
25b5fb01dc
Merge #472
...
472: Fix two missed renames in docs r=grovesNL a=Kimundi
Co-authored-by: Marvin Löbel <loebel.marvin@gmail.com >
2020-07-24 00:15:57 +00:00
Marvin Löbel
a7abefaaab
Fix two missed renames in docs
2020-07-24 02:08:01 +02:00
Dzmitry Malyshau
37d176f67d
Use ACCESS_TOKEN for deployment
2020-07-23 18:24:40 -04:00