Dzmitry Malyshau
3c59d9ec15
Refactor test kinds on CI
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
cdf948b920
Fix and re-enable player tests
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
f03c45921e
Only run clippy on MSRV
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
668bea4cb2
Enforce MSRV
2021-12-03 17:11:26 -05:00
Jerónimo Sánchez
dd315e50ff
Extended Queue::write_* docs to reflect overrun error ( #2250 )
...
* Extended Queue::write_buffer to reflect overrun error
* Extended Queue::write_texture doc to reflect overrun error
2021-12-03 20:34:30 +00:00
UpsettingBoy
d8c3b9489f
Added command_encoder_copy_texture_to_texture texture format validation
...
+ Corrected small typo
2021-12-03 12:49:17 -05:00
Dzmitry Malyshau
6fbd668bd3
Add missing GLSL tests
2021-12-02 13:11:23 -05:00
Dzmitry Malyshau
ed020ceb78
Fix order of late bindings in BG creation
2021-12-02 12:43:44 -05:00
Dzmitry Malyshau
6372aad845
Rename fill_buffer back to clear_buffer
2021-12-02 12:33:59 -05:00
Dzmitry Malyshau
ef08738330
Insert texture barrier after initializing a texture
2021-12-02 12:33:26 -05:00
Dzmitry Malyshau
65a805ab3d
hal: exclude COPY_DST from ordered sync usages
2021-12-02 12:33:26 -05:00
Dzmitry Malyshau
16b3467a29
hal/vk: limit driver logging to log settings
2021-12-02 12:33:26 -05:00
Dzmitry Malyshau
e707c920cb
hal/metal: allow unused private caps
2021-12-02 12:15:52 -05:00
Igor Shaposhnik
c6d1491bb1
Update raw-window-handle to 0.4
2021-12-01 15:59:05 -05:00
Dzmitry Malyshau
fbbce25230
hal/vk: fix app_version for Vulkan 1.1
2021-11-30 18:35:07 -05:00
Dzmitry Malyshau
09bea3c5f0
hal/vk: fix vulkan-1.2 caps check, again
2021-11-30 13:51:24 -05:00
Dzmitry Malyshau
20e1d4d170
hal/gles: don't expose VERTEX_STORAGE if there is no storage
2021-11-30 13:51:24 -05:00
Dzmitry Malyshau
fa4d86b167
hal/gles: error on given context below 3.0
2021-11-30 13:51:24 -05:00
Dzmitry Malyshau
0df66719ca
Switch WebGL limits max_uniform_buffers_per_shader_stage to 11
2021-11-30 11:44:37 -05:00
Dzmitry Malyshau
28ba9d86eb
hal/vk: check for optimus in addition to NV adapter
2021-11-29 13:32:08 -05:00
Dzmitry Malyshau
4abbc95911
hal/vk: fix adapter vulkan version check when requesting 1.2 capabilities
2021-11-29 13:32:08 -05:00
Samuel Hurel
f622c83a19
Allows for depth texture copies
2021-11-29 12:56:07 -05:00
Dzmitry Malyshau
57b28cb90f
hal/vk: use Option::insert() with push_next for adapter features
2021-11-29 12:09:48 -05:00
Dzmitry Malyshau
b6d5281d4c
hal/vk: use more ergonomic GetPhysicalDeviceProperties2
2021-11-29 12:09:48 -05:00
Dzmitry Malyshau
480ab26ded
hal/vk: require storage buffer class as the device extension, not instance
2021-11-29 12:09:48 -05:00
João Capucho
90b2949fb3
hal/vulkan: Enable depth clip if available ( #2218 )
...
This wasn't being done even if the VK_EXT_depth_clip_enable was present
causing validation errors when requesting DEPTH_CLIP_CONTROL in the
device.
Strangely this was being done for raw calls to `wgpu_hal::Adapter::open`
because it calls `physical_device_features` and then
`from_extensions_and_requested_features`.
2021-11-29 11:31:43 -05:00
João Capucho
9fac7c48a6
glsl-in: Allow vector/matrix in vector constructor
...
The glsl spec defines that vector constructors flatten their arguments
and consume them in order, ignoring the remaining arguments if there are
more than needed
2021-11-29 11:06:18 -05:00
Dzmitry Malyshau
b32dcbb041
hal/gles: force unbind samplers ( #2226 )
2021-11-29 10:08:11 -05:00
Aleksander Guryanov
1b1c826ac7
Remove duplicate line in mod.rs ( #2223 )
2021-11-29 13:34:15 +00:00
Dzmitry Malyshau
62b036b55b
hal/gles: fix setting filtering on integer textures ( #2222 )
2021-11-28 23:04:43 -05:00
Igor Shaposhnik
dba6beb941
[wgsl-in] Don't allow redefinition of module scope identifiers
2021-11-28 21:23:22 -05:00
Igor Shaposhnik
20b96ef47b
Avoid function name redefinition in tests
2021-11-28 21:23:22 -05:00
Leo Kettmeir
cda893fe73
feat(deno_webgpu): fill buffer ( #2221 )
...
* fill buffer
* fix
* fmt
2021-11-28 21:22:15 -05:00
Leo Kettmeir
943145b4df
chore: update deno_webgpu ( #2214 )
...
* update deno
* more fixes
* revert debug
* clean
2021-11-26 16:05:16 -05:00
Dzmitry Malyshau
daa61b5fcb
Fix shapshots to run without deserialize feature
2021-11-26 12:16:50 -05:00
Dzmitry Malyshau
74132ba947
Actually disable explicit types on most WGSL outputs
2021-11-26 11:36:46 -05:00
Dzmitry Malyshau
f4ba74544a
Refactor snapshot test arguments to avoid checking for deserialize feature too often.
...
We can safely assume that deserialize is enabled for all output tests.
Supporting other modes of operation has low utility.
This change also adds an option to skip the explicit types for WGSL output.
2021-11-26 11:36:46 -05:00
Igor Shaposhnik
7c2fdf94c0
[wgsl-out] Add double underscores as a reserved prefix
2021-11-26 09:36:18 -05:00
Dzmitry Malyshau
ddbc1c4b1f
WGSL: use underscore prefix like the other backends
2021-11-25 16:23:24 -05:00
Dzmitry Malyshau
5f6c067815
hal/vulkan: use multiple semaphores in a relay ( #2212 )
2021-11-25 15:44:33 -05:00
Xiaopeng Li
f4d51451fa
Unique HalManagedMetalLayerDelegate class ( #2209 )
...
* Unique HalManagedMetalLayerDelegate class
* Remove once-cell dependency
2021-11-25 11:23:26 -05:00
Igor Shaposhnik
2107b20561
[wgsl-in] Don't allow keywords to be used as identifiers
2021-11-24 16:34:17 -05:00
Igor Shaposhnik
cb6d3fa815
[wgsl] Move backend keyword list into its own module
2021-11-24 16:34:17 -05:00
Igor Shaposhnik
ae0c7355ca
[wgsl] Remove IsInf and IsNan
2021-11-24 16:05:03 -05:00
Mariusz Kryński
dde73ed236
use native webgl2 buffers for MAP_READ usage ( #2201 )
...
* use native gl buffers for map_read
* Buffer refactor
* lint
2021-11-23 17:16:26 -05:00
Dzmitry Malyshau
5864b776a4
Refactor command buffer states to ensure proper cleanup on errors ( #2208 )
2021-11-23 15:57:13 -05:00
Dzmitry Malyshau
2b38439f65
Add INDIRECT_FIRST_INSTANCE feature ( #2206 )
2021-11-23 10:01:07 -05:00
Neil Blakey-Milner
4f639622d0
Add strip_index_format to linestrip in conservative-raster example ( #2199 )
2021-11-22 14:01:24 +00:00
Andy Fiedler
8196b7567c
Web backend: call set_vertex_buffer with size as optional
2021-11-22 08:59:25 -05:00
Andy Fiedler
385d9caa8d
Web backend: call set_index_buffer with size as optional
...
Size must be passed to setIndexBuffer in Javascript as undefined in order for WebGGPU to use the default size, which is the full buffer size.
2021-11-22 08:59:25 -05:00