}
enum ir3_shader_debug {
- IR3_DBG_SHADER_VS = 0x001,
- IR3_DBG_SHADER_TCS = 0x002,
- IR3_DBG_SHADER_TES = 0x004,
- IR3_DBG_SHADER_GS = 0x008,
- IR3_DBG_SHADER_FS = 0x010,
- IR3_DBG_SHADER_CS = 0x020,
- IR3_DBG_DISASM = 0x040,
- IR3_DBG_OPTMSGS = 0x080,
- IR3_DBG_FORCES2EN = 0x100,
- IR3_DBG_NOUBOOPT = 0x200,
- IR3_DBG_SCHEDMSGS = 0x400,
- IR3_DBG_NOFP16 = 0x800,
+ IR3_DBG_SHADER_VS = BITFIELD_BIT(0),
+ IR3_DBG_SHADER_TCS = BITFIELD_BIT(1),
+ IR3_DBG_SHADER_TES = BITFIELD_BIT(2),
+ IR3_DBG_SHADER_GS = BITFIELD_BIT(3),
+ IR3_DBG_SHADER_FS = BITFIELD_BIT(4),
+ IR3_DBG_SHADER_CS = BITFIELD_BIT(5),
+ IR3_DBG_DISASM = BITFIELD_BIT(6),
+ IR3_DBG_OPTMSGS = BITFIELD_BIT(7),
+ IR3_DBG_FORCES2EN = BITFIELD_BIT(8),
+ IR3_DBG_NOUBOOPT = BITFIELD_BIT(9),
+ IR3_DBG_SCHEDMSGS = BITFIELD_BIT(10),
+ IR3_DBG_NOFP16 = BITFIELD_BIT(11),
};
extern enum ir3_shader_debug ir3_shader_debug;