gfx-rs / wgpu-native

Native WebGPU implementation based on wgpu-core
Apache License 2.0
882 stars 105 forks source link

Incorrect values in AdapterInfo for DX12 #444

Open liskar-dev opened 4 weeks ago

liskar-dev commented 4 weeks ago

It seems that for DX12 backend, adapter info is incorrect. description is empty, while vendor contains what probably should be in description, instead of a proper vendor name.

Adapters listed on my machine:

vendorID: 4318
vendor: NVIDIA
deviceID: 9988
device: NVIDIA GeForce RTX 4080
architecture: 
description: 565.90
adapterType: DiscreteGPU
backendType: Vulkan

vendorID: 4318
vendor: 32.0.15.6590
deviceID: 9988
device: NVIDIA GeForce RTX 4080
architecture: 
description: 
adapterType: DiscreteGPU
backendType: D3D12

vendorID: 5140
vendor: 10.0.26100.1301
deviceID: 140
device: Microsoft Basic Render Driver
architecture: 
description: 
adapterType: CPU
backendType: D3D12

vendorID: 4318
vendor: 
deviceID: 0
device: NVIDIA GeForce RTX 4080/PCIe/SSE2
architecture: 
description: 4.6.0 NVIDIA 565.90
adapterType: Unknown
backendType: OpenGL