Skip to content

Commit

Permalink
wgpu wip
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jul 29, 2023
1 parent 578d71d commit 25c5718
Show file tree
Hide file tree
Showing 12 changed files with 209 additions and 497 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ if (FIPS_IOS)
else()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "")
endif()
if (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
set(CMAKE_CXX_STANDARD 17)
else()
set(CMAKE_CXX_STANDARD 14)
endif()
set(CMAKE_CXX_STANDARD 20)
project(sokol-samples)

if (SOKOL_USE_WGPU_DAWN)
Expand Down Expand Up @@ -98,7 +94,6 @@ else()
elseif (SOKOL_USE_METAL)
add_subdirectory(metal)
elseif (SOKOL_USE_WGPU_DAWN)
add_subdirectory(libs/dawnutil)
add_subdirectory(wgpu)
else()
add_subdirectory(glfw)
Expand Down
5 changes: 2 additions & 3 deletions fips-files/configs/wgpu-osx-vscode-debug.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
platform: osx
generator: Xcode
build_tool: xcodebuild
generator: Ninja
build_tool: vscode
build_type: Debug
defines:
SOKOL_USE_WGPU_DAWN: ON

6 changes: 2 additions & 4 deletions fips-files/configs/wgpu-osx-vscode-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
platform: osx
generator: Xcode
build_tool: xcodebuild
generator: Ninja
build_tool: vscode
build_type: Release
defines:
SOKOL_USE_WGPU_DAWN: ON


24 changes: 0 additions & 24 deletions libs/dawnutil/CMakeLists.txt

This file was deleted.

3 changes: 0 additions & 3 deletions libs/dawnutil/README.md

This file was deleted.

272 changes: 0 additions & 272 deletions libs/dawnutil/SampleUtils.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions libs/dawnutil/SampleUtils.h

This file was deleted.

Loading

0 comments on commit 25c5718

Please sign in to comment.