Home
last modified time | relevance | path

Searched refs:swizzled (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureSwizzleTests.cpp155 tcu::IVec4 swizzled = original.toIVec(); in iterate() local
162 swizzled[ndx] = zero; in iterate()
165 swizzled[ndx] = one; in iterate()
168 swizzled[ndx] = bitDepth[0] ? original.getRed() : zero; in iterate()
171 swizzled[ndx] = bitDepth[1] ? original.getGreen() : zero; in iterate()
174 swizzled[ndx] = bitDepth[2] ? original.getBlue() : zero; in iterate()
177 swizzled[ndx] = bitDepth[3] ? original.getAlpha() : one; in iterate()
184 …swizzledReference.setPixel(x, y, tcu::RGBA(swizzled.x(), swizzled.y(), swizzled.z(), swizzled.w())… in iterate()
/external/deqp/framework/common/
DtcuTexture.cpp1281 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); in setPixel() local
1282 …*((deUint16*)pixelPtr) = (deUint16)(PN(swizzled[0], 11, 5) | PN(swizzled[1], 5, 6) | PN(swizzled[2… in setPixel()
1288 const UVec4 swizzled = swizzleRB(color.cast<deUint32>(), TextureFormat::RGB, m_format.order); in setPixel() local
1289 …*((deUint16*)pixelPtr) = (deUint16)(PU(swizzled[0], 11, 5) | PU(swizzled[1], 5, 6) | PU(swizzled[2… in setPixel()
1295 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGB, m_format.order); in setPixel() local
1296 …*((deUint16*)pixelPtr) = (deUint16)(PN(swizzled[0], 10, 5) | PN(swizzled[1], 5, 5) | PN(swizzled[2… in setPixel()
1302 const Vec4 swizzled = swizzleRB(color, TextureFormat::RGBA, m_format.order); in setPixel() local
1303 …deUint16*)pixelPtr) = (deUint16)(PN(swizzled[0], 12, 4) | PN(swizzled[1], 8, 4) | PN(swizzled[2], … in setPixel()
1309 const UVec4 swizzled = swizzleRB(color.cast<deUint32>(), TextureFormat::RGBA, m_format.order); in setPixel() local
1310 …deUint16*)pixelPtr) = (deUint16)(PU(swizzled[0], 12, 4) | PU(swizzled[1], 8, 4) | PU(swizzled[2], … in setPixel()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c459 nir_ssa_def *swizzled[4]; in vc4_nir_swizzle_and_pack() local
461 swizzled[i] = vc4_nir_get_swizzled_channel(b, colors, in vc4_nir_swizzle_and_pack()
467 swizzled[0], swizzled[1], in vc4_nir_swizzle_and_pack()
468 swizzled[2], swizzled[3])); in vc4_nir_swizzle_and_pack()
/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c655 nir_ssa_def *swizzled; in swizzle_result() local
662 swizzled = get_zero_or_one(b, tex->dest_type, swizzle[tex->component]); in swizzle_result()
670 swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4, false); in swizzle_result()
680 swizzled = nir_vec(b, srcs, 4); in swizzle_result()
684 nir_ssa_def_rewrite_uses_after(&tex->dest.ssa, nir_src_for_ssa(swizzled), in swizzle_result()
685 swizzled->parent_instr); in swizzle_result()
/external/mesa3d/src/intel/vulkan/
Danv_gem.c265 bool swizzled = false; in anv_gem_get_bit6_swizzle() local
294 swizzled = get_tiling.swizzle_mode != I915_BIT_6_SWIZZLE_NONE; in anv_gem_get_bit6_swizzle()
302 return swizzled; in anv_gem_get_bit6_swizzle()
Danv_device.c369 bool swizzled = anv_gem_get_bit6_swizzle(fd, I915_TILING_X); in anv_physical_device_init() local
421 isl_device_init(&device->isl_dev, &device->info, swizzled); in anv_physical_device_init()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h35 bool swizzled; member
Dnv30_clear.c121 if (nv30_miptree(ps->texture)->swizzled) { in nv30_clear_render_target()
181 if (nv30_miptree(ps->texture)->swizzled) { in nv30_clear_depth_stencil()
Dnv30_state.c382 if (color_mt->swizzled != zeta_mt->swizzled || in nv30_set_framebuffer_state()
383 (color_mt->swizzled && in nv30_set_framebuffer_state()
Dnv30_miptree.c102 if (mt->swizzled) { in define_rect()
422 mt->swizzled = true; in nv30_miptree_create()
525 if (mt->swizzled) in nv30_miptree_surface_new()
Dnv30_state_validate.c57 if (mt->swizzled) in nv30_validate_fb()
70 if (nv30_miptree(fb->zsbuf->texture)->swizzled) in nv30_validate_fb()
Dnv30_texture.c290 if (!mt->swizzled) in nv30_sampler_view_create()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.h109 LLVMValueRef *swizzled);
Dlp_bld_swizzle.c605 LLVMValueRef *swizzled) in lp_build_swizzle_soa() argument
610 swizzled[chan] = lp_build_swizzle_soa_channel(bld, unswizzled, in lp_build_swizzle_soa()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1501 struct tgsi_full_src_register swizzled = *reg; in swizzle_src() local
1503 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX); in swizzle_src()
1504 swizzled.Register.SwizzleY = get_swizzle(reg, swizzleY); in swizzle_src()
1505 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ); in swizzle_src()
1506 swizzled.Register.SwizzleW = get_swizzle(reg, swizzleW); in swizzle_src()
1507 return swizzled; in swizzle_src()
1518 struct tgsi_full_src_register swizzled = *reg; in scalar_src() local
1520 swizzled.Register.SwizzleX = in scalar_src()
1521 swizzled.Register.SwizzleY = in scalar_src()
1522 swizzled.Register.SwizzleZ = in scalar_src()
[all …]
/external/skqp/src/codec/
DSkWuffsCodec.cpp557 const auto* swizzled = SkTAddOffset<uint32_t>(tmpBuffer.get(), in onIncrementalDecode() local
559 blend(reinterpret_cast<uint32_t*>(d), swizzled, fSwizzler->swizzleWidth()); in onIncrementalDecode()
/external/skia/src/codec/
DSkWuffsCodec.cpp561 const auto* swizzled = SkTAddOffset<uint32_t>(tmpBuffer.get(), in onIncrementalDecode() local
563 blend(reinterpret_cast<uint32_t*>(d), swizzled, fSwizzler->swizzleWidth()); in onIncrementalDecode()
/external/mesa3d/src/compiler/glsl/
Dir.cpp74 bool swizzled = false; in set_lhs() local
105 swizzled = true; in set_lhs()
108 if (swizzled) { in set_lhs()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c166 struct rc_src_register swizzled = reg; in swizzle() local
167 swizzled.Swizzle = combine_swizzles4(reg.Swizzle, x, y, z, w); in swizzle()
168 return swizzled; in swizzle()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp1104 src_reg swizzled(dest); in emit_texture() local
1105 swizzled.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, in emit_texture()
1107 emit(MOV(dest, swizzled)); in emit_texture()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c2880 intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y, bool swizzled) in intel_offset_S8() argument
2905 if (swizzled) { in intel_offset_S8()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp5117 TIntermTyped* swizzled = intermediate.addIndex(EOpVectorSwizzle, arg0, swizzleIdx, loc); in decomposeIntrinsic() local
5118 swizzled->setType(arg0->getType()); in decomposeIntrinsic()
5119 swizzled->getWritableType().getQualifier().makeTemporary(); in decomposeIntrinsic()
5122 … TIntermTyped* rangeConverted = handleBinaryMath(loc, "mul", EOpMul, conversion, swizzled); in decomposeIntrinsic()
/external/mesa3d/src/gallium/docs/source/
Dscreen.rst154 state should be swizzled manually according to the swizzle in the sampler
Dtgsi.rst2544 this will cause the resource data to be swizzled accordingly.
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrSSE.td257 // swizzled by ExecutionDepsFix to pxor.

12