Home | History | Annotate | Download | only in gallivm

Lines Matching defs:packed

123                           LLVMValueRef packed)
128 LLVMValueRef input = packed;
280 * It takes a vector of packed pixels:
282 * packed = {P0, P1, P2, P3, ..., Pn}
291 * It requires that a packed pixel fits into an element of the output
295 * \param format_desc the format of the 'packed' incoming pixel vector
297 * \param packed the incoming vector of packed pixels
304 LLVMValueRef packed,
334 packed);
348 * \param packed The rgba8 values to pack.
355 LLVMValueRef packed,
363 packed = LLVMBuildBitCast(builder, packed,
376 input = packed;
440 * The packed pixel fits into an element of the destination format. Put
441 * the packed pixels into a vector and extract each component for all
445 LLVMValueRef packed;
449 * Ex: packed = {XYZW, XYZW, XYZW, XYZW}
453 packed = lp_build_gather(gallivm,
466 packed, rgba_out);
483 * Similar to above, but the packed pixel is larger than what fits
484 * into an element of the destination format. The packed pixels will be
493 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32];
609 packed[i] = lp_build_gather(gallivm, gather_type.length,
616 packed[i] = LLVMBuildBitCast(builder, packed[i],
618 packed[i] = LLVMBuildFPTrunc(builder, packed[i], bld.vec_type, "");
631 dst[i] = LLVMBuildShuffleVector(builder, packed[0], packed[1],
636 lp_build_transpose_aos(gallivm, lp_int_type(type), packed, dst);
640 dst[0] = packed[0];
678 * AoS packed -> SoA float conversion code.
680 LLVMValueRef packed;
686 packed = lp_build_gather(gallivm, type.length,
691 lp_build_r11g11b10_to_float(gallivm, packed, rgba_out);
694 lp_build_rgb9e5_to_float(gallivm, packed, rgba_out);
705 LLVMValueRef packed;
716 packed = lp_build_gather(gallivm, type.length, 32, fetch_type,
718 packed = LLVMBuildAnd(builder, packed,
723 packed = lp_build_gather(gallivm, type.length, 32, fetch_type,
725 packed = LLVMBuildBitCast(builder, packed,
729 rgba_out[0] = rgba_out[1] = rgba_out[2] = packed;
749 LLVMValueRef packed, rgba[4];
766 packed = lp_build_fetch_rgba_aos(gallivm, flinear_desc, tmp_type,
768 packed = LLVMBuildBitCast(builder, packed, bld.int_vec_type, "");
771 * The values are now packed so they match ordinary (srgb) RGBA8 format,
782 packed, rgba);