Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_GPU: ability to access device name property #12489

Open
mdmrk opened this issue Mar 7, 2025 · 0 comments
Open

SDL_GPU: ability to access device name property #12489

mdmrk opened this issue Mar 7, 2025 · 0 comments

Comments

@mdmrk
Copy link

mdmrk commented Mar 7, 2025

SDL logs some driver properties when creating a GPUDevice:

SDL_GPU Driver: Vulkan
Vulkan Device: Intel(R) Iris(R) Xe Graphics (TGL GT2)
Vulkan Driver: Intel open-source Mesa driver Mesa 25.0.0
Vulkan Conformance: 1.4.0

From my application I'd like to access some of this information. In particular I am interested in the physical device name, but I can't find a way to access it from the API. Would it be feasible to implement? Something like:

SDL_GetGPUDeviceDriverName(...)
SDL_GetGPUDriverName(...)

-> "Intel(R) Iris(R) Xe Graphics (TGL GT2)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant