mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 06:51:55 +00:00
Added Dawn WebGPU support.
Added support for Google's Dawn WebGPU implementation. You control which one's used via the option "SDL_WGPU_LIB" where it's either "wgpu-native" or "dawn".
This commit is contained in:
parent
1629c545f1
commit
ea6a51fed7
13 changed files with 227 additions and 22 deletions
|
|
@ -490,6 +490,8 @@
|
|||
/* Enable experimental WGPU support */
|
||||
#cmakedefine SDL_VIDEO_WGPU 1
|
||||
#cmakedefine WGPU_STATIC 1
|
||||
#cmakedefine WGPU_NATIVE 1
|
||||
#cmakedefine WGPU_DAWN 1
|
||||
|
||||
/* Enable GPU support */
|
||||
#cmakedefine SDL_GPU_D3D11 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue