Searched refs:unswizzled (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/angle/tests/angle_tests/
H A DSwizzleTest.cpp118 GLubyte getExpectedValue(GLenum swizzle, GLubyte unswizzled[4]) argument
122 case GL_RED: return unswizzled[0];
123 case GL_GREEN: return unswizzled[1];
124 case GL_BLUE: return unswizzled[2];
125 case GL_ALPHA: return unswizzled[3];
146 GLubyte unswizzled[4]; local
147 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &unswizzled);
162 getExpectedValue(permutation.swizzleRed, unswizzled),
163 getExpectedValue(permutation.swizzleGreen, unswizzled),
164 getExpectedValue(permutation.swizzleBlue, unswizzled),
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format.h54 LLVMValueRef unswizzled);
85 const LLVMValueRef unswizzled[4],
H A Dlp_bld_swizzle.h92 const LLVMValueRef *unswizzled,
98 const LLVMValueRef *unswizzled,
H A Dlp_bld_swizzle.c434 * @param unswizzled array with the 4 unswizzled values
441 const LLVMValueRef *unswizzled,
449 return unswizzled[swizzle];
465 * @param unswizzled array with the 4 unswizzled values
471 const LLVMValueRef *unswizzled,
478 swizzled[chan] = lp_build_swizzle_soa_channel(bld, unswizzled,
496 LLVMValueRef unswizzled[4]; local
500 unswizzled[cha
440 lp_build_swizzle_soa_channel(struct lp_build_context *bld, const LLVMValueRef *unswizzled, unsigned swizzle) argument
470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument
[all...]
H A Dlp_bld_format_aos.c55 * Basic swizzling. Rearrange the order of the unswizzled array elements
58 * Ex: if unswizzled[4] = {B, G, R, x}, then swizzled_out[4] = {R, G, B, 1}.
63 LLVMValueRef unswizzled)
90 return lp_build_swizzle_aos(bld, unswizzled, swizzles);
271 LLVMValueRef shifted, casted, scaled, unswizzled; local
296 unswizzled = LLVMBuildShuffleVector(builder, rgba,
329 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), "");
331 scaled = unswizzled;
61 lp_build_format_swizzle_aos(const struct util_format_description *desc, struct lp_build_context *bld, LLVMValueRef unswizzled) argument
H A Dlp_bld_format_soa.c47 const LLVMValueRef *unswizzled,
62 LLVMValueRef depth = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle);
70 swizzled_out[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle);
45 lp_build_format_swizzle_soa(const struct util_format_description *format_desc, struct lp_build_context *bld, const LLVMValueRef *unswizzled, LLVMValueRef swizzled_out[4]) argument
H A Dlp_bld_sample_aos.c1547 LLVMValueRef unswizzled[4]; local
1622 packed, unswizzled);
1627 unswizzled, texel_out);
1630 texel_out[0] = unswizzled[0];
1631 texel_out[1] = unswizzled[1];
1632 texel_out[2] = unswizzled[2];
1633 texel_out[3] = unswizzled[3];
H A Dlp_bld_tgsi_soa.c864 LLVMValueRef unswizzled[4] = {NULL, NULL, NULL, NULL}; local
890 if (!unswizzled[swizzle]) {
910 unswizzled[swizzle] = value;
912 value = unswizzled[swizzle];
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format.h54 LLVMValueRef unswizzled);
85 const LLVMValueRef unswizzled[4],
H A Dlp_bld_swizzle.h92 const LLVMValueRef *unswizzled,
98 const LLVMValueRef *unswizzled,
H A Dlp_bld_swizzle.c434 * @param unswizzled array with the 4 unswizzled values
441 const LLVMValueRef *unswizzled,
449 return unswizzled[swizzle];
465 * @param unswizzled array with the 4 unswizzled values
471 const LLVMValueRef *unswizzled,
478 swizzled[chan] = lp_build_swizzle_soa_channel(bld, unswizzled,
496 LLVMValueRef unswizzled[4]; local
500 unswizzled[cha
440 lp_build_swizzle_soa_channel(struct lp_build_context *bld, const LLVMValueRef *unswizzled, unsigned swizzle) argument
470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument
[all...]
H A Dlp_bld_format_aos.c55 * Basic swizzling. Rearrange the order of the unswizzled array elements
58 * Ex: if unswizzled[4] = {B, G, R, x}, then swizzled_out[4] = {R, G, B, 1}.
63 LLVMValueRef unswizzled)
90 return lp_build_swizzle_aos(bld, unswizzled, swizzles);
271 LLVMValueRef shifted, casted, scaled, unswizzled; local
296 unswizzled = LLVMBuildShuffleVector(builder, rgba,
329 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), "");
331 scaled = unswizzled;
61 lp_build_format_swizzle_aos(const struct util_format_description *desc, struct lp_build_context *bld, LLVMValueRef unswizzled) argument
H A Dlp_bld_format_soa.c47 const LLVMValueRef *unswizzled,
62 LLVMValueRef depth = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle);
70 swizzled_out[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle);
45 lp_build_format_swizzle_soa(const struct util_format_description *format_desc, struct lp_build_context *bld, const LLVMValueRef *unswizzled, LLVMValueRef swizzled_out[4]) argument
H A Dlp_bld_sample_aos.c1547 LLVMValueRef unswizzled[4]; local
1622 packed, unswizzled);
1627 unswizzled, texel_out);
1630 texel_out[0] = unswizzled[0];
1631 texel_out[1] = unswizzled[1];
1632 texel_out[2] = unswizzled[2];
1633 texel_out[3] = unswizzled[3];
H A Dlp_bld_tgsi_soa.c864 LLVMValueRef unswizzled[4] = {NULL, NULL, NULL, NULL}; local
890 if (!unswizzled[swizzle]) {
910 unswizzled[swizzle] = value;
912 value = unswizzled[swizzle];

Completed in 420 milliseconds