Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_nir_attribute_workarounds.c36 const uint8_t *wa_flags; member
52 uint8_t wa_flags = state->wa_flags[intrin->const_index[0]]; in apply_attr_wa_block() local
53 if (wa_flags == 0) in apply_attr_wa_block()
63 if (wa_flags & BRW_ATTRIB_WA_COMPONENT_MASK) { in apply_attr_wa_block()
68 bool rescale = i < (wa_flags & BRW_ATTRIB_WA_COMPONENT_MASK); in apply_attr_wa_block()
75 if (wa_flags & BRW_ATTRIB_WA_SIGN) { in apply_attr_wa_block()
82 if (wa_flags & BRW_ATTRIB_WA_BGRA) { in apply_attr_wa_block()
86 if (wa_flags & BRW_ATTRIB_WA_NORMALIZE) { in apply_attr_wa_block()
90 if (wa_flags & BRW_ATTRIB_WA_SIGN) { in apply_attr_wa_block()
120 if (wa_flags & BRW_ATTRIB_WA_SCALE) { in apply_attr_wa_block()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c303 uint8_t wa_flags = 0; in brw_merge_inputs() local
310 wa_flags = brw->vb.inputs[i].glarray->Size; in brw_merge_inputs()
314 wa_flags |= BRW_ATTRIB_WA_SIGN; in brw_merge_inputs()
319 wa_flags |= BRW_ATTRIB_WA_BGRA; in brw_merge_inputs()
322 wa_flags |= BRW_ATTRIB_WA_NORMALIZE; in brw_merge_inputs()
324 wa_flags |= BRW_ATTRIB_WA_SCALE; in brw_merge_inputs()
329 if (brw->vb.attrib_wa_flags[i] != wa_flags) { in brw_merge_inputs()
330 brw->vb.attrib_wa_flags[i] = wa_flags; in brw_merge_inputs()