Searched refs:PIPE_SWIZZLE_ONE (Results 1 – 4 of 4) 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 }
1722 case PIPE_SWIZZLE_ONE: return GL_ONE; in to_gl_swizzle()1816 swizzle[0] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()1818 swizzle[1] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()1820 swizzle[2] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()1822 swizzle[3] = PIPE_SWIZZLE_ONE; in vrend_create_sampler_view()
500 #define PIPE_SWIZZLE_ONE 5 macro