Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/output_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ void WriteReflection(const spv_reflect::ShaderModule& obj, bool flatten_cbuffers
StreamWriteShaderModule(os, obj.GetShaderModule(), "");

SpvReflectResult result = SPV_REFLECT_RESULT_NOT_READY;
(void)result; // silence compiler warning about unread variable.
uint32_t count = 0;
std::vector<SpvReflectInterfaceVariable*> variables;
std::vector<SpvReflectDescriptorBinding*> bindings;
Expand Down
9 changes: 9 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,13 @@ if (${VULKAN_DIR_FOUND})
endif()
if(WIN32)
set_target_properties(hlsl_resource_types PROPERTIES FOLDER "examples")
endif()

################################################################################
# find_pipelines
################################################################################
add_executable(find_pipelines ${CMAKE_CURRENT_SOURCE_DIR}/find_pipelines.cpp ${COMMON_FILES} ${SPIRV_REFLECT_FILES} arg_parser.cpp)
target_include_directories(find_pipelines PRIVATE ${CMAKE_SOURCE_DIR})
if(WIN32)
set_target_properties(find_pipelines PROPERTIES FOLDER "examples")
endif()
Loading