mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
clang format
This commit is contained in:
parent
dbeed80e3b
commit
ce6a01bd41
7 changed files with 14 additions and 18 deletions
|
@ -12,8 +12,8 @@
|
|||
namespace Shader::IR {
|
||||
|
||||
template <typename Pred>
|
||||
auto BreadthFirstSearch(const Value& value, Pred&& pred)
|
||||
-> std::invoke_result_t<Pred, const Inst*> {
|
||||
auto BreadthFirstSearch(const Value& value,
|
||||
Pred&& pred) -> std::invoke_result_t<Pred, const Inst*> {
|
||||
if (value.IsImmediate()) {
|
||||
// Nothing to do with immediates
|
||||
return std::nullopt;
|
||||
|
|
|
@ -52,7 +52,7 @@ constexpr Type F64x2{Type::F64x2};
|
|||
constexpr Type F64x3{Type::F64x3};
|
||||
constexpr Type F64x4{Type::F64x4};
|
||||
|
||||
constexpr OpcodeMeta META_TABLE[]{
|
||||
constexpr OpcodeMeta META_TABLE[] {
|
||||
#define OPCODE(name_token, type_token, ...) \
|
||||
{ \
|
||||
.name{#name_token}, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue