mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 17:19:11 +01:00
Fix wrong binding array sampler limit in dx12 (#9330)
This commit is contained in:
1 parent
5ccf829118
commit
f5bc1ffb06
1 file changed
+2
-1
@@ -942,7 +942,8 @@ impl super::Adapter {
|
||||
max_non_sampler_bindings: 1_000_000,
|
||||
|
||||
max_binding_array_elements_per_shader_stage: full_heap_count,
|
||||
max_binding_array_sampler_elements_per_shader_stage: full_heap_count,
|
||||
max_binding_array_sampler_elements_per_shader_stage:
|
||||
Direct3D12::D3D12_MAX_SHADER_VISIBLE_SAMPLER_HEAP_SIZE,
|
||||
|
||||
// Source: https://microsoft.github.io/DirectX-Specs/d3d/MeshShader.html#dispatchmesh-api
|
||||
max_task_mesh_workgroup_total_count: if mesh_shader_supported {
|
||||
|
||||
Reference in new issue
Block a user