Skip to content

Commit

Permalink
Fix compilation with gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Sep 25, 2024
1 parent 6019477 commit 8382a85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ if(NOT glslang_FOUND)
if(NOT TARGET glslang::glslang-standalone)
add_executable(glslang::glslang-standalone ALIAS glslang-standalone)
endif()
install(TARGETS spirv-cross-c-shared LIBRARY DESTINATION bin)
set_target_properties(spirv-cross-c-shared PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
endif()

if(NOT nlohmann_json_FOUND)
add_subdirectory(json)
endif()

1 change: 0 additions & 1 deletion rpcsx-gpu2/Registers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ amdgpu::Registers::Context amdgpu::Registers::Context::Default = [] {
result.vgtOutDeallocCntl = 0x10;
return result;
}();

2 changes: 1 addition & 1 deletion rpcsx-gpu2/Registers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,4 +928,4 @@ struct Registers {
};

#pragma pack(pop)
} // namespace amdgpu
} // namespace amdgpu
1 change: 1 addition & 0 deletions rpcsx-gpu2/lib/amdgpu-tiler/include/amdgpu/tiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <cstdlib>
#include <gnm/constants.hpp>
#include <gnm/descriptors.hpp>
#include <bit>

namespace amdgpu {
inline constexpr uint32_t kMicroTileWidth = 8;
Expand Down

0 comments on commit 8382a85

Please sign in to comment.