Home
last modified time | relevance | path

Searched refs:TypeModifier (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/gpu/
DGrShaderVar.cpp12 static const char* type_modifier_string(GrShaderVar::TypeModifier t) { in type_modifier_string()
14 case GrShaderVar::TypeModifier::None: return ""; in type_modifier_string()
15 case GrShaderVar::TypeModifier::In: return "in"; in type_modifier_string()
16 case GrShaderVar::TypeModifier::InOut: return "inout"; in type_modifier_string()
17 case GrShaderVar::TypeModifier::Out: return "out"; in type_modifier_string()
18 case GrShaderVar::TypeModifier::Uniform: return "uniform"; in type_modifier_string()
30 if (this->getTypeModifier() != TypeModifier::None) { in appendDecl()
DGrShaderVar.h21 enum class TypeModifier { enum
37 , fTypeModifier(TypeModifier::None) in GrShaderVar()
42 , fTypeModifier(TypeModifier::None) in fType()
48 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier) in GrShaderVar()
53 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier) in GrShaderVar()
56 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier, int arrayCount) in GrShaderVar()
62 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier, int arrayCount, in GrShaderVar()
99 TypeModifier getTypeModifier() const { return fTypeModifier; } in getTypeModifier()
100 void setTypeModifier(TypeModifier type) { fTypeModifier = type; } in setTypeModifier()
131 TypeModifier fTypeModifier;
DGrSPIRVUniformHandler.cpp209 GrShaderVar::TypeModifier::None, in internalAddUniformArray()
241 GrShaderVar::TypeModifier::Uniform, in addSampler()
260 GrShaderVar::TypeModifier::Uniform, in addSampler()
DGrGeometryProcessor.h87 return {fName, fGPUType, GrShaderVar::TypeModifier::In}; in asShaderVar()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader_HardwareImpl.cpp30 using TypeModifier = GrShaderVar::TypeModifier; in onEmitCode() typedef
35 v->declareGlobal(GrShaderVar("vsJoinArgs0", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
38 v->declareGlobal(GrShaderVar("vsJoinArgs1", kFloat3_GrSLType, TypeModifier::Out)); in onEmitCode()
41 v->declareGlobal(GrShaderVar("vsPts01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
42 v->declareGlobal(GrShaderVar("vsPts23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
43 v->declareGlobal(GrShaderVar("vsPts45", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
44 v->declareGlobal(GrShaderVar("vsPts67", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
45 v->declareGlobal(GrShaderVar("vsPts89", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
46 v->declareGlobal(GrShaderVar("vsTans01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
47 v->declareGlobal(GrShaderVar("vsTans23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
[all …]
DGrPathTessellationShader_Hardware.cpp65 v->declareGlobal(GrShaderVar("vsPt", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl()
209 v->declareGlobal(GrShaderVar("P", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl()
/third_party/flutter/skia/src/gpu/
DGrShaderVar.h23 enum TypeModifier { enum
69 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier) in GrShaderVar()
78 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier, int arrayCount) in GrShaderVar()
103 TypeModifier typeModifier = kNone_TypeModifier,
124 TypeModifier typeModifier = kNone_TypeModifier,
146 TypeModifier typeModifier,
168 TypeModifier typeModifier,
238 TypeModifier getTypeModifier() const { return fTypeModifier; } in getTypeModifier()
239 void setTypeModifier(TypeModifier type) { fTypeModifier = type; } in setTypeModifier()
284 TypeModifier fTypeModifier;
DGrShaderVar.cpp12 static const char* type_modifier_string(GrShaderVar::TypeModifier t) { in type_modifier_string()
/third_party/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp30 fCustomColorOutput->setTypeModifier(GrShaderVar::TypeModifier::InOut); in dstColor()
54 GrShaderVar::TypeModifier::Out); in enableCustomOutput()
73 GrShaderVar::TypeModifier::Out); in enableSecondaryOutput()
84 fCustomColorOutput->getTypeModifier() == GrShaderVar::TypeModifier::InOut; in primaryColorOutputIsInOut()
DGrGLSLVarying.cpp70 SkASSERT(GrShaderVar::TypeModifier::In == var.getTypeModifier()); in addAttribute()
97 fVertexOutputs.emplace_back(v.fVsOut, v.fType, GrShaderVar::TypeModifier::Out, in finalize()
102 fFragInputs.emplace_back(SkString(fsIn), v.fType, GrShaderVar::TypeModifier::In, in finalize()
DGrGLSLVarying.h69 return GrShaderVar(this->vsOut(), fType, GrShaderVar::TypeModifier::Out); in vsOutVar()
74 return GrShaderVar(this->fsIn(), fType, GrShaderVar::TypeModifier::In); in fsInVar()
/third_party/skia/gm/
Dtessellation.cpp82 GrShaderVar("P_", kFloat3_GrSLType, GrShaderVar::TypeModifier::Out)); in onEmitCode()
155 GrShaderVar::TypeModifier::In)); in writeFragmentShader()
200 GrShaderVar("M_", kFloat3x3_GrSLType, GrShaderVar::TypeModifier::Out)); in onEmitCode()
265 GrShaderVar::TypeModifier::In)); in writeFragmentShader()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/testing/
DTestNumberingScheme.java247 public TypeModifier forRangeTypes(PhoneRegion region, ExtType type, ExtTariff tariff) { in forRangeTypes()
248 return new TypeModifier(region, type, tariff); in forRangeTypes()
393 public final class TypeModifier { class in TestNumberingScheme
398 public TypeModifier(PhoneRegion region, ExtType type, ExtTariff tariff) { in TypeModifier() method in TestNumberingScheme.TypeModifier
406 public TypeModifier setExampleNumber(String ex) { in setExampleNumber()
412 public TypeModifier addComment(String... lines) { in addComment()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.cpp225 GrShaderVar::TypeModifier::None, in internalAddUniformArray()
263 GrShaderVar::TypeModifier::Uniform, in addSampler()
306 GrShaderVar{std::move(mangleName), kInput_GrSLType, GrShaderVar::TypeModifier::Uniform, in addInputSampler()
/third_party/skia/src/gpu/gl/
DGrGLUniformHandler.cpp54 GrShaderVar::TypeModifier::Uniform, in internalAddUniformArray()
83 GrShaderVar::TypeModifier::Uniform}; in addSampler()
DGrGLGpu.cpp3083 GrShaderVar aVertex("a_vertex", kHalf2_GrSLType, GrShaderVar::TypeModifier::In); in createCopyProgram()
3085 GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3086 GrShaderVar uPosXform("u_posXform", kHalf4_GrSLType, GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3087 GrShaderVar uTexture("u_texture", samplerType, GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3088 GrShaderVar vTexCoord("v_texCoord", kHalf2_GrSLType, GrShaderVar::TypeModifier::Out); in createCopyProgram()
3089 GrShaderVar oFragColor("o_FragColor", kHalf4_GrSLType, GrShaderVar::TypeModifier::Out); in createCopyProgram()
3123 vTexCoord.setTypeModifier(GrShaderVar::TypeModifier::In); in createCopyProgram()
3184 GrShaderVar aVertex("a_vertex", kHalf2_GrSLType, GrShaderVar::TypeModifier::In); in createMipmapProgram()
3186 GrShaderVar::TypeModifier::Uniform); in createMipmapProgram()
3188 GrShaderVar::TypeModifier::Uniform); in createMipmapProgram()
[all …]
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm212 GrShaderVar::TypeModifier::None,
249 GrShaderVar::TypeModifier::Uniform,
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.cpp692 GrShaderVar::TypeModifier::None}; in makeProgramImpl()