Malek
dafc189d6b
Fix multiview rendering ( #3779 )
2023-05-19 00:03:57 -04:00
Robin KAY
c91a660ec5
Fix order of arguments to glPolygonOffset. ( #3783 )
2023-05-18 22:40:35 +00:00
Jim Blandy
3563849585
Document that various sizes and offsets are in bytes. ( #3773 )
2023-05-13 22:22:28 -04:00
Paul Hansen
28374fb1c8
Publish examples to wgpu.rs on updates to trunk branch instead of gecko ( #3750 )
2023-05-11 12:12:25 -04:00
Erich Gubler
f71a1bc736
docs(adapter): document device
and vendor
IDs repr. ( #3763 )
2023-05-10 12:13:01 +00:00
Ame
4d8a7ed38d
Change AdapterInfo::{device,vendor}
fields to u32
( #3760 )
...
* Change AdapterInfo device and vendor to u32s
* Add CHANGELOG
2023-05-09 11:17:27 +02:00
Erich Gubler
0f0044f358
fix(wgpu-core)!: use u32
indices for bind group layouts everywhere ( #3743 )
2023-05-03 20:56:54 -04:00
Jim Blandy
49800337d1
Define wgpu_core::Global::create_render_bundle_error. ( #3746 )
2023-05-03 14:17:18 -07:00
Erich Gubler
3e562aaeaa
docs: note feature req. for Depth32FloatStencil8
( #3734 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-05-03 10:08:52 +00:00
Andreas Reich
1dd105c3bf
Fix crash on command buffer drop ( #3726 )
2023-05-03 05:00:59 -04:00
Connor Fitzgerald
0b53b477c5
Update CHANGELOG.md
2023-04-19 21:54:23 -04:00
Connor Fitzgerald
011a4e26d0
Release v0.16.0 ( #3707 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-19 22:06:21 +00:00
Alix Bott
c86f9773ca
Fix unsetting vertex attributes in gles backend ( #3706 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-19 21:14:45 +00:00
daxpedda
85fc427470
Adjust internal canvas size on Surface::configure()
( #3690 )
2023-04-19 21:09:31 +00:00
François
bf8e6fe371
add feature RG11B10UFLOAT_RENDERABLE on webgpu ( #3689 )
...
* add feature RG11B10UFLOAT_RENDERABLE on web
* changelog
2023-04-14 14:52:37 +02:00
François
7c25c00f07
reject binding type multisampled when on a float filterable sample type ( #3686 )
2023-04-13 13:55:56 -04:00
Connor Fitzgerald
a7defb723f
Cleanups for WebGPU ( #3671 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-12 21:27:30 +00:00
Josh Groves
cfc038aeb9
Avoid using WasmAbi
functions on WebGPU backend ( #3657 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-10 16:31:43 -04:00
David Huculak
4d15567392
add dxc error message formatting ( #3632 )
2023-04-10 15:51:46 -04:00
Niklas Korz
2c37608ad3
Web: handle None for depth_ops and stencil_ops ( #3660 )
2023-04-10 11:21:17 +02:00
Teodor Tanasoaia
6918cf33d4
[metal] Fix metal erroring on an array_stride
of 0 ( #3538 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-04-05 22:40:15 +00:00
Sebastian J. Hamel
27cdfd2954
Silence vulkan validation error ( #3095 ) ( #3627 )
2023-04-05 18:15:43 -04:00
Lukas Herzberger
b6dbce740f
Implement resolve query set ( #3489
...
* implement command_encoder_resolve_query_set
* fix args
* add BufferUsages::QUERY_RESOLVE
* update changelog
* fix link text
* validate query resolve: check for QUERY_RESOLVE instead of CPY_DST
* update changelog, replace COPY_DST with QUERY_RESOLVE in mipmap example
2023-04-05 17:59:04 -04:00
Benjamin Schaaf
fdbbd02c1e
Properly drop surfaces ( #3647 )
...
Co-authored-by: Benjamin Schaaf <bschaaf@sublimetext.com>
Fixes #3646
2023-04-05 17:48:12 -04:00
Teodor Tanasoaia
37fbae7872
Revert "Fix macro to allow disabling dx12
feature. ( #3590 )" ( #3649 )
...
This reverts commit 110e62aed2
.
2023-04-04 15:16:31 +02:00
daxpedda
9fa7186ede
[gles] Fix tex_sub_image_*
calls not always adjusting to target texture ( #3641 )
2023-04-04 13:51:13 +02:00
Jeremy Leibs
68b0b24ce8
Reset the queue state between each command buffer on queue submit ( #3593 )
...
Co-authored-by: Andreas Reich <andreas@rerun.io>
2023-03-22 15:08:44 -04:00
Emil Ernerfeldt
a89e35a4e0
Validate shader location clashes ( #3613 )
...
* Validate shader location clashes
* Add line to changelog
2023-03-22 14:56:52 +01:00
Connor Fitzgerald
0c3ca5c08b
Fix Metal Mipmap Behvior ( #3610 )
2023-03-21 16:37:30 +00:00
Christopher Fleetwood
a502282307
feat: correct bounds policy checking on MSL ( #3603 )
2023-03-21 12:33:25 +01:00
Andreas Reich
2a37b2d918
added changelog
2023-03-20 15:42:51 -02:30
Andrew Numrich
110e62aed2
Fix macro to allow disabling dx12
feature. ( #3590 )
...
* Fix macro for DX12 conditional compilation
* Update CHANGELOG.md
* Apply suggestions from code review
---------
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-03-15 18:48:47 +01:00
Jim Blandy
0772df798d
Don't emit ANSI colors in shader validation error messages. ( #3591 )
2023-03-14 22:35:02 -04:00
Connor Fitzgerald
42a0683d48
Remove unwraps inside surface.configure
( #3585 )
2023-03-14 11:01:02 +01:00
Jinlei Li
9445317f26
Set max_memory_allocation_size
via PhysicalDeviceMaintenance3Properties
( #3567 )
...
* vulkan: set `max_memory_allocation_size` via `PhysicalDeviceMaintenance3Properties`
* Update CHANGELOG
* Follow the suggestions
* Fix fmt
* Update wgpu-hal/src/vulkan/adapter.rs
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
* Enable `KhrMaintenance3Fn` on vk < 1.1
---------
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-03-09 20:05:39 +01:00
Kevin Reid
13d2c3673c
In Context::handle_error_fatal
, print cause chain. ( #3563 )
2023-03-06 23:00:34 -05:00
Teodor Tanasoaia
cf40e64b16
Change type of bytes_per_row
and rows_per_image
( #3529 )
2023-03-06 16:44:36 -05:00
Josh Groves
2eb27f2c0e
Fix definition of NSOperatingSystemVersion
( #3557 )
2023-03-06 16:43:39 -05:00
Teodor Tanasoaia
54e4c8654d
[dx12] use typeless formats for textures that might be viewed as srgb or non-srgb ( #3555 )
...
query `CastingFullyTypedFormatSupported` and skip typeless formats if available
2023-03-03 19:42:34 +00:00
Teodor Tanasoaia
7e72f30179
Allow copying of textures with copy-compatible formats ( #3528 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-03-03 17:24:17 +00:00
Teodor Tanasoaia
ac689cbe1f
Update feature documentation ( #3534 )
2023-03-03 12:09:17 -05:00
Connor Fitzgerald
db3be88f90
Uppercase all error strings
2023-03-03 11:33:20 -05:00
Jinlei Li
de695fca0b
metal: if new_texture()
returns NULL, create_texture()
returns an error ( #3554 )
2023-03-03 13:51:38 +01:00
James Liu
6ee0d4c14d
Replace fxhash with rustc-hash ( #3502 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-03-01 18:46:38 +00:00
James0124
9dc834a0ac
Treat VK_SUBOPTIMAL_KHR
as VK_SUCCESS
on Android. ( #3525 )
2023-02-27 10:52:09 +01:00
Red Artist
af5f4d20f4
enable debug extension on emscripten ( #3519 )
...
* enable debug extension on emscripten
* update changelog
* extract emscripten stuff into a separate module
* use unmasked queries on w-u-u, and only enable extension on emscripten
* fix docs
2023-02-22 01:16:14 -05:00
Teodor Tanasoaia
074d1da831
Set the new naga capabilities ( #3494 )
...
* remove redundant flag
* set the `MULTISAMPLED_SHADING` downlevel flag for gles and dx11
* set the right naga capabilities
add `Features::SHADER_EARLY_DEPTH_TEST`
* add changelog entry
* remove `@early_depth_test` from water example
2023-02-16 22:43:38 -05:00
Teodor Tanasoaia
c51edd36fd
Support stencil-only views and copying to/from combined depth-stencil textures ( #3436 )
2023-02-15 16:20:22 -05:00
Artavazd Balaian
ee33f4d384
[gles] fix: Set FORCE_POINT_SIZE
if it is vertex shader with mesh consist of point list ( #3440 )
2023-02-15 10:05:52 -05:00
Teodor Tanasoaia
b33731c44c
Validate before extracting texture selectors ( #3487 )
...
Move calls to `extract_texture_selector` after calls to `validate_texture_copy_range`, to avoid overflow.
2023-02-14 12:31:18 -08:00