Dzmitry Malyshau
5ca1fe58e9
Update naga to 57b3256020
2021-06-27 01:44:49 -04:00
Alex S
7cd7b18560
Code review:
...
- Remove Cow from wgpu-hal API surface. You graze on in our hearts.
- Rename feature flag to SPIRV_SHADER_PASSTHROUGH in anticipation
of crate feature `spirv` to reduce confusion.
- Add some more documentation about behaviour and intended avenues of
use to the feature.
2021-06-20 15:22:04 +03:00
Alex S
8bfa949261
Code review:
...
- rename ShaderInput variants
- rename feature flag
- hard error on Metal backend trying to compile SPIR-V
- fix test failing because of feature flag bits changing
2021-06-20 06:22:59 +03:00
Alex S
b0ba01dba6
...And add the feature flag to Vulkan, which previously worked by accident.
2021-06-20 05:12:19 +03:00
Alex S
70168ee0f5
Query optimal tiling features for Vulkan.
...
Images are always created with vk::ImageTiling::OPTIMAL,
so it doesn't make much sense querying linear tiling features.
2021-06-19 17:25:39 +03:00
Alex S
1b96f1a27e
Add TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES to supported for Vulkan and Metal.
...
Adapter callbacks are already there, so this is likely an oversight.
2021-06-19 17:25:39 +03:00
Alex S
52fab481e6
Added storage texture array support.
...
I also took the liberty to refactor texture format checking a bit,
and tighten up sampled texture support detection for Metal as well.
2021-06-18 19:20:37 +03:00
Dzmitry Malyshau
0b506afc60
hal/vk: use non-coherent-atom-size
2021-06-16 23:52:04 -04:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
fb662dfbec
hal/vk: polishing to run halmark with no validation issues
2021-06-16 17:15:34 -04:00
Dzmitry Malyshau
c53addac8a
hal/vk: draws and dispatches. Refactor query set descriptor
2021-06-16 14:17:37 -04:00
Dzmitry Malyshau
67dfdb9193
hal/vk: debug markers, bind groups, viewports
2021-06-16 02:05:34 -04:00
Dzmitry Malyshau
bc6bb0c3df
hal/vk: render passes and queries
2021-06-16 01:26:14 -04:00
Dzmitry Malyshau
6f655e0b14
hal/vk: barriers and copies
2021-06-15 15:58:12 -04:00
Dzmitry Malyshau
a260cff0f0
hal/vk: queue operations
2021-06-15 11:38:07 -04:00
Dzmitry Malyshau
668fedd1c0
hal: rename aux to util
2021-06-15 01:33:19 -04:00
Dzmitry Malyshau
00de15990e
hal/vk: pipeline creation
2021-06-15 01:24:25 -04:00
Dzmitry Malyshau
d8979cad4a
hal/vk: command pools, clippy warnings
2021-06-14 10:26:40 -04:00
Dzmitry Malyshau
4eae5a38d0
hal/vk: hook up gpu-descriptor
2021-06-12 01:04:15 -04:00
Dzmitry Malyshau
006c1baaf2
hal/vk: pipeline layout, object labels and logging
2021-06-11 20:23:15 -04:00
Dzmitry Malyshau
61e2e242cd
hal/vk: textures and samplers
2021-06-11 19:14:41 -04:00
Dzmitry Malyshau
b4380e4576
hal/vk: buffer and texture creation
2021-06-11 15:53:07 -04:00
Dzmitry Malyshau
9ae5e36ad8
hal/vk: format mapping
2021-06-11 14:27:00 -04:00
Dzmitry Malyshau
dc340421c4
hal/vk: instance and adapter
2021-06-11 02:09:29 -04:00