mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Add support for SPIRV reading to BUILD.gn
BUG=dawn:16 Change-Id: I1da30fed82a310007674801e3b1e853b25d5b573 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/19640 Reviewed-by: dan sinclair <dsinclair@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
@@ -806,7 +806,7 @@ std::unique_ptr<ast::Expression> ParserImpl::MakeConstantExpression(
|
||||
return std::make_unique<ast::ScalarConstructorExpression>(
|
||||
std::make_unique<ast::BoolLiteral>(ast_type, value));
|
||||
}
|
||||
auto spirv_composite_const = spirv_const->AsCompositeConstant();
|
||||
auto* spirv_composite_const = spirv_const->AsCompositeConstant();
|
||||
if (spirv_composite_const != nullptr) {
|
||||
// Handle vector, matrix, array, and struct
|
||||
|
||||
|
||||
Reference in New Issue
Block a user