Move the addLayerIfAvailable() anonymous function to the condition where it's actually used. Otherwise we get "error: unused variable 'addLayerIfAvailable' [-Werror,-Wunused-variable]" Bug: b/185779640 Change-Id: I2aaa0656bfcb0c1c0aa14c44837cf1b46ea02f54 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/53988 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Reviewed-by:Alexis Hétu <sugoi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Buffer.cpp | Loading commit data... | |
| Buffer.hpp | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| DrawTester.cpp | Loading commit data... | |
| DrawTester.hpp | Loading commit data... | |
| Framebuffer.cpp | Loading commit data... | |
| Framebuffer.hpp | Loading commit data... | |
| Image.cpp | Loading commit data... | |
| Image.hpp | Loading commit data... | |
| Swapchain.cpp | Loading commit data... | |
| Swapchain.hpp | Loading commit data... | |
| Util.cpp | Loading commit data... | |
| Util.hpp | Loading commit data... | |
| VulkanHeaders.cpp | Loading commit data... | |
| VulkanHeaders.hpp | Loading commit data... | |
| VulkanTester.cpp | Loading commit data... | |
| VulkanTester.hpp | Loading commit data... | |
| Window.cpp | Loading commit data... | |
| Window.hpp | Loading commit data... |