From 0a088684d938b7fdf6083a3769f41b430528d18b Mon Sep 17 00:00:00 2001 From: lisyarus Date: Mon, 1 Jan 2024 17:14:33 +0300 Subject: [PATCH] WebGPU wrapper wip: add native feature names from wgpu.h --- libs/wgpu/include/psemek/wgpu/device.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/wgpu/include/psemek/wgpu/device.hpp b/libs/wgpu/include/psemek/wgpu/device.hpp index e91258c8..a3ededcb 100644 --- a/libs/wgpu/include/psemek/wgpu/device.hpp +++ b/libs/wgpu/include/psemek/wgpu/device.hpp @@ -36,6 +36,15 @@ namespace psemek::wgpu rg11b10ufloat_renderable = 0x00000009, bgra8unorm_storage = 0x0000000a, float32_filterable = 0x0000000b, + + push_constants = 0x00030001, + texture_adapter_specific_format_features = 0x00030002, + multi_draw_indirect = 0x00030003, + multi_draw_indirect_count = 0x00030004, + vertex_writable_storage = 0x00030005, + texture_binding_array = 0x00030006, + sampled_texture_and_storage_buffer_array_non_uniform_indexing = 0x00030007, + pipeline_statistics_query = 0x00030008, }; struct limits