Home
last modified time | relevance | path

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

123

/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp23 GrShaderVar("x", kHalf_GrSLType), in emitCode()
27 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
36 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
DGrAlphaThresholdFragmentProcessor.cpp41 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "innerThreshold"); in emitCode()
43 kFragment_GrShaderFlag, kHalf_GrSLType, kDefault_GrSLPrecision, "outerThreshold"); in emitCode()
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp150 fsBuilder->emitFunction(kHalf_GrSLType, in add_lum_function()
159 GrShaderVar("alpha", kHalf_GrSLType), in add_lum_function()
195 fsBuilder->emitFunction(kHalf_GrSLType, in add_sat_function()
207 GrShaderVar("minComp", kHalf_GrSLType), in add_sat_function()
208 GrShaderVar("midComp", kHalf_GrSLType), in add_sat_function()
209 GrShaderVar("maxComp", kHalf_GrSLType), in add_sat_function()
210 GrShaderVar("sat", kHalf_GrSLType), in add_sat_function()
DGrGLSLColorSpaceXformHelper.h32 fSrcTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
DGrGLSL.cpp15 case kHalf_GrSLType: in GrGLSLTypeString()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp242 fContrastUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
302 GrShaderVar("p", kHalf_GrSLType), in emitCode()
303 GrShaderVar("q", kHalf_GrSLType), in emitCode()
304 GrShaderVar("t", kHalf_GrSLType), in emitCode()
306 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h31 fSrcTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
DGrGLSL.cpp41 case kHalf_GrSLType: return "half"; in GrGLSLTypeString()
/external/skia/src/gpu/effects/generated/
DGrAlphaThresholdFragmentProcessor.cpp33 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "innerThreshold"); in emitCode()
35 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "outerThreshold"); in emitCode()
DGrDitherEffect.cpp30 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "range"); in emitCode()
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp876 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
881 GrShaderVar(chanCoord, kHalf_GrSLType), in emitCode()
1008 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1012 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1262 fZUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "z"); in emitCode()
1277 GrShaderVar("x", kHalf_GrSLType) in emitCode()
1286 fragBuilder->emitFunction(kHalf_GrSLType, "perm", SK_ARRAY_COUNT(permArgs), permArgs, in emitCode()
1291 GrShaderVar("x", kHalf_GrSLType), in emitCode()
1299 fragBuilder->emitFunction(kHalf_GrSLType, "grad", SK_ARRAY_COUNT(gradArgs), gradArgs, in emitCode()
1304 GrShaderVar("a", kHalf_GrSLType), in emitCode()
[all …]
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1752 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1758 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1759 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1760 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1761 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1762 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1763 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1764 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1768 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1773 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp1819 kHalf_GrSLType, "SurfaceScale"); in emitCode()
1825 GrShaderVar("a", kHalf_GrSLType), in emitCode()
1826 GrShaderVar("b", kHalf_GrSLType), in emitCode()
1827 GrShaderVar("c", kHalf_GrSLType), in emitCode()
1828 GrShaderVar("d", kHalf_GrSLType), in emitCode()
1829 GrShaderVar("e", kHalf_GrSLType), in emitCode()
1830 GrShaderVar("f", kHalf_GrSLType), in emitCode()
1831 GrShaderVar("scale", kHalf_GrSLType), in emitCode()
1836 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1843 GrShaderVar("x", kHalf_GrSLType), in emitCode()
[all …]
/external/skia/src/gpu/gradients/generated/
DGrSweepGradientLayout.cpp32 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "bias"); in emitCode()
34 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "scale"); in emitCode()
/external/skqp/src/gpu/gradients/
DGrSweepGradientLayout.cpp31 fBiasVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
33 fScaleVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp25 fCoverages.reset(kHalf_GrSLType, scope); in onEmitVaryings()
36 if (kHalf_GrSLType == fCoverages.type()) { in onEmitFragmentCode()
/external/skqp/include/private/
DGrTypesPriv.h368 kHalf_GrSLType, enumerator
450 case kHalf_GrSLType: in GrSLTypeIsFloatType()
496 case kHalf_GrSLType: in GrSLTypeVecLength()
592 case kHalf_GrSLType: in GrSLTypeIsCombinedSamplerType()
660 case kHalf_GrSLType: in GrSLTypeAcceptsPrecision()
692 case kHalf_GrSLType: in GrSLTypeTemporarilyAcceptsPrecision()
/external/skia/tests/sksl/fp/
DGrLayoutWhen.cpp23 …r = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "sometimes"); in emitCode()
DGrSectionSetData.cpp24 … = args.fUniformHandler->addUniform(&_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "calculated"); in emitCode()
DGrUniformArrays.cpp22 …gs.fUniformHandler->addUniformArray(&_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "scalarArray"… in emitCode()
/external/skqp/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp51 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
132 case kHalf_GrSLType: // fall through in grsltype_to_vk_size()
/external/skia/src/gpu/
DGrSPIRVVaryingHandler.cpp20 case kHalf_GrSLType: in grsltype_to_location_size()
DGrSPIRVUniformHandler.cpp66 case kHalf_GrSLType: // fall through in grsltype_to_alignment_mask()
135 case kHalf_GrSLType: // fall through in grsltype_to_size()
/external/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp17 case kHalf_GrSLType: in grsltype_to_location_size()

123