Daniel Tang
07a2c9a712
Improve docs language
2021-02-01 02:19:32 -05:00
Andreas Reich
6b51328b2e
Add public structs for indirect command buffers
...
and fix missing IndirectBufferOverrun error for IndirectDispatch
2021-01-31 21:32:33 +01:00
Dzmitry Malyshau
4099c2ca8e
Fix depth bias documentation
2021-01-29 00:25:54 -05:00
Dzmitry Malyshau
14eb99da87
Add DepthBiasState, rename StencilStateFace
2021-01-29 00:07:46 -05:00
Dzmitry Malyshau
cef0a30aa2
Add 0.7 changelog
2021-01-28 01:21:20 -05:00
Dzmitry Malyshau
0346b43982
Update the render pipeline API
2021-01-27 15:09:13 -05:00
Jonathan Behrens and monocodus[bot]
a97ec9df91
Add SHADER_FLOAT64 feature ( #1154 )
...
* Add SHADER_FLOAT64 feature
* Also enable SHADER_FLOAT64 hal feature when creating the device
* Update wgpu-core/src/instance.rs
Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com>
* Add warning about 64-bit float performance
* Add (currently unsupported) VERTEX_ATTRIBUTE_64BIT feature
Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com>
2021-01-24 21:59:09 -05:00
Connor Fitzgerald
a22037ced0
Add pipeline statistics and timeline queries
2021-01-16 00:48:54 -05:00
Andreas Reich
e29d17a13f
wgpu format features are again part of TextureFormatInfo
...
+ some cleanup/fix indentations
2021-01-05 23:54:50 +01:00
Andreas Reich
4207e57c02
validation against adapter specific format features
...
TextureFormatFeatures is now a struct of two u32 flags. Query happens only at texture creation time
2020-12-30 10:38:55 +01:00
Andreas Reich
0ccad9a466
wip adapter specific format features & rw storage
2020-12-29 17:14:22 +01:00
Joshua Groves
45b5ddcb83
Use repr(transparent) for shader flags
...
This allows cbindgen to generate bindings for shader flags in
wgpu-native
2020-12-23 06:43:15 -03:30
Connor Fitzgerald
43814d258f
Add format usage descriptions and validate on it.
2020-12-21 23:08:31 -05:00
Dzmitry Malyshau
b95a66da5e
Move AdapterInfo into wgt
2020-12-18 16:43:19 -05:00
Dzmitry Malyshau
f07cc8156b
Update naga and gfx, move the shader validation into a shader descriptor bit
2020-12-17 11:33:47 -05:00
Connor Fitzgerald
8f430ab1ef
Implement ETC2 and ASTC textures
2020-12-05 19:30:26 -05:00
kejor
4513fb2b83
Match upstream API changes for IndexFormat
2020-12-01 19:19:41 -05:00
Dzmitry Malyshau
5949dec61d
Update bind group layout API to match upstream
2020-11-28 00:30:27 -05:00
Imbris
44a20d72ef
Make VertexFormat::size a const fn
2020-11-26 03:36:13 -05:00
Dzmitry Malyshau
ad824de268
[error] bind groups and layouts creation
2020-11-23 11:57:32 -05:00
Zsolt Bölöny
2151a252ad
Rename TextureUsage::OUTPUT_ATTACHMENT to RENDER_ATTACHMENT
2020-11-08 14:24:39 +01:00
Dzmitry Malyshau
367735d085
Rename the lint to broken_intra_doc_links
2020-11-02 18:00:56 -05:00
Dzmitry Malyshau
6e3c7b359f
Add missing license headers
2020-10-28 13:40:41 -04:00
Connor Fitzgerald
dcc14fe645
Improve cubemap validation
2020-10-25 17:14:14 -04:00
Dzmitry Malyshau
c230988caa
Add repr(C) on copy views
2020-10-21 16:39:27 -04:00
Dzmitry Malyshau
8a364d3c69
Revert "Group binding writes by wgt::BindingType"
...
This reverts commit 98c3de7884 .
2020-10-15 15:52:58 -04:00
Dzmitry Malyshau
98c3de7884
Group binding writes by wgt::BindingType
2020-10-13 16:06:50 -04:00
frbimo
fdd561e69e
remove PowerPreference::Default
...
Signed-off-by: frbimo <fr.bimo@gmail.com >
2020-10-12 19:17:44 +08:00
Adam Nemecek
db1870e7fc
use self
2020-09-25 19:11:46 -07:00
Manuel Woelker
336d070b26
add polygon_mode: PolyonMode to RasterizationStateDescriptor to allow drawing wireframes
2020-09-09 21:34:37 +02:00
bors[bot] and Ivan Mironov
3f1abf571e
Merge #908
...
908: Clarify usage of SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING r=cwfitzgerald a=im-0
**Connections**
https://github.com/gfx-rs/wgpu-rs/pull/540
**Description**
This clarifies usage of SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING with GLSL.
**Testing**
This commit only changes documentation.
Co-authored-by: Ivan Mironov <mironov.ivan@gmail.com >
2020-09-02 20:43:32 +00:00
bors[bot] and Noah Charlton
6df8421f22
Merge #909
...
909: Add Quad play test r=kvark a=DevOrc
**Connections**
#807
**Description**
Adds a play test that renders a white quad to a texture. The texture is then copied to a buffer and checked for accuracy with a file of expected bytes (All 0xFF).
**Testing**
Cargo test succeeds
Co-authored-by: Noah Charlton <ncharlton002@gmail.com >
2020-09-01 20:18:21 +00:00
Noah Charlton
d05d1aeec1
Add Quad play test
2020-09-01 16:07:24 -04:00
Nathan Adams
0e94752749
Fix write-only stencil state descriptors from not working - fixes #911
2020-08-30 23:33:09 +02:00
Ivan Mironov
9557ab36a6
Clarify usage of SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING
2020-08-30 00:47:00 +05:00
Dzmitry Malyshau
b5475d7d80
Update naga to 4797773152
2020-08-26 15:35:14 -04:00
Justin Shrake
19eeee27ee
Add AddressMode::ClampToBorder behind a feature
2020-08-22 13:23:50 -07:00
Noah Charlton
c58ee9c54e
fix typo in vertex format documentation
2020-08-18 10:28:42 -04:00
Connor Fitzgerald
abb3c2f8db
Move push constant docs to correct feature
2020-08-16 19:52:53 -04:00
Dzmitry Malyshau
2473c25971
Refactor the stencil state descriptor a bit
2020-08-12 20:04:47 -04:00
Dzmitry Malyshau
a0711cf9b2
Move the RenderCommand into the shared draw module
2020-08-12 14:33:42 -04:00
Dzmitry Malyshau
9d8dc0b04d
Grand cleanup and refactor of the descriptors in the API
2020-08-12 14:13:32 -04:00
Dzmitry Malyshau
1f5622a0b3
Respect texture view aspect on creation
2020-08-10 16:14:20 -04:00
Dzmitry Malyshau
173c7c3dbf
Create implicit layouts for render pipelines
2020-08-09 14:43:44 -04:00
Dzmitry Malyshau
f18fa7ef9b
Derive bind group layout entries in Naga validation
2020-08-08 01:09:41 -04:00
Kunal Mohan
aa44969818
Replace u32 with NonZeroU32 in TextureView
2020-08-05 21:23:25 +05:30
Andrea Nardi
acfbbb42b5
Implementation of the builder pattern
...
Signed-off-by: Andrea Nardi <buongiorno19972@gmail.com >
2020-08-02 05:49:10 +02:00
Kunal Mohan
c8360152cd
Replace NonZeroU32 with u32 in TextureViewDescriptor
2020-07-30 21:35:07 +05:30
Connor Fitzgerald
e5c647745e
Implement TEXTURE_COMPRESSION_BC extension
2020-07-29 18:43:50 -04:00
Connor Fitzgerald
d5f23f9323
Add builder for TextureDescriptor
2020-07-29 14:28:03 -04:00