Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
++
  • Loading branch information
jonahwilliams committed Nov 4, 2023
commit 8f84e165d1c40fcdb4f3e4557026c04ec108aaa3
5 changes: 2 additions & 3 deletions impeller/renderer/backend/metal/shader_function_mtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ class ShaderFunctionMTL final

using CompileCallback = std::function<void(id<MTLFunction>)>;

void GetMTLFunctionSpecialized(
const std::vector<int>& constants,
CompileCallback callback) const;
void GetMTLFunctionSpecialized(const std::vector<int>& constants,
CompileCallback callback) const;

private:
friend class ShaderLibraryMTL;
Expand Down
6 changes: 3 additions & 3 deletions impeller/renderer/backend/metal/shader_function_mtl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
[library_ newFunctionWithName:@(GetName().data())
constantValues:constantValues
completionHandler:^(id<MTLFunction> _Nullable function,
NSError* _Nullable error){
callback(function);
}];
NSError* _Nullable error) {
callback(function);
}];
}

id<MTLFunction> ShaderFunctionMTL::GetMTLFunction() const {
Expand Down