diff --git a/README.md b/README.md index e52f4312..8552db99 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ Add the following CMake user preset file in your project directory. I'll assume "inherits": "default", "cacheVariables": { "CMAKE_C_COMPILER": "/usr/bin/clang-18", - "CMAKE_CXX_COMPILER": "/usr/bin/clang++-18", + "CMAKE_CXX_COMPILER": "/usr/bin/clang++", "CMAKE_CXX_FLAGS": "-stdlib=libc++", "CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++ -lc++abi", "VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/triplets", @@ -223,7 +223,7 @@ Add the following CMake user preset file in your project directory. I'll assume `clang-toolchain.cmake` ```cmake set(CMAKE_C_COMPILER /usr/bin/clang-18) -set(CMAKE_CXX_COMPILER /usr/bin/clang++-18) +set(CMAKE_CXX_COMPILER /usr/bin/clang++) set(CMAKE_CXX_FLAGS "-stdlib=libc++") set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lc++abi") ``` @@ -326,4 +326,4 @@ This project is **licensed under the GPL-v3 License**. See the [LICENSE](LICENSE [^1]: I like this term because it's hilarious for several reasons, but it's no joke! It has the **significantly faster glTF model loading speed than the other the viewers** I've tested. See [Performance Comparison](https://github.com/stripe2933/vk-gltf-viewer/blob/master/docs/performance-comparison.md) page for details. [^2]: Applied for standard glTF 2.0 asset only. Asset with material related extensions may require additional draw calls for pipeline changing. -[^3]: On Apple GPU platform prior to the MoltenVK 1.2.11 (which enables the Metal Argument Buffer by default), [`maxPerStageDescriptorUpdateAfterBindStorageImages` is 8](https://vulkan.gpuinfo.org/displaycoreproperty.php?platform=macos&name=maxPerStageDescriptorUpdateAfterBindStorageImages&core=1.2). It limited the cubemap resoluton and prefilteredmap roughnesslevels. Instead, it can use `VK_AMD_shader_image_load_store_lod` extension to replace the descriptor indexing based cubemap mipmapping and prefilteredmap generation. \ No newline at end of file +[^3]: On Apple GPU platform prior to the MoltenVK 1.2.11 (which enables the Metal Argument Buffer by default), [`maxPerStageDescriptorUpdateAfterBindStorageImages` is 8](https://vulkan.gpuinfo.org/displaycoreproperty.php?platform=macos&name=maxPerStageDescriptorUpdateAfterBindStorageImages&core=1.2). It limited the cubemap resoluton and prefilteredmap roughnesslevels. Instead, it can use `VK_AMD_shader_image_load_store_lod` extension to replace the descriptor indexing based cubemap mipmapping and prefilteredmap generation.