Searched refs:swizzled (Results 1 - 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.h109 LLVMValueRef *swizzled);
H A Dlp_bld_swizzle.c318 * This fills a vector of dst_len length with the swizzled channels from src.
569 * @return the swizzled value.
599 * @param swizzled output swizzled values
605 LLVMValueRef *swizzled)
610 swizzled[chan] = lp_build_swizzle_soa_channel(bld, unswizzled,
602 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_resource.h35 bool swizzled; member in struct:nv30_miptree
H A Dnv30_clear.c121 if (nv30_miptree(ps->texture)->swizzled) {
181 if (nv30_miptree(ps->texture)->swizzled) {
H A Dnv30_state.c373 /* Hardware can't handle different swizzled-ness or different blocksizes
381 if (color_mt->swizzled != zeta_mt->swizzled ||
382 (color_mt->swizzled &&
H A Dnv30_state_validate.c57 if (mt->swizzled)
70 if (nv30_miptree(fb->zsbuf->texture)->swizzled)
H A Dnv30_texture.c290 if (!mt->swizzled)
H A Dnv30_miptree.c102 if (mt->swizzled) {
422 mt->swizzled = true;
525 if (mt->swizzled)
/external/deqp/framework/common/
H A DtcuTexture.cpp1281 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); local
1282 *((deUint16*)pixelPtr) = (deUint16)(PN(swizzled[0], 11, 5) | PN(swizzled[1], 5, 6) | PN(swizzled[2], 0, 5));
1288 const UVec4 swizzled = swizzleRB(color.cast<deUint32>(), TextureFormat::RGB, m_format.order); local
1289 *((deUint16*)pixelPtr) = (deUint16)(PU(swizzled[0], 11, 5) | PU(swizzled[1], 5, 6) | PU(swizzled[2], 0, 5));
1295 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); local
1296 *((deUint16*)pixelPtr) = (deUint16)(PN(swizzled[
1302 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
1309 const UVec4 swizzled = swizzleRB(color.cast<deUint32>(), TextureFormat::RGBA, m_format.order); local
1316 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
1323 const Vec4 swizzled = color.swizzle(3,0,1,2); // RGBA -> ARGB local
1330 const UVec4 swizzled = swizzleRB(color.cast<deUint32>(), TextureFormat::RGBA, m_format.order); local
1430 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); local
1437 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); local
1445 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
1453 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
1460 const IVec4 swizzled = color.swizzle(3,0,1,2); // RGBA -> ARGB local
1468 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
1476 const IVec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); local
[all...]
/external/mesa3d/src/intel/vulkan/
H A Danv_gem.c228 bool swizzled = false; local
257 swizzled = get_tiling.swizzle_mode != I915_BIT_6_SWIZZLE_NONE;
265 return swizzled;
H A Danv_device.c171 bool swizzled = anv_gem_get_bit6_swizzle(fd, I915_TILING_X); local
216 isl_device_init(&device->isl_dev, &device->info, swizzled);
/external/mesa3d/src/compiler/nir/
H A Dnir_lower_tex.c633 nir_ssa_def *swizzled; local
640 swizzled = get_zero_or_one(b, tex->dest_type, swizzle[tex->component]);
648 swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4, false);
658 swizzled = nir_vec(b, srcs, 4);
662 nir_ssa_def_rewrite_uses_after(&tex->dest.ssa, nir_src_for_ssa(swizzled),
663 swizzled->parent_instr);
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c507 nir_ssa_def *swizzled[4]; local
509 swizzled[i] = vc4_nir_get_swizzled_channel(b, colors,
515 swizzled[0], swizzled[1],
516 swizzled[2], swizzled[3]));
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c1489 * Create swizzled tgsi_full_src_register.
1496 struct tgsi_full_src_register swizzled = *reg; local
1498 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX);
1499 swizzled.Register.SwizzleY = get_swizzle(reg, swizzleY);
1500 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ);
1501 swizzled.Register.SwizzleW = get_swizzle(reg, swizzleW);
1502 return swizzled;
1507 * Create swizzled tgsi_full_src_register where all the swizzle
1513 struct tgsi_full_src_register swizzled = *reg; local
1515 swizzled
4896 boolean swizzled; member in struct:tex_swizzle_info
[all...]
/external/mesa3d/src/compiler/glsl/
H A Dir.cpp53 * \param from Component in the RHS that is to be swizzled
72 bool swizzled = false; local
103 swizzled = true;
106 if (swizzled) {
1380 * (i.e., float, int, unsigned, or bool) of the vector being swizzled,
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_alu.c166 struct rc_src_register swizzled = reg; local
167 swizzled.Swizzle = combine_swizzles4(reg.Swizzle, x, y, z, w);
168 return swizzled;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_vec4_visitor.cpp1111 src_reg swizzled(dest);
1112 swizzled.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W,
1114 emit(MOV(dest, swizzled));
H A Dintel_mipmap_tree.c2369 intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y, bool swizzled) argument
2394 if (swizzled) {

Completed in 356 milliseconds