-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes to enable some WGSL graphics tests (#5548)
* Update Slang-RHI to get WGPU backend fixes * render-test: Use device local memory type for vertex buffers This helps to avoid shader-slang/slang-rhi#104 * Fix bug in WGSL emitter layout code. There was a "kinds" vs. "kind flags" mismatch, and also getBindingOffsetForKinds was not being used. This patch enables a bunch of tests for WGPU. This helps to address issue #4943. * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
Submodule slang-rhi
updated
24 files
+1 −1 | include/slang-rhi.h | |
+4 −1 | src/cpu/cpu-command.cpp | |
+1 −1 | src/cpu/cpu-command.h | |
+3 −3 | src/cuda/cuda-command.cpp | |
+1 −1 | src/cuda/cuda-command.h | |
+4 −1 | src/d3d11/d3d11-command.cpp | |
+1 −1 | src/d3d11/d3d11-command.h | |
+2 −1 | src/d3d12/d3d12-command.cpp | |
+1 −1 | src/d3d12/d3d12-command.h | |
+1 −1 | src/d3d12/d3d12-query.cpp | |
+2 −2 | src/debug-layer/debug-command-queue.cpp | |
+1 −1 | src/debug-layer/debug-command-queue.h | |
+3 −9 | src/debug-layer/debug-helper-functions.h | |
+2 −1 | src/metal/metal-command.cpp | |
+1 −1 | src/metal/metal-command.h | |
+25 −45 | src/rhi-shared.cpp | |
+3 −34 | src/rhi-shared.h | |
+2 −1 | src/vulkan/vk-command.cpp | |
+1 −1 | src/vulkan/vk-command.h | |
+11 −11 | src/wgpu/wgpu-buffer.cpp | |
+15 −9 | src/wgpu/wgpu-command.cpp | |
+1 −1 | src/wgpu/wgpu-command.h | |
+23 −22 | src/wgpu/wgpu-device.cpp | |
+11 −11 | src/wgpu/wgpu-texture.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters