ir3: Make type_flags() return a bitmask enum

So that it can further be operated on.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075>
This commit is contained in:
Connor Abbott
2023-03-17 15:19:16 +01:00
committed by Marge Bot
parent ac132b3f62
commit 823e034db2

View File

@@ -2146,7 +2146,7 @@ __ssa_dst(struct ir3_instruction *instr)
return reg;
}
static ir3_register_flags
static BITMASK_ENUM(ir3_register_flags)
type_flags(type_t type)
{
if (type_size(type) < 32)