Home
last modified time | relevance | path

Searched refs:kHalf4_GrSLType (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp53 fCustomColorOutput = &fOutputs.emplace_back(DeclaredColorOutputName(), kHalf4_GrSLType, in enableCustomOutput()
72 fOutputs.emplace_back(DeclaredSecondaryColorOutputName(), kHalf4_GrSLType, in enableSecondaryOutput()
DGrGLSLShaderBuilder.cpp225 const GrShaderVar gGamutXformArgs[] = { GrShaderVar("color", kHalf4_GrSLType) }; in appendColorGamutXform()
231 this->emitFunction(kHalf4_GrSLType, gamutXformFuncName.c_str(), in appendColorGamutXform()
244 GrShaderVar("color", useFloat ? kFloat4_GrSLType : kHalf4_GrSLType)}; in appendColorGamutXform()
267 this->emitFunction(kHalf4_GrSLType, colorXformFuncName.c_str(), in appendColorGamutXform()
DGrGLSLProgramBuilder.cpp225 params[numParams++] = GrShaderVar(inputColor, kHalf4_GrSLType); in writeFPFunction()
229 params[numParams++] = GrShaderVar(kDstColor, kHalf4_GrSLType); in writeFPFunction()
282 fFS.emitFunction(kHalf4_GrSLType, in writeFPFunction()
312 kHalf4_GrSLType, in emitAndInstallDstTexture()
DGrGLSL.cpp36 case kHalf4_GrSLType: return "half4"; in GrGLSLTypeString()
/third_party/skia/src/gpu/effects/
DGrBezierEffect.h102 {"inConicCoeffs", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
165 {"inHairQuadEdge", kFloat4_GrVertexAttribType, kHalf4_GrSLType}
DGrShadowGeoProc.cpp57 fInColor = {"inColor", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType}; in GrRRectShadowGeoProc()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp68 GrGLSLVarying varying(kHalf4_GrSLType); in makeProgramImpl()
111 fInColor = {"inColor", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType}; in GP()
114 fInColor = {"inColor", kFloat4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
117 fInColor = {"inColor", kHalf4_GrVertexAttribType, kHalf4_GrSLType}; in GP()
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader_MiddleOut.cpp51 kHalf4_GrSLType); in MiddleOutShader()
199 GrGLSLVarying colorVarying(GrSLType::kHalf4_GrSLType); in makeProgramImpl()
DGrStrokeTessellationShader.cpp85 kHalf4_GrSLType); in GrStrokeTessellationShader()
345 kHalf4_GrSLType, "color", in emitFragmentCode()
DGrStrokeTessellationShader_HardwareImpl.cpp53 v->declareGlobal(GrShaderVar("vsColor", kHalf4_GrSLType, TypeModifier::Out)); in onEmitCode()
310 args.fFragBuilder->declareGlobal(GrShaderVar(fDynamicColorName, kHalf4_GrSLType, in onEmitCode()
DGrStrokeTessellationShader_InstancedImpl.cpp60 GrGLSLVarying dynamicColor{kHalf4_GrSLType}; in onEmitCode()
DGrPathTessellationShader.cpp139 kHalf4_GrSLType, "color", &color); in onEmitCode()
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp41 case kHalf4_GrSLType: in copyUniforms()
196 this->set<4, kFloat4_GrSLType, kHalf4_GrSLType>(u, v); in set4f()
202 this->setv<4, kFloat4_GrSLType, kHalf4_GrSLType>(u, arrayCount, v); in set4fv()
DGrSPIRVVaryingHandler.cpp29 case kHalf4_GrSLType: in grsltype_to_location_size()
DGrSPIRVUniformHandler.cpp64 case kHalf4_GrSLType: // fall through in grsltype_to_alignment_mask()
121 case kHalf4_GrSLType: // fall through in grsltype_to_size()
DGrDefaultGeoProcFactory.cpp113 GrGLSLVarying varying(kHalf4_GrSLType); in onEmitCode()
123 kHalf4_GrSLType, in onEmitCode()
/third_party/skia/src/gpu/vk/
DGrVkVaryingHandler.cpp26 case kHalf4_GrSLType: in grsltype_to_location_size()
DGrVkUniformHandler.cpp57 case kHalf4_GrSLType: // fall through in grsltype_to_alignment_mask()
115 case kHalf4_GrSLType: // fall through in grsltype_to_vk_size()
/third_party/skia/include/private/
DGrTypesPriv.h318 kHalf4_GrSLType, enumerator
384 case kHalf4_GrSLType: in SK_MAKE_BITFIELD_OPS()
453 case kHalf4_GrSLType: in GrSLTypeIsIntegralType()
512 case kHalf4_GrSLType: in GrSLTypeVecLength()
585 case kHalf4_GrSLType: in GrSLTypeIsCombinedSamplerType()
/third_party/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp206 SkASSERT(uni.fType == kFloat4_GrSLType || uni.fType == kHalf4_GrSLType); in set4f()
217 SkASSERT(uni.fType == kFloat4_GrSLType || uni.fType == kHalf4_GrSLType); in set4fv()
/third_party/skia/src/sksl/
DSkSLUtil.cpp62 if (type == *context.fTypes.fHalf4 ) { *outType = kHalf4_GrSLType; return true; } in type_to_grsltype()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm61 case kHalf4_GrSLType:
127 case kHalf4_GrSLType:
/third_party/skia/tests/
DGrMeshTest.cpp471 fInstanceColor = {"color", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType};
479 fVertexColor = {"color", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType};
DGrPipelineDynamicStateTest.cpp83 {"color", kUByte4_norm_GrVertexAttribType, kHalf4_GrSLType},
/third_party/skia/src/gpu/ops/
DDrawAtlasPathOp.cpp44 fAttribs.emplace_back("color", kFloat4_GrVertexAttribType, kHalf4_GrSLType); in DrawAtlasPathShader()

12