Skip to content

Commit

Permalink
Update slang-rhi (#5160)
Browse files Browse the repository at this point in the history
  • Loading branch information
skallweitNV authored Sep 26, 2024
1 parent 5a0224a commit 958dacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion external/slang-rhi
Submodule slang-rhi updated 41 files
+0 −10 YONGQUESTIONS.txt
+13 −15 include/slang-rhi.h
+1 −7 src/command-writer.h
+25 −28 src/d3d/d3d-util.cpp
+3 −3 src/d3d/d3d-util.h
+6 −7 src/d3d11/d3d11-device.cpp
+1 −3 src/d3d11/d3d11-device.h
+3 −11 src/d3d12/d3d12-command-encoder.cpp
+1 −6 src/d3d12/d3d12-command-encoder.h
+2 −2 src/d3d12/d3d12-pipeline.cpp
+1 −7 src/debug-layer/debug-command-encoder.cpp
+1 −2 src/debug-layer/debug-command-encoder.h
+13 −9 src/enum-strings.cpp
+1 −1 src/enum-strings.h
+2 −9 src/immediate-device.cpp
+2 −4 src/immediate-device.h
+5 −8 src/metal/metal-command-encoder.cpp
+1 −3 src/metal/metal-command-encoder.h
+1 −1 src/metal/metal-pipeline.cpp
+14 −11 src/metal/metal-util.cpp
+1 −1 src/metal/metal-util.h
+3 −26 src/vulkan/vk-command-encoder.cpp
+1 −3 src/vulkan/vk-command-encoder.h
+1 −9 src/vulkan/vk-pipeline.cpp
+10 −6 src/vulkan/vk-util.cpp
+1 −1 src/vulkan/vk-util.h
+2 −57 src/wgpu/wgpu-buffer.cpp
+2 −4 src/wgpu/wgpu-command-encoder.cpp
+1 −3 src/wgpu/wgpu-command-encoder.h
+14 −1 src/wgpu/wgpu-command-queue.cpp
+28 −3 src/wgpu/wgpu-device.cpp
+4 −0 src/wgpu/wgpu-device.h
+2 −2 src/wgpu/wgpu-pipeline.cpp
+4 −1 src/wgpu/wgpu-sampler.cpp
+69 −0 src/wgpu/wgpu-texture.cpp
+11 −7 src/wgpu/wgpu-util.cpp
+1 −1 src/wgpu/wgpu-util.h
+2 −6 tests/test-instanced-draw.cpp
+0 −1 tests/test-resolve-resource-tests.cpp
+0 −1 tests/test-shader-cache.cpp
+0 −1 tests/test-texture-types.cpp
3 changes: 1 addition & 2 deletions tools/render-test/render-test-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,7 @@ void RenderTestApp::renderFrame(IRenderCommandEncoder* encoder)
auto pipelineType = PipelineType::Graphics;
applyBinding(pipelineType, encoder);

encoder->setPrimitiveTopology(PrimitiveTopology::TriangleList);
encoder->setVertexBuffer(0, m_vertexBuffer);
encoder->setVertexBuffer(0, m_vertexBuffer);

encoder->draw(3);
}
Expand Down

0 comments on commit 958dacf

Please sign in to comment.