/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.cpp | 90 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode() 94 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode() 106 SkASSERT(localCoordsVar.getType() == kFloat2_GrSLType || in collectTransforms() 109 SkASSERT(positionVar.getType() == kFloat2_GrSLType || in collectTransforms() 184 varying = GrGLSLVarying(hasPerspective ? kFloat3_GrSLType : kFloat2_GrSLType); in collectTransforms() 275 if (inputCoords.getType() == kFloat2_GrSLType) { in emitTransformCode() 283 if (info.varying.type() == kFloat2_GrSLType) { in emitTransformCode() 352 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_passthrough_vertex_position() 369 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_vertex_position() 431 outPos->set(kFloat2_GrSLType, outName.c_str()); in write_vertex_position() [all …]
|
D | GrSPIRVUniformHandler.cpp | 59 case kFloat2_GrSLType: in grsltype_to_alignment_mask() 116 case kFloat2_GrSLType: in grsltype_to_size() 310 return get_ubo_offset(¤tOffset, kFloat2_GrSLType, 0); in getRTFlipOffset()
|
D | GrSPIRVVaryingHandler.cpp | 22 case kFloat2_GrSLType: // fall through in grsltype_to_location_size()
|
/third_party/skia/src/gpu/tessellate/shaders/ |
D | GrStrokeTessellationShader.cpp | 40 fAttribs.emplace_back("prevCtrlPtAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader() 73 fAttribs.emplace_back("argsAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader() 78 kFloat2_GrSLType); in GrStrokeTessellationShader() 327 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode() 328 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in emitTessellationCode() 334 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode() 335 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in emitTessellationCode()
|
D | GrPathTessellationShader_MiddleOut.cpp | 44 kFloat2_GrSLType); in MiddleOutShader() 65 kFloat2_GrSLType); in MiddleOutShader() 196 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl() 197 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
|
D | GrPathTessellationShader_Hardware.cpp | 41 kFloat2_GrSLType}; in HardwareWedgeShader() 65 v->declareGlobal(GrShaderVar("vsPt", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl() 182 kFloat2_GrSLType}; in HardwareCurveShader() 209 v->declareGlobal(GrShaderVar("P", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl()
|
D | GrPathTessellationShader.cpp | 27 kFloat2_GrSLType}; in SimpleTriangleShader() 50 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl() 51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl() 126 kFloat2_GrSLType, "translate", &translate); in onEmitCode()
|
D | GrStrokeTessellationShader_HardwareImpl.cpp | 50 v->declareGlobal(GrShaderVar("vsStrokeArgs", kFloat2_GrSLType, TypeModifier::Out)); in onEmitCode() 90 kFloat2_GrSLType, "translate", nullptr); in onEmitCode()
|
/third_party/skia/src/gpu/ops/ |
D | AtlasInstancedHelper.cpp | 21 instanceAttribs->emplace_back("sizeInAtlas", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in appendInstanceAttribs() 45 GrGLSLVarying atlasCoord(kFloat2_GrSLType); in injectShaderCode() 50 nullptr, kVertex_GrShaderFlag, kFloat2_GrSLType, "atlas_adjust", &atlasAdjustName); in injectShaderCode()
|
D | DrawAtlasPathOp.cpp | 35 "unitCoord", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in DrawAtlasPathShader() 41 fAttribs.emplace_back("translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in DrawAtlasPathShader() 93 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode() 99 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in onEmitCode()
|
D | PathStencilCoverOp.cpp | 38 kFloat2_GrSLType); in BoundingBoxShader() 43 {"translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType}, in BoundingBoxShader() 87 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl() 88 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
|
D | FillRRectOp.cpp | 359 fInstanceAttribs.emplace_back("translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in Processor() 690 GrShaderVar localCoord("", kFloat2_GrSLType); in onEmitCode() 694 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in onEmitCode() 700 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 703 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLVertexGeoBuilder.cpp | 21 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition() 29 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
|
D | GrGLSLVertexGeoBuilder.h | 33 GrSLType devPosType = GrSLType::kFloat2_GrSLType) { 38 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
|
D | GrGLSL.cpp | 27 case kFloat2_GrSLType: return "float2"; in GrGLSLTypeString()
|
D | GrGLSLProgramBuilder.cpp | 233 params[numParams++] = GrShaderVar(sampleCoords, kFloat2_GrSLType); in writeFPFunction() 245 case kFloat2_GrSLType: in writeFPFunction() 474 kFloat2_GrSLType, in addRTFlipUniform()
|
/third_party/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 66 kFloat2_GrSLType, in onEmitCode() 226 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc() 230 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc() 354 kFloat2_GrSLType, in onEmitCode() 493 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc() 496 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc() 620 kFloat2_GrSLType, in onEmitCode() 805 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldLCDTextGeoProc() 809 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldLCDTextGeoProc()
|
D | GrAtlasedShaderHelpers.h | 76 uv->reset(kFloat2_GrSLType); in append_index_uv_varyings() 90 st->reset(kFloat2_GrSLType); in append_index_uv_varyings()
|
D | GrBezierEffect.h | 101 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}, 164 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
|
D | GrBitmapTextGeoProc.cpp | 57 kFloat2_GrSLType, "AtlasSizeInv", &atlasDimensionsInvName); in onEmitCode() 132 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrBitmapTextGeoProc() 142 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrBitmapTextGeoProc()
|
/third_party/skia/tests/ |
D | SkSLCross.cpp | 64 GrSLType::kFloat2_GrSLType, "a", &a); in onMakeProgramImpl() 66 GrSLType::kFloat2_GrSLType, "b", &b); in onMakeProgramImpl()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 52 case kFloat2_GrSLType: in grsltype_to_alignment_mask() 110 case kFloat2_GrSLType: in grsltype_to_vk_size() 374 return get_aligned_offset(¤tOffset, kFloat2_GrSLType, 0, layout); in getRTFlipOffset()
|
/third_party/skia/gm/ |
D | fwidth_squircle.cpp | 57 {"bboxcoord", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; 112 GrGLSLVarying squircleCoord(kFloat2_GrSLType); in makeProgramImpl()
|
D | clockwise.cpp | 60 {"position", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; 107 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in makeProgramImpl()
|
/third_party/skia/include/private/ |
D | GrTypesPriv.h | 309 kFloat2_GrSLType, enumerator 375 case kFloat2_GrSLType: in SK_MAKE_BITFIELD_OPS() 444 case kFloat2_GrSLType: in GrSLTypeIsIntegralType() 493 case kFloat2_GrSLType: in GrSLTypeVecLength() 576 case kFloat2_GrSLType: in GrSLTypeIsCombinedSamplerType()
|