• Home
  • Raw
  • Download

Lines Matching refs:border

62    union pipe_color_union border;  in encode_border_color()  local
65 border.ui[i] = bc_info->customBorderColor.uint32[format->swizzle[i]]; in encode_border_color()
67 border.ui[i] = 0; in encode_border_color()
73 border.f[0] = CLAMP(border.f[0], 0, 1); in encode_border_color()
74 border.ui[1] = CLAMP(border.ui[1], 0, 0xff); in encode_border_color()
77 border.f[i] = CLAMP(border.f[i], 0, 1); in encode_border_color()
80 border.f[i] = CLAMP(border.f[i], -1, 1); in encode_border_color()
84 border.ui[i] = CLAMP(border.ui[i], 0, (1 << desc->channel[i].size)); in encode_border_color()
88 border.i[i] = CLAMP(border.i[i], in encode_border_color()
97 border.ui[i] = _mesa_float_to_half(border.f[i]); in encode_border_color()
105 border.ui[i] = (uint32_t) (border.f[i] * (float) 0xffff); in encode_border_color()
112 border.ui[i] = _mesa_float_to_half(border.f[i]); in encode_border_color()
120 border.ui[i] = (int32_t) (border.f[i] * (float) 0x3fff); in encode_border_color()
123 border.i[i] = (int32_t) (border.f[i] * (float) 0x7fff); in encode_border_color()
130 border.ui[i] = _mesa_float_to_half(border.f[i]); in encode_border_color()
138 border.ui[i] = _mesa_float_to_half(border.f[i]); in encode_border_color()
146 return border; in encode_border_color()
207 union pipe_color_union border = encode_border_color(bc_info); in v3dX() local
209 s.border_color_word_0 = border.ui[0]; in v3dX()
210 s.border_color_word_1 = border.ui[1]; in v3dX()
211 s.border_color_word_2 = border.ui[2]; in v3dX()
212 s.border_color_word_3 = border.ui[3]; in v3dX()