From 1935043d35d4e0f93cb4ac6f10381446172db1e8 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Thu, 12 Aug 2021 15:24:48 +0000 Subject: [PATCH] Fix CMake build. SpirvUtils.* are now in the dawn_native/opengl/ directory. Bug: dawn:1067 Change-Id: I9cfb7ee52ec1f4ac321cb03978008843e33f82c6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/61680 Reviewed-by: Austin Eng Commit-Queue: Austin Eng --- src/dawn_native/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dawn_native/CMakeLists.txt b/src/dawn_native/CMakeLists.txt index 34457573fa..d93e8a4e12 100644 --- a/src/dawn_native/CMakeLists.txt +++ b/src/dawn_native/CMakeLists.txt @@ -148,8 +148,6 @@ target_sources(dawn_native PRIVATE "Sampler.h" "ShaderModule.cpp" "ShaderModule.h" - "SpirvUtils.cpp" - "SpirvUtils.h" "StagingBuffer.cpp" "StagingBuffer.h" "Subresource.cpp" @@ -414,6 +412,8 @@ if (DAWN_ENABLE_OPENGL) "opengl/SamplerGL.h" "opengl/ShaderModuleGL.cpp" "opengl/ShaderModuleGL.h" + "opengl/SpirvUtils.cpp" + "opengl/SpirvUtils.h" "opengl/SwapChainGL.cpp" "opengl/SwapChainGL.h" "opengl/TextureGL.cpp"