Commit Graph
8897 Commits
Author SHA1 Message Date
daxpedda 318cb7aa9b Implement Clone for ShaderModuleDescriptor (#3086) 2022-10-09 14:14:33 -04:00
Andreas Reich acadd8dad5 webgl backend supports now non-srgb framebuffer (#3070) 2022-10-08 23:48:44 -04:00
Lucas Kent 81dc1e24eb Update cargo-run-wasm (#3057) 2022-10-08 22:51:01 -04:00
Lukas HerzbergerandConnor Fitzgerald 3cd93983b2 Create instance from worker (#2858)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-10-08 05:49:20 +00:00
Olaroll f57db150f2 Fixed missing device feature in mipmap example (#3081) 2022-10-08 05:42:57 +00:00
daxpedda 02cc2ae234 [BREAKING] Make Shader(Module)Source::Wgsl optional (#2890) 2022-10-08 01:12:50 -04:00
char0313 6451d31b7a Add a CHANGELOG entry 2022-10-07 18:16:23 -04:00
char0313 d5f1941fea Change msrv and ci 2022-10-07 18:16:23 -04:00
char0313 ac5390528e Convert All Default Implementations on Enums to derive(Default) 2022-10-07 18:16:23 -04:00
Connor Fitzgerald 29643139e1 Update cargo-public-api report in release notes (#3078) 2022-10-07 00:01:40 +00:00
Sludge a7193d652e Fix repository link pointing to the 0.9 branch (#2078) 2022-10-06 19:39:41 -04:00
terrarier2111 1e63e8ca9b Implement Default for CompositeAlphaMode (#3074) 2022-10-06 20:07:12 +00:00
Jim Blandy 58f92cc6b4 Provoke VUID-vkDestroyDevice-device-00378 without #3069. (#3075) 2022-10-06 18:06:32 +00:00
Nicolas Silva f68a095ecb Add an entry in the changelog. 2022-10-06 10:12:16 -07:00
Nicolas Silva 0a3e209c90 Shrink the default max binding index to 640 and expose it in Limits.
Following the corresponding changes happening in WebGPU.
2022-10-06 10:12:16 -07:00
Nicolas Silva 7892b0f96e Set web-sys dep to 0.3.60.
Looks like web-sys makes non-breaking version bumps when there are breaking changes in unstable APIs so sticking to specific versions should avoid unnecessary breakage.
2022-10-06 10:12:16 -07:00
Jim Blandy c781971792 When a command encoder is dropped, destroy its hal command buffer. (#3069)
Fixes #2965.
2022-10-06 01:06:55 -07:00
Connor Fitzgerald 261069d04f Bump changelog wgpu-core-v0.14.0 wgpu-v0.14.0 wgpu-types-v0.14.0 v0.14.0 wgpu-hal-v0.14.0 2022-10-05 18:45:25 -04:00
Connor Fitzgerald 872b436104 Update version to 0.14 2022-10-05 18:45:25 -04:00
Connor Fitzgerald 91e0dbd1ae Update naga + deps 2022-10-05 18:45:25 -04:00
Mikko Lehtonen 60fd2a32e9 Implement missing PrettyError impls (#3066) 2022-10-05 18:43:52 -04:00
Yaroslav BiletskyiandConnor Fitzgerald 50e2a5becf Implement copyExternalImageToTexture (#2781)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-10-05 21:56:26 +00:00
Nicolas SilvaandConnor Fitzgerald 37de3a3574 Set the image stride to zero when updating a single layer on metal. (#3063)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-10-05 21:45:12 +00:00
Jinlei LiandConnor Fitzgerald b13bb468cb gl: add Rgba16Float format support for color attachments (#3045)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-10-05 21:31:22 +00:00
Jinlei Li 4992de5938 gl: ASTC_HDR feature detection (#3042) 2022-10-05 17:08:45 -04:00
Connor Fitzgerald c52d91023d Add changelog and bump version to 0.10 (#2077) naga-v0.10.0 naga-cli-v0.10.0 2022-10-05 17:04:49 -04:00
Dragoș Tiselice 5c33e23b66 Fixed buffer sizes encoding on Metal. (#3047) 2022-10-05 16:44:51 -04:00
i509VCB 2372895944 Handle unsupported surfaces more gracefully (#3054) 2022-10-05 16:42:06 -04:00
Jim Blandy b79c455144 Make hal::CommandEncoder and hal::CommandBuffer extend Debug. (#3060) 2022-10-05 16:38:21 -04:00
Mauro Gentile 7b8dd4e0bd Vulkan Command pool optimization (#3065) 2022-10-05 16:36:18 -04:00
João Capucho e07fd981c2 glsl-in: Update initializer list type when parsing (#2066)
Previously when parsing an initializer list, the type passed to
`parse_initializer` was not updated to reflect the child type, this
caused implicit conversions to not work and nested initializer lists to
not be allowed.
2022-10-05 11:17:25 -07:00
Igor Shaposhnik 0f26e5c808 [validate] Fix compiler warning 2022-10-04 15:21:36 +01:00
Leo KettmeirandAlphyr 26f223964e use custom ser/de impl for TextureFormat (#2908)
Co-authored-by: Alphyr <47725341+a1phyr@users.noreply.github.com>
2022-09-29 13:43:50 -04:00
Xiaopeng Li c927e810de Fix label leak (#3053) 2022-09-27 02:49:21 -04:00
SpecificProtagonist b65ebb4b30 remove copyless (#3050) 2022-09-26 05:15:35 +00:00
Jim Blandy 27a27568d6 Placate clippy 0.1.64. (#3048)
Derive `Eq` on some types in `wgpu-hal`.
2022-09-23 23:54:40 +00:00
2c1d7a8a5c Split Blendability and Filterability into Two Different TextureFormatFeatureFlags (#3012)
* Split Blendability and Filterability into Two Different TextureFormatFeatureFlags

* Update CHANGELOG.md

* Split out individual booleans to improve readability

* Make sure blendablity is correctly set for guaranteed format features of WebGPU

* Cargo fmt

Co-authored-by: Xander Warnez <xander.warnez@materialise.be>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-09-21 19:39:01 +00:00
i509VCBandConnor Fitzgerald 061e04bff1 expose driver info in AdapterInfo (#3037)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-09-21 02:45:28 +00:00
Mauro GentileandMauro Gentile cdf6ee0c87 Updating TextureFormat matching specs (#2954)
Co-authored-by: Mauro Gentile <Mauro.Gentile@ubisoft.com>
2022-09-20 12:08:06 -04:00
Leo Kettmeir f8ff5a8ffa Update deno (#3041) 2022-09-20 12:06:12 -04:00
Jinlei Li ffd733726a Update wasm32 dependencies, set alpha_mode on web target (#3040) 2022-09-20 06:53:55 +00:00
i509VCB 65e405193e vulkan: use effective api version for determining device features (#3011) 2022-09-20 01:11:15 -04:00
i509VCB f877a8a3c9 Vendor id clarification (#3036)
* set GL vendor for id Mesa and Apple

* match on "apple m" to mark M2 cpu as integrated in gles

* document AdapterInfo::vendor if the vendor has no PCI id
2022-09-19 23:52:00 -04:00
Leo KettmeirandVicary A 03b989c235 Upstream denoland/deno#15853 (#3038)
Co-authored-by: Vicary A <vicary@yahoo.com>
2022-09-20 02:54:25 +00:00
João Capucho c61f61ca0e dx12: Add support for push constants (#2866) 2022-09-19 20:47:24 -04:00
i509VCB 6f2c393024 move GL vendor magic numbers to "auxil::db" (#3035) 2022-09-19 06:48:15 +00:00
daxpedda 95408cd48b [BREAKING] Wrap ShaderSource::Naga in Cow<'static> (#2903) 2022-09-19 00:50:46 -04:00
ImbrisandConnor Fitzgerald 41006d7a88 Buffer usages mismatch check and documentation for mapped_at_creation size requirement. (#3023)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-09-19 04:41:29 +00:00
Jinlei Li 44399bb4a3 Expose alpha_mode, support non-opaque mode on metal and vk backends (#2836) 2022-09-19 00:10:21 -04:00
Alphyr d1c94d09e2 Update dependencies (#3021) 2022-09-18 23:53:21 -04:00