Searched refs:override_color (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_meta_util.c | 335 union isl_color_value override_color = { in brw_meta_convert_fast_clear_color() local 350 override_color.u32[3] = override_color.u32[0]; in brw_meta_convert_fast_clear_color() 354 override_color.u32[1] = override_color.u32[0]; in brw_meta_convert_fast_clear_color() 355 override_color.u32[2] = override_color.u32[0]; in brw_meta_convert_fast_clear_color() 360 override_color.u32[i] = 0; in brw_meta_convert_fast_clear_color() 368 override_color.f32[i] = SATURATE(override_color.f32[i]); in brw_meta_convert_fast_clear_color() 373 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); in brw_meta_convert_fast_clear_color() 381 override_color.u32[i] = MIN2(override_color.u32[i], max); in brw_meta_convert_fast_clear_color() 392 override_color.i32[i] = CLAMP(override_color.i32[i], min, max); in brw_meta_convert_fast_clear_color() 400 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); in brw_meta_convert_fast_clear_color() [all …]
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_clear.c | 138 union isl_color_value override_color = *(union isl_color_value *)color; in convert_clear_color() local 146 override_color.u32[1] = override_color.u32[0]; in convert_clear_color() 147 override_color.u32[2] = override_color.u32[0]; in convert_clear_color() 149 override_color.u32[3] = override_color.u32[0]; in convert_clear_color() 153 override_color.u32[chan] = 0; in convert_clear_color() 159 override_color.f32[i] = SATURATE(override_color.f32[i]); in convert_clear_color() 162 override_color.f32[i] = CLAMP(override_color.f32[i], -1.0f, 1.0f); in convert_clear_color() 169 override_color.u32[i] = MIN2(override_color.u32[i], max); in convert_clear_color() 179 override_color.i32[i] = CLAMP(override_color.i32[i], min, max); in convert_clear_color() 186 override_color.f32[i] = MAX2(override_color.f32[i], 0.0f); in convert_clear_color() [all …]
|