Searched refs:border_swizzled (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state_derived.c | 607 float border_swizzled[4] = {0}; in r300_get_border_color() local 631 util_format_unswizzle_4f(border_swizzled, border, desc->swizzle); in r300_get_border_color() 638 border_swizzled[0] = border_swizzled[0] < 0 ? in r300_get_border_color() 639 border_swizzled[0]*0.5+1 : in r300_get_border_color() 640 border_swizzled[0]*0.5; in r300_get_border_color() 647 border_swizzled[1] = border_swizzled[0] + 1.0f/32; in r300_get_border_color() 648 util_pack_color(border_swizzled, PIPE_FORMAT_B4G4R4A4_UNORM, &uc); in r300_get_border_color() 652 util_pack_color(border_swizzled, PIPE_FORMAT_R8G8B8A8_SNORM, &uc); in r300_get_border_color() 656 util_pack_color(border_swizzled, PIPE_FORMAT_R8G8B8A8_UNORM, &uc); in r300_get_border_color() 662 util_pack_color(border_swizzled, PIPE_FORMAT_B8G8R8A8_SRGB, &uc); in r300_get_border_color() [all …]
|