Jim Blandy
215884184b
Reformat comments in wgpu-core. ( #3102 )
2022-10-13 18:34:44 +00:00
Jim Blandy
fa4d8401e8
Use std::fmt::Formatter::debug_struct for RenderPass. ( #3100 )
2022-10-13 14:00:54 -04:00
i509VCB
7aca31fe9c
allow creation of wgpu_hal textures for gles backend ( #3046 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2022-10-13 06:41:12 +00:00
Jinlei Li
caee97e402
Add get_default_configure to simplify user creation of SurfaceConfiguration ( #3034 )
2022-10-13 06:15:46 +00:00
Xiaopeng Li
9272cc65cc
Fix memory leak on macOS ( #3056 )
2022-10-13 02:13:31 -04:00
Jinlei Li
b72bcc54dc
web: implement queue_validate_write_buffer ( #3098 )
2022-10-13 02:11:31 -04:00
Jinlei Li
42be6f36aa
web: call create_query_set and write_timestamp of web-sys ( #3091 )
2022-10-13 02:10:33 -04:00
Jim Blandy
f3d455b617
vulkan: Don't use pointer to dropped PhysicalDeviceDriverProperties. ( #3076 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2022-10-12 20:52:32 +00:00
Nicolas Silva
cf3ea638ee
(WIP) Add tests for empty buffers and map ranges ( #2879 )
2022-10-12 16:25:39 -04:00
Andreas Reich
aed3b1ae59
adds eq to DepthBiasState and DepthStencilState ( #3096 )
2022-10-12 14:28:44 -04:00
killian
0951b033a7
Implement Hash for DepthStencilState and DepthBiasState ( #3092 )
...
* Implement Hash for DepthStencilState and DepthBiasState
* Fix clippy error
* cargo fmt
* Fix Hash implementation
Co-authored-by: char0313 <killia.charrier@etudiant.univ-reims.dr >
2022-10-11 19:14:10 +00:00
Andreas Reich
351ca3ea3d
Fix webgl srgb blit not setting the viewport correctly ( #3093 )
...
* Fix webgl srgb blit not setting the viewport correctly
* Add changelog notes
2022-10-11 14:04:06 -04:00
Nicolas Silva
eca04f59db
Make some errors not fatal ( #3094 )
2022-10-11 13:40:30 -04:00
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 Herzberger
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
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
v0.14.0
wgpu-types-v0.14.0
wgpu-core-v0.14.0
wgpu-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 Biletskyi
50e2a5becf
Implement copyExternalImageToTexture ( #2781 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2022-10-05 21:56:26 +00:00
Nicolas Silva
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 Li
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
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
Leo Kettmeir
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
Xander Warnez
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
i509VCB
061e04bff1
expose driver info in AdapterInfo ( #3037 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2022-09-21 02:45:28 +00:00
Mauro 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