Skip to content

Commit

Permalink
rename vertex-layout -> input-layout (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
skallweitNV authored Oct 11, 2024
1 parent 8a7f807 commit 4f5ef3c
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 28 deletions.
32 changes: 16 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ target_sources(slang-rhi PRIVATE
src/debug-layer/debug-shader-object.cpp
src/debug-layer/debug-shader-program.cpp
src/debug-layer/debug-surface.cpp
src/debug-layer/debug-texture.cpp
src/debug-layer/debug-texture-view.cpp
src/debug-layer/debug-texture.cpp
src/debug-layer/debug-transient-heap.cpp
)

Expand All @@ -291,10 +291,10 @@ if(SLANG_RHI_ENABLE_CPU)
src/cpu/cpu-helper-functions.cpp
src/cpu/cpu-pipeline.cpp
src/cpu/cpu-query.cpp
src/cpu/cpu-shader-object.cpp
src/cpu/cpu-shader-object-layout.cpp
src/cpu/cpu-texture.cpp
src/cpu/cpu-shader-object.cpp
src/cpu/cpu-texture-view.cpp
src/cpu/cpu-texture.cpp
)
endif()

Expand All @@ -313,8 +313,8 @@ if(SLANG_RHI_ENABLE_D3D11)
src/d3d11/d3d11-pipeline.cpp
src/d3d11/d3d11-query.cpp
src/d3d11/d3d11-scopeNVAPI.cpp
src/d3d11/d3d11-shader-object.cpp
src/d3d11/d3d11-shader-object-layout.cpp
src/d3d11/d3d11-shader-object.cpp
src/d3d11/d3d11-shader-program.cpp
src/d3d11/d3d11-surface.cpp
src/d3d11/d3d11-texture.cpp
Expand All @@ -337,14 +337,14 @@ if(SLANG_RHI_ENABLE_D3D12)
src/d3d12/d3d12-query.cpp
src/d3d12/d3d12-resource.cpp
src/d3d12/d3d12-sampler.cpp
src/d3d12/d3d12-shader-object.cpp
src/d3d12/d3d12-shader-object-layout.cpp
src/d3d12/d3d12-shader-object.cpp
src/d3d12/d3d12-shader-program.cpp
src/d3d12/d3d12-shader-table.cpp
src/d3d12/d3d12-submitter.cpp
src/d3d12/d3d12-surface.cpp
src/d3d12/d3d12-texture.cpp
src/d3d12/d3d12-texture-view.cpp
src/d3d12/d3d12-texture.cpp
src/d3d12/d3d12-transient-heap.cpp
)
endif()
Expand All @@ -358,21 +358,21 @@ if(SLANG_RHI_ENABLE_VULKAN)
src/vulkan/vk-command-encoder.cpp
src/vulkan/vk-command-queue.cpp
src/vulkan/vk-descriptor-allocator.cpp
src/vulkan/vk-device.cpp
src/vulkan/vk-device-queue.cpp
src/vulkan/vk-device.cpp
src/vulkan/vk-fence.cpp
src/vulkan/vk-helper-functions.cpp
src/vulkan/vk-module.cpp
src/vulkan/vk-pipeline.cpp
src/vulkan/vk-query.cpp
src/vulkan/vk-sampler.cpp
src/vulkan/vk-shader-object.cpp
src/vulkan/vk-shader-object-layout.cpp
src/vulkan/vk-shader-object.cpp
src/vulkan/vk-shader-program.cpp
src/vulkan/vk-shader-table.cpp
src/vulkan/vk-surface.cpp
src/vulkan/vk-texture.cpp
src/vulkan/vk-texture-view.cpp
src/vulkan/vk-texture.cpp
src/vulkan/vk-transient-heap.cpp
src/vulkan/vk-util.cpp
)
Expand All @@ -392,19 +392,19 @@ if(SLANG_RHI_ENABLE_METAL)
src/metal/metal-device.cpp
src/metal/metal-fence.cpp
src/metal/metal-helper-functions.cpp
src/metal/metal-input-layout.cpp
src/metal/metal-pipeline.cpp
src/metal/metal-query.cpp
src/metal/metal-sampler.cpp
src/metal/metal-shader-object.cpp
src/metal/metal-shader-object-layout.cpp
src/metal/metal-shader-object.cpp
src/metal/metal-shader-program.cpp
src/metal/metal-shader-table.cpp
src/metal/metal-surface.cpp
src/metal/metal-texture.cpp
src/metal/metal-texture-view.cpp
src/metal/metal-texture.cpp
src/metal/metal-transient-heap.cpp
src/metal/metal-util.cpp
src/metal/metal-vertex-layout.cpp
)
add_library(slang-rhi-metal-cpp INTERFACE)
target_include_directories(slang-rhi-metal-cpp INTERFACE external/metal-cpp)
Expand All @@ -424,8 +424,8 @@ if(SLANG_RHI_ENABLE_CUDA)
src/cuda/cuda-helper-functions.cpp
src/cuda/cuda-pipeline.cpp
src/cuda/cuda-query.cpp
src/cuda/cuda-shader-object.cpp
src/cuda/cuda-shader-object-layout.cpp
src/cuda/cuda-shader-object.cpp
src/cuda/cuda-shader-program.cpp
src/cuda/cuda-texture.cpp
)
Expand All @@ -445,8 +445,8 @@ if(SLANG_RHI_ENABLE_WGPU)
src/wgpu/wgpu-pipeline.cpp
src/wgpu/wgpu-query.cpp
src/wgpu/wgpu-sampler.cpp
src/wgpu/wgpu-shader-object.cpp
src/wgpu/wgpu-shader-object-layout.cpp
src/wgpu/wgpu-shader-object.cpp
src/wgpu/wgpu-shader-program.cpp
src/wgpu/wgpu-surface.cpp
src/wgpu/wgpu-texture.cpp
Expand Down Expand Up @@ -490,7 +490,6 @@ if(SLANG_RHI_BUILD_TESTS)
tests/test-create-buffer-from-handle.cpp
tests/test-existing-device-handle.cpp
tests/test-formats.cpp
tests/testing.cpp
tests/test-instanced-draw.cpp
tests/test-link-time-constant.cpp
tests/test-link-time-default.cpp
Expand All @@ -499,9 +498,9 @@ if(SLANG_RHI_BUILD_TESTS)
tests/test-mutable-shader-object.cpp
tests/test-native-handle.cpp
tests/test-nested-parameter-block.cpp
tests/test-precompiled-module.cpp
tests/test-precompiled-module-2.cpp
tests/test-precompiled-module-cache.cpp
tests/test-precompiled-module.cpp
tests/test-ray-tracing.cpp
tests/test-resolve-resource-tests.cpp
tests/test-resource-states.cpp
Expand All @@ -514,6 +513,7 @@ if(SLANG_RHI_BUILD_TESTS)
tests/test-swapchain.cpp
tests/test-texture-types.cpp
tests/test-uint16-structured-buffer.cpp
tests/testing.cpp
tests/texture-utils.cpp
)
target_compile_definitions(slang-rhi-tests
Expand Down
2 changes: 1 addition & 1 deletion src/d3d11/d3d11-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "d3d11-surface.h"
#include "d3d11-texture.h"
#include "d3d11-texture-view.h"
#include "d3d11-vertex-layout.h"
#include "d3d11-input-layout.h"

#include "core/string.h"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11-pipeline.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "d3d11-pipeline.h"
#include "d3d11-device.h"
#include "d3d11-shader-program.h"
#include "d3d11-vertex-layout.h"
#include "d3d11-input-layout.h"
#include "d3d11-helper-functions.h"

namespace rhi::d3d11 {
Expand Down
2 changes: 1 addition & 1 deletion src/d3d12/d3d12-command-encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "d3d12-shader-table.h"
#include "d3d12-texture.h"
#include "d3d12-transient-heap.h"
#include "d3d12-vertex-layout.h"
#include "d3d12-input-layout.h"
#include "d3d12-texture-view.h"
#include "d3d12-acceleration-structure.h"

Expand Down
2 changes: 1 addition & 1 deletion src/d3d12/d3d12-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "d3d12-shader-program.h"
#include "d3d12-shader-table.h"
#include "d3d12-surface.h"
#include "d3d12-vertex-layout.h"
#include "d3d12-input-layout.h"
#include "d3d12-acceleration-structure.h"

#include "core/short_vector.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/d3d12/d3d12-pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "d3d12-device.h"
#include "d3d12-pipeline-state-stream.h"
#include "d3d12-shader-program.h"
#include "d3d12-vertex-layout.h"
#include "d3d12-input-layout.h"

#ifdef SLANG_RHI_NVAPI
#include "../nvapi/nvapi-include.h"
Expand Down
2 changes: 1 addition & 1 deletion src/debug-layer/debug-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "debug-texture.h"
#include "debug-texture-view.h"
#include "debug-transient-heap.h"
#include "debug-vertex-layout.h"
#include "debug-input-layout.h"

#include "core/short_vector.h"

Expand Down
2 changes: 1 addition & 1 deletion src/debug-layer/debug-helper-functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "debug-texture.h"
#include "debug-texture-view.h"
#include "debug-transient-heap.h"
#include "debug-vertex-layout.h"
#include "debug-input-layout.h"

#include <vector>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/metal/metal-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "metal-shader-program.h"
#include "metal-texture.h"
#include "metal-util.h"
#include "metal-vertex-layout.h"
#include "metal-input-layout.h"
// #include "metal-command-queue.h"
#include "metal-fence.h"
#include "metal-query.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "metal-vertex-layout.h"
#include "metal-input-layout.h"
#include "metal-util.h"

namespace rhi::metal {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/metal/metal-pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "metal-shader-object-layout.h"
#include "metal-shader-program.h"
#include "metal-util.h"
#include "metal-vertex-layout.h"
#include "metal-input-layout.h"

namespace rhi::metal {

Expand Down
2 changes: 1 addition & 1 deletion src/vulkan/vk-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "vk-shader-program.h"
#include "vk-shader-table.h"
#include "vk-transient-heap.h"
#include "vk-vertex-layout.h"
#include "vk-input-layout.h"
#include "vk-acceleration-structure.h"

#include "core/common.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/vulkan/vk-pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "vk-helper-functions.h"
#include "vk-shader-object-layout.h"
#include "vk-shader-program.h"
#include "vk-vertex-layout.h"
#include "vk-input-layout.h"

#include "core/static_vector.h"

Expand Down

0 comments on commit 4f5ef3c

Please sign in to comment.