Home
last modified time | relevance | path

Searched refs:kNonArray (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/ganesh/
DGrShaderVar.h32 kNonArray = 0, // not an array enumerator
39 , fCount(kNonArray) {} in GrShaderVar()
41 GrShaderVar(SkString name, SkSLType type, int arrayCount = kNonArray)
46 GrShaderVar(const char* name, SkSLType type, int arrayCount = kNonArray)
52 , fCount(kNonArray) in GrShaderVar()
85 bool isArray() const { return kNonArray != fCount; } in isArray()
DGrUniformDataManager.cpp83 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set()
94 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in setv()
237 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in setMatrices()
DGrSPIRVUniformHandler.cpp244 GrShaderVar::kNonArray, in addSampler()
263 GrShaderVar::kNonArray, in addSampler()
/external/skia/src/gpu/graphite/
DUniformManager.cpp76 SkASSERT(count >= 1 || count == graphite::Uniform::kNonArray); in Stride()
82 return Rules140<BaseType, RowsOrVecLength>::Stride(Uniform::kNonArray); in Stride()
87 if (count == Uniform::kNonArray) { in Stride()
111 SkASSERT(count >= 1 || count == Uniform::kNonArray); in Stride()
118 return Rules430<BaseType, RowsOrVecLength>::Stride(Uniform::kNonArray); in Stride()
123 if (count == Uniform::kNonArray) { in Stride()
138 SkASSERT(count >= 1 || count == Uniform::kNonArray); in Stride()
145 return RulesMetal<BaseType, RowsOrVecLength>::Stride(Uniform::kNonArray); in Stride()
197 n = (n == Uniform::kNonArray) ? 1 : n; in Write()
254 SkASSERT(n >= 1 || n == Uniform::kNonArray); in WriteUniform()
[all …]
DUniform.h24 static constexpr int kNonArray = 0;
26 constexpr Uniform(const char* name, SkSLType type) : Uniform(name, type, kNonArray) {} in Uniform()
/external/skia/src/gpu/ganesh/vk/
DGrVkPipelineStateDataManager.cpp29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager()
75 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1iv()
93 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1fv()
111 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set2iv()
129 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set2fv()
148 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in setMatrix2fv()
DGrVkUniformHandler.cpp268 GrShaderVar::kNonArray, in addSampler()
311 GrShaderVar::kNonArray, std::move(layoutQualifier), SkString()}, in addInputSampler()
/external/skia/src/gpu/ganesh/gl/
DGrGLProgramDataManager.cpp15 (1 == (COUNT) && GrShaderVar::kNonArray == (UNI).fArrayCount))
23 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || in GrGLProgramDataManager()
48 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1i()
69 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1f()
94 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set2i()
115 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set2f()
136 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set3i()
157 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set3f()
182 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set4i()
207 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set4f()
/external/skia/src/gpu/ganesh/mtl/
DGrMtlPipelineStateDataManager.mm28 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() ||
48 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
61 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
74 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
87 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
104 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
DGrMtlUniformHandler.mm251 GrShaderVar::kNonArray,
/external/skia/src/gpu/ganesh/glsl/
DGrGLSLVarying.cpp97 GrShaderVar::kNonArray, SkString(), SkString(modifier)); in finalize()
102 GrShaderVar::kNonArray, SkString(), SkString(modifier)); in finalize()
/external/skia/src/gpu/ganesh/d3d/
DGrD3DPipelineStateDataManager.cpp21 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrD3DPipelineStateDataManager()
/external/skia/tests/graphite/
DUniformOffsetCalculatorTest.cpp25 size_t arrayCount = Uniform::kNonArray) { in calculate_alignment_and_size()