Home
last modified time | relevance | path

Searched refs:coordSwizzle (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/effects/
DGrTextureEffect.cpp426 const char* coordSwizzle, in emitCode()
438 fb->codeAppendf("subsetCoord.%s = inCoord.%s;", coordSwizzle, coordSwizzle); in emitCode()
444 coordSwizzle, coordSwizzle, subsetName, subsetStartSwizzle, subsetName, in emitCode()
465 fb->codeAppendf("float d = inCoord.%s - %s.%s;", coordSwizzle, subsetName, in emitCode()
469 fb->codeAppendf("subsetCoord.%s = o + %s.%s;", coordSwizzle, subsetName, in emitCode()
486 fb->codeAppendf("float m = mod(inCoord.%s - %s.%s, w2);", coordSwizzle, in emitCode()
489 coordSwizzle, subsetName, subsetStartSwizzle); in emitCode()
496 const char* coordSwizzle, in emitCode()
501 coordSwizzle, coordSwizzle, clampName, clampStartSwizzle, clampName, in emitCode()
504 fb->codeAppendf("clampedCoord%s = subsetCoord%s;", coordSwizzle, coordSwizzle); in emitCode()
/external/skqp/src/gpu/effects/
DGrTextureDomain.cpp53 const char* coordSwizzle, const char* domain, in clamp_expression() argument
58 clampedExpr.printf("%s.%s\n", inCoord, coordSwizzle); in clamp_expression()
65 inCoord, coordSwizzle, domain, minSwizzle, domain, maxSwizzle); in clamp_expression()
69 inCoord, coordSwizzle, domain, minSwizzle, domain, maxSwizzle, in clamp_expression()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp4277 TIntermTyped* coordSwizzle = nullptr; in decomposeSampleMethods() local
4288 coordSwizzle = argCoord; in decomposeSampleMethods()
4296 coordSwizzle = intermediate.addIndex(EOpVectorSwizzle, argCoord, coordIdx, loc); in decomposeSampleMethods()
4297 coordSwizzle->setType(TType(coordBaseType, EvqTemporary, coordFields.size())); in decomposeSampleMethods()
4316 txfetch->getSequence().push_back(coordSwizzle); in decomposeSampleMethods()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp4277 TIntermTyped* coordSwizzle = nullptr; in decomposeSampleMethods() local
4288 coordSwizzle = argCoord; in decomposeSampleMethods()
4296 coordSwizzle = intermediate.addIndex(EOpVectorSwizzle, argCoord, coordIdx, loc); in decomposeSampleMethods()
4297 coordSwizzle->setType(TType(coordBaseType, EvqTemporary, coordFields.size())); in decomposeSampleMethods()
4316 txfetch->getSequence().push_back(coordSwizzle); in decomposeSampleMethods()