Home
last modified time | relevance | path

Searched refs:wa_flags (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_attribute_workarounds.c45 uint8_t wa_flags = attrib_wa_flags[intrin->const_index[0]]; in apply_attr_wa_instr() local
46 if (wa_flags == 0) in apply_attr_wa_instr()
56 if (wa_flags & BRW_ATTRIB_WA_COMPONENT_MASK) { in apply_attr_wa_instr()
61 bool rescale = i < (wa_flags & BRW_ATTRIB_WA_COMPONENT_MASK); in apply_attr_wa_instr()
68 if (wa_flags & BRW_ATTRIB_WA_SIGN) { in apply_attr_wa_instr()
75 if (wa_flags & BRW_ATTRIB_WA_BGRA) { in apply_attr_wa_instr()
79 if (wa_flags & BRW_ATTRIB_WA_NORMALIZE) { in apply_attr_wa_instr()
83 if (wa_flags & BRW_ATTRIB_WA_SIGN) { in apply_attr_wa_instr()
113 if (wa_flags & BRW_ATTRIB_WA_SCALE) { in apply_attr_wa_instr()
114 val = (wa_flags & BRW_ATTRIB_WA_SIGN) ? nir_i2f32(b, val) in apply_attr_wa_instr()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c3700 uint8_t wa_flags = 0; in get_wa_flags() local
3704 wa_flags = BRW_ATTRIB_WA_SCALE; in get_wa_flags()
3707 wa_flags = BRW_ATTRIB_WA_SIGN | BRW_ATTRIB_WA_SCALE; in get_wa_flags()
3710 wa_flags = BRW_ATTRIB_WA_NORMALIZE; in get_wa_flags()
3713 wa_flags = BRW_ATTRIB_WA_SIGN | BRW_ATTRIB_WA_NORMALIZE; in get_wa_flags()
3716 wa_flags = BRW_ATTRIB_WA_SIGN; in get_wa_flags()
3719 wa_flags = BRW_ATTRIB_WA_SCALE | BRW_ATTRIB_WA_BGRA; in get_wa_flags()
3722 wa_flags = BRW_ATTRIB_WA_SIGN | BRW_ATTRIB_WA_SCALE | BRW_ATTRIB_WA_BGRA; in get_wa_flags()
3725 wa_flags = BRW_ATTRIB_WA_NORMALIZE | BRW_ATTRIB_WA_BGRA; in get_wa_flags()
3728 wa_flags = BRW_ATTRIB_WA_SIGN | BRW_ATTRIB_WA_NORMALIZE | BRW_ATTRIB_WA_BGRA; in get_wa_flags()
[all …]