/external/valgrind/coregrind/ |
H A D | m_mallocfree.c | 1118 void swizzle ( Arena* a, UInt lno ) function 1633 swizzle ( a, listno );
|
/external/swiftshader/src/OpenGL/compiler/ |
H A D | OutputASM.cpp | 554 mul->src[1].swizzle = 0x00; 559 mad->src[1].swizzle = j * 0x55; 598 mov->src[0].swizzle = index; 656 int swizzle = 0; local 671 swizzle |= i << (component * 2); 680 mov->src[0].swizzle = swizzle; 772 mul->src[1].swizzle = 0x00; 778 mad->src[1].swizzle = i * 0x55; 791 mul->src[1].swizzle 869 static const unsigned int swizzle[3] = { 0x99, 0x88, 0x44 }; // xy?? : yzyz, xzxz, xyxy local 883 static const unsigned int swizzle[4] = { 0xF9, 0xF8, 0xF4, 0xE4 }; // xyz? : yzww, xzww, xyww, xyzw local 2279 swizzleElement(int swizzle, int index) argument 2325 int swizzle = lvalue(mov->dst, address, dst); local 2473 int swizzle = 0; local [all...] |
/external/swiftshader/src/Reactor/ |
H A D | Nucleus.cpp | 710 Constant *swizzle[4]; local 711 swizzle[0] = Nucleus::createConstantInt((select >> 0) & 0x03); 712 swizzle[1] = Nucleus::createConstantInt((select >> 2) & 0x03); 713 swizzle[2] = Nucleus::createConstantInt((select >> 4) & 0x03); 714 swizzle[3] = Nucleus::createConstantInt((select >> 6) & 0x03); 716 Value *shuffle = Nucleus::createShuffleVector(val, UndefValue::get(val->getType()), Nucleus::createConstantVector(swizzle, 4)); 730 Constant *swizzle[4]; local 731 swizzle[0] = Nucleus::createConstantInt(mask[0] ? 4 : 0); 732 swizzle[1] = Nucleus::createConstantInt(mask[1] ? 5 : 1); 733 swizzle[ 2671 Value *swizzle = Swizzle(RValue<Short4>(extend), 0x00).value; local 5228 Constant *swizzle[8]; local 5265 Constant *swizzle[8]; local 6248 Constant *swizzle[16]; local 6327 Constant *swizzle[16]; local 6474 Constant *swizzle[4]; local [all...] |
/external/swiftshader/src/Shader/ |
H A D | PixelShader.cpp | 292 int swizzle = instruction[i]->src[argument].swizzle; local 319 if((instruction[i]->src[0].swizzle & 0x30) == 0x20) // .xyz 385 interpolant[index][0] |= swizzleContainsComponentMasked(swizzle, 0, 0x7); 386 interpolant[index][1] |= swizzleContainsComponentMasked(swizzle, 1, 0x7); 387 interpolant[index][2] |= swizzleContainsComponentMasked(swizzle, 2, 0x7); 388 interpolant[index][3] |= swizzleContainsComponentMasked(swizzle, 3, 0x7); 395 interpolant[index + 1][0] |= swizzleContainsComponentMasked(swizzle, 0, 0x7); 396 interpolant[index + 1][1] |= swizzleContainsComponentMasked(swizzle, 1, 0x7); 397 interpolant[index + 1][2] |= swizzleContainsComponentMasked(swizzle, [all...] |
H A D | SamplerCore.cpp | 22 void applySwizzle(sw::SwizzleType swizzle, sw::Short4& s, const sw::Vector4s& c) argument 24 switch(swizzle) 36 void applySwizzle(sw::SwizzleType swizzle, sw::Float4& f, const sw::Vector4f& c) argument 38 switch(swizzle)
|
H A D | Shader.cpp | 437 switch(rel.swizzle & 0x03) 450 switch(rel.swizzle & 0x03) 467 switch(rel.swizzle & 0x03) 513 return Instruction::swizzleString(type, swizzle); 588 dst.rel.swizzle = 0x00; 594 dst.rel.swizzle = (unsigned char)((token[1] & 0x00FF0000) >> 16); 629 src[i].swizzle = 0xE4; 631 src[i].rel.swizzle = 0x00; 667 src[i].swizzle = (unsigned char)((token[0] & 0x00FF0000) >> 16); 683 src[i].rel.swizzle 688 swizzleString(ParameterType type, unsigned char swizzle) argument 1356 swizzleContainsComponent(int swizzle, int component) argument 1366 swizzleContainsComponentMasked(int swizzle, int component, int mask) argument [all...] |
H A D | Shader.hpp | 400 unsigned int swizzle : 8; member in struct:sw::Shader::Parameter::__anon18290::__anon18291::__anon18292 421 rel.swizzle = 0; 465 SourceParameter() : swizzle(0xE4), modifier(MODIFIER_NONE), bufferIndex(-1) 473 unsigned int swizzle : 8; member in struct:sw::Shader::SourceParameter 491 static std::string swizzleString(ParameterType type, unsigned char swizzle); 563 static bool swizzleContainsComponent(int swizzle, int component); 564 static bool swizzleContainsComponentMasked(int swizzle, int component, int mask);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkUniformHandler.cpp | 192 GrSwizzle swizzle, 215 fSamplerSwizzles.push_back(swizzle); 191 addSampler(uint32_t visibility, GrSwizzle swizzle, GrSLType type, GrSLPrecision precision, const char* name) argument
|
/external/skia/src/sksl/ |
H A D | SkSLGLSLCodeGenerator.cpp | 367 void GLSLCodeGenerator::writeSwizzle(const Swizzle& swizzle) { argument 368 this->writeExpression(*swizzle.fBase, kPostfix_Precedence); 370 for (int c : swizzle.fComponents) {
|
H A D | SkSLIRGenerator.cpp | 1483 fErrors.error(base->fPosition, "cannot swizzle type '" + base->fType.description() + "'"); 1519 fErrors.error(base->fPosition, SkStringPrintf("invalid swizzle component '%c'", 1526 fErrors.error(base->fPosition, "too many components in swizzle mask '" + fields + "'"); 1599 fErrors.error(base->fPosition, "cannot swizzle value of type '" + 1642 static bool has_duplicates(const Swizzle& swizzle) { argument 1644 for (int idx : swizzle.fComponents) { 1673 "cannot write to the same swizzle field more than once");
|
H A D | SkSLSPIRVCodeGenerator.cpp | 1399 // lvalue cannot simply be read and written via a pointer (e.g. a swizzle). Need to 1812 Swizzle& swizzle = (Swizzle&) expr; local 1813 size_t count = swizzle.fComponents.size(); 1814 SpvId base = this->getLValue(*swizzle.fBase, out)->getPointer(); 1817 IntLiteral index(fContext, Position(), swizzle.fComponents[0]); 1820 this->getPointerType(swizzle.fType, 1821 get_storage_class(*swizzle.fBase)), 1834 swizzle.fComponents, 1835 swizzle.fBase->fType, 1931 SpvId SPIRVCodeGenerator::writeSwizzle(const Swizzle& swizzle, SkWStrea argument [all...] |
/external/skia/src/codec/ |
H A D | SkMaskSwizzler.cpp | 119 // convert it back to 565. Instead, we should swizzle to 565 directly. 565 void SkMaskSwizzler::swizzle(void* dst, const uint8_t* SK_RESTRICT src) { function in class:SkMaskSwizzler
|
H A D | SkSwizzler.cpp | 1265 void SkSwizzler::swizzle(void* dst, const uint8_t* SK_RESTRICT src) { function in class:SkSwizzler
|
/external/skia/src/gpu/ |
H A D | GrFragmentProcessor.cpp | 211 const GrSwizzle& swizzle) { 214 SwizzleFragmentProcessor(const GrSwizzle& swizzle) argument 216 , fSwizzle(swizzle) { 221 const GrSwizzle& swizzle() const { return fSwizzle; } function in class:SwizzleFragmentProcessor 229 const GrSwizzle& swizzle = sfp.swizzle(); local 233 args.fOutputColor, args.fInputColor, swizzle.c_str()); 260 if (GrSwizzle::RGBA() == swizzle) { 263 sk_sp<GrFragmentProcessor> fpPipeline[] = { fp, sk_make_sp<SwizzleFragmentProcessor>(swizzle) }; 210 SwizzleOutput(sk_sp<GrFragmentProcessor> fp, const GrSwizzle& swizzle) argument
|
/external/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 703 // swizzle while uploading when BGRA is a distinct internal format. 1941 const GrSwizzle& swizzle = this->caps()->shaderCaps()->configOutputSwizzle( local 1943 this->flushBlend(blendInfo, swizzle); 2876 void GrGLGpu::flushBlend(const GrXferProcessor::BlendInfo& blendInfo, const GrSwizzle& swizzle) { argument 2930 blendConst = swizzle.applyTo(blendConst); 2975 const GrSwizzle& swizzle = caps.configSwizzle(config); local 2977 glSwizzle[i] = get_component_enum_from_char(swizzle.c_str()[i]); 3242 void GrGLGpu::setTextureSwizzle(int unitIdx, GrGLenum target, const GrGLenum swizzle[]) { argument 3245 // ES3 added swizzle support but not GL_TEXTURE_SWIZZLE_RGBA. 3246 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SWIZZLE_R, swizzle[ [all...] |
H A D | GrGLUniformHandler.cpp | 55 GrSwizzle swizzle, 74 fSamplerSwizzles.push_back(swizzle); 54 addSampler(uint32_t visibility, GrSwizzle swizzle, GrSLType type, GrSLPrecision precision, const char* name) argument
|
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLProgramBuilder.cpp | 326 GrSwizzle swizzle = this->shaderCaps()->configTextureSwizzle(config); local 328 swizzle, 356 GrSwizzle swizzle; local 357 swizzle.setFromKey(this->desc()->header().fOutputSwizzle); 358 if (swizzle != GrSwizzle::RGBA()) { 361 swizzle.c_str()); 365 swizzle.c_str());
|
H A D | GrGLSLShaderBuilder.cpp | 64 static inline void append_texture_swizzle(SkString* out, GrSwizzle swizzle) { argument 65 if (swizzle != GrSwizzle::RGBA()) { 66 out->appendf(".%s", swizzle.c_str());
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_composite.c | 282 boolean swizzle = FALSE; local 310 swizzle = ((src_hw_type == xa_type_argb && 315 if (!swizzle && (src_hw_type != src_pic_type)) 318 if (swizzle)
|
H A D | xa_tgsi.c | 377 boolean repeat_none, boolean swizzle, boolean set_alpha) 397 if (swizzle) 410 if (swizzle) { 372 xrender_tex(struct ureg_program *ureg, struct ureg_dst dst, struct ureg_src coords, struct ureg_src sampler, struct ureg_src imm0, boolean repeat_none, boolean swizzle, boolean set_alpha) argument
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 237 boolean swizzle = FALSE; local 246 * we don't want to swizzle the alpha (X) of the 266 swizzle = TRUE; 288 if (swizzle)
|
H A D | xorg_exa_tgsi.c | 399 boolean swizzle, 421 if (swizzle) 435 if (swizzle) { 393 xrender_tex(struct ureg_program *ureg, struct ureg_dst dst, struct ureg_src coords, struct ureg_src sampler, struct ureg_src imm0, boolean repeat_none, boolean swizzle, boolean set_alpha) argument
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | tex-swizzle.c | 118 init_tex(const unsigned swizzle[4]) argument 140 sv_template.swizzle_r = swizzle[0]; 141 sv_template.swizzle_g = swizzle[1]; 142 sv_template.swizzle_b = swizzle[2]; 143 sv_template.swizzle_a = swizzle[3]; 160 init(const unsigned swizzle[4]) argument 169 init_tex(swizzle); 202 uint swizzle[4]; local 205 swizzle[0] = PIPE_SWIZZLE_RED; 206 swizzle[ [all...] |
/external/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_buffer.c | 99 uint32_t tile = 0, swizzle = 0; local 112 drm_intel_bo_get_tiling(buf->bo, &tile, &swizzle);
|
/external/mesa3d/src/glsl/ |
H A D | ir.h | 303 int swizzle; member in struct:ir_state_slot 1439 * Number of components in the swizzle. 1444 * Does the swizzle contain duplicate components? 1497 * Initialize the mask component of a swizzle
|