Home
last modified time | relevance | path

Searched refs:kHalf_GrSLType (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h31 fSrcTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
DGrGLSL.cpp33 case kHalf_GrSLType: return "half"; in GrGLSLTypeString()
DGrGLSLShaderBuilder.cpp173 const GrShaderVar gTFArgs[] = { GrShaderVar("x", kHalf_GrSLType) }; in appendColorGamutXform()
206 this->emitFunction(kHalf_GrSLType, funcName.c_str(), {gTFArgs, SK_ARRAY_COUNT(gTFArgs)}, in appendColorGamutXform()
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1769 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1775 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1776 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1777 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1778 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1779 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1780 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1781 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1785 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1790 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp38 case kHalf_GrSLType: in copyUniforms()
119 this->set<1, kFloat_GrSLType, kHalf_GrSLType>(u, &v0); in set1f()
125 this->setv<1, kFloat_GrSLType, kHalf_GrSLType>(u, arrayCount, v); in set1fv()
DGrSPIRVVaryingHandler.cpp20 case kHalf_GrSLType: in grsltype_to_location_size()
DGrSPIRVUniformHandler.cpp55 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
112 case kHalf_GrSLType: // fall through in grsltype_to_size()
DGrDefaultGeoProcFactory.cpp179 kHalf_GrSLType, in onEmitCode()
224 fInCoverage = {"inCoverage", kFloat_GrVertexAttribType, kHalf_GrSLType}; in DefaultGeoProc()
/third_party/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp48 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
106 case kHalf_GrSLType: // fall through in grsltype_to_vk_size()
DGrVkPipelineStateDataManager.cpp89 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv()
/third_party/skia/include/private/
DGrTypesPriv.h315 kHalf_GrSLType, enumerator
381 case kHalf_GrSLType: in SK_MAKE_BITFIELD_OPS()
450 case kHalf_GrSLType: in GrSLTypeIsIntegralType()
485 case kHalf_GrSLType: in GrSLTypeVecLength()
582 case kHalf_GrSLType: in GrSLTypeIsCombinedSamplerType()
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp209 kHalf_GrSLType, "KernelBias"); in emitCode()
216 fGainUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
217 fBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()
DGrBezierEffect.cpp91 GrShaderVar edgeAlpha("edgeAlpha", kHalf_GrSLType, 0); in onEmitCode()
293 kHalf_GrSLType, in onEmitCode()
DGrPorterDuffXferProcessor.cpp601 kHalf_GrSLType, in makeProgramImpl()
DGrDistanceFieldGeoProc.cpp74 kHalf_GrSLType, "DistanceAdjust", in onEmitCode()
/third_party/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp68 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f()
79 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv()
/third_party/skia/src/sksl/
DSkSLUtil.cpp59 if (type == *context.fTypes.fHalf ) { *outType = kHalf_GrSLType; return true; } in type_to_grsltype()
/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp714 const GrShaderVar gPerlinNoiseArgs[] = {{"chanCoord", kHalf_GrSLType }, in emitCode()
717 const GrShaderVar gPerlinNoiseStitchArgs[] = {{"chanCoord" , kHalf_GrSLType }, in emitCode()
804 fragBuilder->emitFunction(kHalf_GrSLType, noiseFuncName.c_str(), in emitCode()
808 fragBuilder->emitFunction(kHalf_GrSLType, noiseFuncName.c_str(), in emitCode()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm50 case kHalf_GrSLType:
116 case kHalf_GrSLType:
DGrMtlPipelineStateDataManager.mm58 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType);
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.cpp338 GrGLSLVarying lastIntervalLength(kHalf_GrSLType); in onEmitCode()