Skip to content

Commit

Permalink
update slang-rhi with initial wgpu support (#5137)
Browse files Browse the repository at this point in the history
* update slang-rhi with initial wgpu support

* update slang-rhi

---------

Co-authored-by: Yong He <[email protected]>
  • Loading branch information
skallweitNV and csyonghe authored Sep 23, 2024
1 parent 6912c58 commit 14b1098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ add_library(imgui INTERFACE)
target_include_directories(imgui INTERFACE "${CMAKE_CURRENT_LIST_DIR}/imgui")

# slang-rhi
set(SLANG_RHI_BINARY_DIR ${CMAKE_BINARY_DIR}/$<CONFIG>/bin)
set(SLANG_RHI_SLANG_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
set(SLANG_RHI_SLANG_BINARY_DIR ${CMAKE_BINARY_DIR})
set(SLANG_RHI_BUILD_TESTS OFF)
Expand Down
2 changes: 1 addition & 1 deletion external/slang-rhi
Submodule slang-rhi updated 58 files
+101 −25 CMakeLists.txt
+1 −1 cmake/FetchPackage.cmake
+14 −2 include/slang-rhi.h
+24 −0 src/core/deferred.h
+22 −0 src/core/string.h
+27 −3 src/debug-layer/debug-device.cpp
+60 −0 src/debug-layer/debug-helper-functions.cpp
+4 −0 src/debug-layer/debug-helper-functions.h
+344 −0 src/enum-strings.cpp
+26 −0 src/enum-strings.h
+11 −1 src/rhi.cpp
+31 −0 src/wgpu/wgpu-api.cpp
+363 −0 src/wgpu/wgpu-api.h
+43 −0 src/wgpu/wgpu-base.h
+206 −0 src/wgpu/wgpu-buffer.cpp
+26 −0 src/wgpu/wgpu-buffer.h
+54 −0 src/wgpu/wgpu-command-buffer.cpp
+41 −0 src/wgpu/wgpu-command-buffer.h
+528 −0 src/wgpu/wgpu-command-encoder.cpp
+222 −0 src/wgpu/wgpu-command-encoder.h
+90 −0 src/wgpu/wgpu-command-queue.cpp
+31 −0 src/wgpu/wgpu-command-queue.h
+328 −0 src/wgpu/wgpu-device.cpp
+111 −0 src/wgpu/wgpu-device.h
+92 −0 src/wgpu/wgpu-fence.cpp
+25 −0 src/wgpu/wgpu-fence.h
+46 −0 src/wgpu/wgpu-helper-functions.cpp
+12 −0 src/wgpu/wgpu-helper-functions.h
+49 −0 src/wgpu/wgpu-input-layout.cpp
+15 −0 src/wgpu/wgpu-input-layout.h
+117 −0 src/wgpu/wgpu-pipeline.cpp
+29 −0 src/wgpu/wgpu-pipeline.h
+37 −0 src/wgpu/wgpu-query.cpp
+19 −0 src/wgpu/wgpu-query.h
+52 −0 src/wgpu/wgpu-sampler.cpp
+20 −0 src/wgpu/wgpu-sampler.h
+909 −0 src/wgpu/wgpu-shader-object-layout.cpp
+468 −0 src/wgpu/wgpu-shader-object-layout.h
+1,036 −0 src/wgpu/wgpu-shader-object.cpp
+264 −0 src/wgpu/wgpu-shader-object.h
+62 −0 src/wgpu/wgpu-shader-program.cpp
+30 −0 src/wgpu/wgpu-shader-program.h
+107 −0 src/wgpu/wgpu-texture.cpp
+35 −0 src/wgpu/wgpu-texture.h
+55 −0 src/wgpu/wgpu-transient-resource-heap.cpp
+23 −0 src/wgpu/wgpu-transient-resource-heap.h
+460 −0 src/wgpu/wgpu-util.cpp
+21 −0 src/wgpu/wgpu-util.h
+1 −0 tests/test-buffer-barrier.cpp
+1 −0 tests/test-compute-smoke.cpp
+1 −0 tests/test-compute-trivial.cpp
+5 −1 tests/test-formats.cpp
+1 −0 tests/test-link-time-default.cpp
+1 −0 tests/test-link-time-type.cpp
+1 −0 tests/test-sampler-array.cpp
+5 −0 tests/test-uint16-structured-buffer.cpp
+3 −1 tests/testing.cpp
+26 −0 tools/extract-webgpu-procs.py

0 comments on commit 14b1098

Please sign in to comment.