mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
[msl-writer] Handle uniform buffers.
This CL adds support for handling uniform data. Currently the uniform is added to a buffer where the number is the binding value. This will need to be updated to accept the correct mapping from the embedder. Bug: tint:8 Change-Id: Icccccbe599a9555defa6136e384745f4093df020 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/25104 Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
@@ -2915,7 +2915,7 @@ TypedExpression FunctionEmitter::MakeAccessChain(
|
||||
type_mgr_->FindPointerToType(pointee_type_id, storage_class);
|
||||
auto* ast_pointer_type = parser_impl_.ConvertType(pointer_type_id);
|
||||
assert(ast_pointer_type);
|
||||
assert(ast_pointer_type->IsPointer);
|
||||
assert(ast_pointer_type->IsPointer());
|
||||
current_expr.reset(TypedExpression(ast_pointer_type, std::move(next_expr)));
|
||||
}
|
||||
return current_expr;
|
||||
|
||||
Reference in New Issue
Block a user