Searched refs:PIPE_SWIZZLE_ONE (Results 1 – 5 of 5) sorted by relevance
424 dst->ui[c] = (swz[c] == PIPE_SWIZZLE_ONE) ? 1 : 0; in util_format_apply_color_swizzle()436 dst->f[c] = (swz[c] == PIPE_SWIZZLE_ONE) ? 1.0f : 0.0f; in util_format_apply_color_swizzle()
32 #define RRR1_SWIZZLE { PIPE_SWIZZLE_RED, PIPE_SWIZZLE_RED, PIPE_SWIZZLE_RED, PIPE_SWIZZLE_ONE }33 #define RGB1_SWIZZLE { PIPE_SWIZZLE_RED, PIPE_SWIZZLE_GREEN, PIPE_SWIZZLE_BLUE, PIPE_SWIZZLE_ONE }35 #define BGR1_SWIZZLE { PIPE_SWIZZLE_BLUE, PIPE_SWIZZLE_GREEN, PIPE_SWIZZLE_RED, PIPE_SWIZZLE_ONE }
542 case PIPE_SWIZZLE_ONE: return GL_ONE; in to_gl_swizzle()
2092 case PIPE_SWIZZLE_ONE: return GL_ONE; in to_gl_swizzle()2170 swizzle[0] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()2172 swizzle[1] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()2174 swizzle[2] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()2176 swizzle[3] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()5692 case PIPE_SWIZZLE_ONE: out_border_color->ui[i] = 1; in get_swizzled_border_color()
504 #define PIPE_SWIZZLE_ONE 5 macro