aco: create hw_init_scratch() function for p_init_scratch lowering

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21780>
This commit is contained in:
Daniel Schürmann
2023-03-09 20:50:06 +01:00
committed by Marge Bot
parent 2fee99a36c
commit 7d35bf24f6
2 changed files with 35 additions and 28 deletions

View File

@@ -639,6 +639,8 @@ formats = [(f if len(f) == 5 else f + ('',)) for f in formats]
% endfor
};
void hw_init_scratch(Builder& bld, Definition def, Operand scratch_addr, Operand scratch_offset);
} // namespace aco
#endif /* _ACO_BUILDER_ */"""