-
Fix ASTC support for GN build · abc7a30aNicolas Capens authored
Defines in BUILD.gn files don't apply transitively to dependencies, so we have to repeat the SWIFTSHADER_ENABLE_ASTC for the Device subdirectory. Note we could also use 'public_configs = [:swiftshader_libvulkan_private_config]' but this adds more defines and build flags than what we need. Since this is intended as a temporary workaround anyway, we're keeping it simple. Bug: b/150600814 Change-Id: Ib06f4a22559ee58114da5841e66e59bfce9aec4a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41868Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Antonio Maiorano <amaiorano@google.com>
abc7a30a
×