Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DSwizzleTest.cpp131 GLubyte getExpectedValue(GLenum swizzle, GLubyte unswizzled[4]) in getExpectedValue() argument
136 return unswizzled[0]; in getExpectedValue()
138 return unswizzled[1]; in getExpectedValue()
140 return unswizzled[2]; in getExpectedValue()
142 return unswizzled[3]; in getExpectedValue()
166 GLubyte unswizzled[4]; in runTest2D() local
167 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &unswizzled); in runTest2D()
181 EXPECT_PIXEL_EQ(0, 0, getExpectedValue(permutation.swizzleRed, unswizzled), in runTest2D()
182 getExpectedValue(permutation.swizzleGreen, unswizzled), in runTest2D()
183 getExpectedValue(permutation.swizzleBlue, unswizzled), in runTest2D()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.c552 * @param unswizzled array with the 4 unswizzled values
559 const LLVMValueRef *unswizzled, in lp_build_swizzle_soa_channel()
567 return unswizzled[swizzle]; in lp_build_swizzle_soa_channel()
583 * @param unswizzled array with the 4 unswizzled values
589 const LLVMValueRef *unswizzled, in lp_build_swizzle_soa()
594 swizzled[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, in lp_build_swizzle_soa()
612 LLVMValueRef unswizzled[4]; in lp_build_swizzle_soa_inplace() local
615 unswizzled[cha in lp_build_swizzle_soa_inplace()
558 lp_build_swizzle_soa_channel(struct lp_build_context *bld, const LLVMValueRef *unswizzled, enum pipe_swizzle swizzle) lp_build_swizzle_soa_channel() argument
588 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) lp_build_swizzle_soa() argument
[all...]
H A Dlp_bld_swizzle.h102 const LLVMValueRef *unswizzled,
108 const LLVMValueRef *unswizzled,
H A Dlp_bld_format.h98 LLVMValueRef unswizzled);
131 const LLVMValueRef unswizzled[4],
H A Dlp_bld_format_aos.c60 * Basic swizzling. Rearrange the order of the unswizzled array elements
63 * Ex: if unswizzled[4] = {B, G, R, x}, then swizzled_out[4] = {R, G, B, 1}.
68 LLVMValueRef unswizzled) in lp_build_format_swizzle_aos()
95 return lp_build_swizzle_aos(bld, unswizzled, swizzles); in lp_build_format_swizzle_aos()
372 LLVMValueRef shifted, casted, scaled, unswizzled; in lp_build_pack_rgba_aos() local
396 unswizzled = LLVMBuildShuffleVector(builder, rgba, in lp_build_pack_rgba_aos()
427 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), ""); in lp_build_pack_rgba_aos()
429 scaled = unswizzled; in lp_build_pack_rgba_aos()
66 lp_build_format_swizzle_aos(const struct util_format_description *desc, struct lp_build_context *bld, LLVMValueRef unswizzled) lp_build_format_swizzle_aos() argument
H A Dlp_bld_sample_aos.c1127 LLVMValueRef unswizzled[4]; in lp_build_sample_aos() local
1201 packed, unswizzled); in lp_build_sample_aos()
1206 unswizzled, texel_out); in lp_build_sample_aos()
1209 texel_out[0] = unswizzled[0]; in lp_build_sample_aos()
1210 texel_out[1] = unswizzled[1]; in lp_build_sample_aos()
1211 texel_out[2] = unswizzled[2]; in lp_build_sample_aos()
1212 texel_out[3] = unswizzled[3]; in lp_build_sample_aos()
H A Dlp_bld_format_soa.c84 const LLVMValueRef unswizzled[4], in lp_build_format_swizzle_soa()
104 depth_or_stencil = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle); in lp_build_format_swizzle_soa()
113 swizzled_out[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle); in lp_build_format_swizzle_soa()
82 lp_build_format_swizzle_soa(const struct util_format_description *format_desc, struct lp_build_context *bld, const LLVMValueRef unswizzled[4], LLVMValueRef swizzled_out[4]) lp_build_format_swizzle_soa() argument

Completed in 7 milliseconds