/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SpirvShaderGLSLstd450.cpp | 53 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitExtGLSLstd450() 61 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 70 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 88 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 97 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 106 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 115 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 124 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 133 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() 146 for(auto i = 0u; i < type.componentCount; i++) in EmitExtGLSLstd450() [all …]
|
D | SpirvShaderGroup.cpp | 39 for(auto i = 0u; i < type.componentCount; i++) in BinaryOperation() 88 auto &dst = state->createIntermediate(resultId, type.componentCount); in EmitGroupNonUniform() 125 for(auto i = 0u; i < type.componentCount; i++) in EmitGroupNonUniform() 151 for(auto i = 0u; i < type.componentCount; i++) in EmitGroupNonUniform() 171 for(uint32_t i = 0u; i < type.componentCount; i++) in EmitGroupNonUniform() 190 for(auto i = 0u; i < type.componentCount; i++) in EmitGroupNonUniform() 199 ASSERT(type.componentCount == 4); in EmitGroupNonUniform() 211 ASSERT(type.componentCount == 1); in EmitGroupNonUniform() 212 ASSERT(getObjectType(valueId).componentCount == 4); in EmitGroupNonUniform() 223 ASSERT(type.componentCount == 1); in EmitGroupNonUniform() [all …]
|
D | VertexRoutine.cpp | 207 int componentCount = format.componentCount(); in readStream() local 219 if(componentCount == 0) in readStream() 225 if(componentCount == 1) in readStream() 239 transpose4xN(v.x, v.y, v.z, v.w, componentCount); in readStream() 256 transpose4xN(v.x, v.y, v.z, v.w, componentCount); in readStream() 258 if(componentCount >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 259 if(componentCount >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 260 if(componentCount >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 261 if(componentCount >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 272 transpose4xN(v.x, v.y, v.z, v.w, componentCount); in readStream() [all …]
|
D | SpirvShaderArithmetic.cpp | 27 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitVectorTimesScalar() 31 for(auto i = 0u; i < type.componentCount; i++) in EmitVectorTimesScalar() 42 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitMatrixTimesVector() 46 for(auto i = 0u; i < type.componentCount; i++) in EmitMatrixTimesVector() 49 for(auto j = 1u; j < rhs.componentCount; j++) in EmitMatrixTimesVector() 51 v += lhs.Float(i + type.componentCount * j) * rhs.Float(j); in EmitMatrixTimesVector() 62 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitVectorTimesMatrix() 66 for(auto i = 0u; i < type.componentCount; i++) in EmitVectorTimesMatrix() 68 SIMD::Float v = lhs.Float(0) * rhs.Float(i * lhs.componentCount); in EmitVectorTimesMatrix() 69 for(auto j = 1u; j < lhs.componentCount; j++) in EmitVectorTimesMatrix() [all …]
|
D | SpirvShaderSpec.cpp | 72 auto condIsScalar = (getType(cond).componentCount == 1); in EvalSpecConstantOp() 76 for(auto i = 0u; i < getType(result).componentCount; i++) in EvalSpecConstantOp() 90 for(auto i = 0u; i < getType(result).componentCount; i++) in EvalSpecConstantOp() 110 for(auto i = 0u; i < getType(newPart).componentCount; i++) in EvalSpecConstantOp() 115 …for(auto i = firstNewComponent + getType(newPart).componentCount; i < getType(result).componentCou… in EvalSpecConstantOp() 128 for(auto i = 0u; i < getType(result).componentCount; i++) in EvalSpecConstantOp() 136 else if(selector < getType(firstHalf).componentCount) in EvalSpecConstantOp() 142 … result.constantValue[i] = secondHalf.constantValue[selector - getType(firstHalf).componentCount]; in EvalSpecConstantOp() 162 auto size = getType(lhs).componentCount; in EvalSpecConstantUnaryOp() 213 auto size = getType(lhs).componentCount; in EvalSpecConstantBinaryOp()
|
D | SpirvShader.cpp | 300 auto sizeInBytes = elTy.componentCount * static_cast<uint32_t>(sizeof(float)); 344 for(auto i = 0u; i < objectTy.componentCount; i++) 359 for(auto j = 0u; j < constituentTy.componentCount; j++) 378 ASSERT(getType(object).componentCount == 3); 796 type.componentCount = ComputeTypeSize(insn); in DeclareType() 848 object.constantValue.resize(objectTy.componentCount); in CreateConstant() 882 builtinInterface[member.BuiltIn] = { resultId, offset, memberType.componentCount }; in ProcessInterfaceVariable() 885 offset += memberType.componentCount; in ProcessInterfaceVariable() 895 builtinInterface[d->second.BuiltIn] = { resultId, 0, pointeeTy.componentCount }; in ProcessInterfaceVariable() 1023 return getType(insn.word(2)).componentCount * insn.word(3); in ComputeTypeSize() [all …]
|
D | SamplerCore.cpp | 453 int componentCount = textureComponentCount(); in sampleQuad2D() local 510 if(componentCount >= 1) in sampleQuad2D() 540 if(componentCount >= 2) in sampleQuad2D() 570 if(componentCount >= 3) in sampleQuad2D() 600 if(componentCount >= 4) in sampleQuad2D() 656 int componentCount = textureComponentCount(); in sample3D() local 742 if(componentCount >= 1) in sample3D() 749 if(componentCount >= 2) in sample3D() 756 if(componentCount >= 3) in sample3D() 763 if(componentCount >= 4) in sample3D() [all …]
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | LigatureTreeWalker.java | 22 protected int componentCount; field in LigatureTreeWalker 31 componentCount = 0; in LigatureTreeWalker() 39 componentChars[componentCount] = ch; in down() 40 componentCount += 1; in down() 45 if (componentCount > 0) { in up() 46 componentCount -= 1; in up() 63 ligatureSet.addElement(new LigatureEntry(lig, componentChars, componentCount)); in ligature()
|
D | LigatureEntry.java | 20 public LigatureEntry(int ligature, int[] componentChars, int componentCount) in LigatureEntry() argument 22 this.componentChars = new int[componentCount]; in LigatureEntry() 24 System.arraycopy(componentChars, 0, this.componentChars, 0, componentCount); in LigatureEntry()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fVertexArrayTest.cpp | 176 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 183 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 184 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 187 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init() 189 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init() 196 componentCount, in init() 289 const int componentCount = (packed) ? (4) : (2); in init() local 290 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 291 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 299 componentCount, in init() [all …]
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sVertexArrayTests.cpp | 179 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 186 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 187 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 190 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init() 192 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init() 199 componentCount, in init() 292 const int componentCount = (packed) ? (4) : (2); in init() local 293 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 294 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 302 componentCount, in init() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1235 …static char* generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, i… 1236 …static char* generateQuads (int seed, int count, int componentCount, int offset, int stride, Arr… 1237 …static char* generatePerQuad (int seed, int count, int componentCount, int stride, Array::Primit… 1241 …static char* createQuads (int seed, int count, int componentCount, int offset, int stride, Array:… 1243 …static char* createPerQuads (int seed, int count, int componentCount, int stride, Array::Primitive… 1244 …static char* createQuadsPacked (int seed, int count, int componentCount, int offset, int stride, A… 1318 …r::generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, int stride, A… in generateArray() argument 1326 stride = componentCount * Array::inputTypeSize(type); in generateArray() 1332 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in generateArray() 1341 char* RandomArrayGenerator::generateQuads (int seed, int count, int componentCount, int offset, int… in generateQuads() argument [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fVertexArrayTest.cpp | 85 const int componentCount = 2; in init() local 86 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 92 componentCount, in init() 149 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 155 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 162 componentCount, in init() 356 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 364 componentCount, in init() 421 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 429 componentCount, in init() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexFormatTests.cpp | 201 uint32_t componentCount) { in ShaderTypeGenerator() argument 202 if (componentCount == 1) { in ShaderTypeGenerator() 212 return "vec" + std::to_string(componentCount); in ShaderTypeGenerator() 214 return "uvec" + std::to_string(componentCount); in ShaderTypeGenerator() 216 return "ivec" + std::to_string(componentCount); in ShaderTypeGenerator() 231 uint32_t componentCount = ComponentCount(format); in MakeTestPipeline() local 234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline() 272 vs << "[" + std::to_string(componentCount) + "];\n"; in MakeTestPipeline() 277 for (uint32_t j = 0; j < componentCount; ++j) { in MakeTestPipeline() 281 std::isnan(static_cast<float>(expectedData[i * componentCount + j]))) { in MakeTestPipeline() [all …]
|
D | TextureFormatTests.cpp | 135 uint32_t componentCount; member 161 ASSERT(formatInfo.componentCount > 0 && formatInfo.componentCount <= 4); in GetUncompressedFormatInfo() 165 format = floatFormats[formatInfo.componentCount - 1]; in GetUncompressedFormatInfo() 168 format = sintFormats[formatInfo.componentCount - 1]; in GetUncompressedFormatInfo() 171 format = uintFormats[formatInfo.componentCount - 1]; in GetUncompressedFormatInfo() 177 uint32_t componentCount = componentCounts[formatInfo.componentCount - 1]; in GetUncompressedFormatInfo() local 178 return {format, 4 * componentCount, formatInfo.type, componentCount}; in GetUncompressedFormatInfo() 281 readbackBufferDesc.size = 4 * width * sampleFormatInfo.componentCount; in DoSampleTest() 374 ASSERT(sizeof(T) * formatInfo.componentCount == formatInfo.texelByteSize); in DoUnormTest() 388 ASSERT(sizeof(T) * formatInfo.componentCount == formatInfo.texelByteSize); in DoSnormTest() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexFormatTests.cpp | 204 uint32_t componentCount) { in ShaderTypeGenerator() argument 214 if (componentCount == 1) { in ShaderTypeGenerator() 218 return "vec" + std::to_string(componentCount) + "<" + base + ">"; in ShaderTypeGenerator() 231 uint32_t componentCount = ComponentCount(format); in MakeTestPipeline() local 234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline() 279 << std::to_string(componentCount) << ">, " << std::to_string(kVertexNum) << ">;"; in MakeTestPipeline() 284 for (uint32_t j = 0; j < componentCount; ++j) { in MakeTestPipeline() 288 std::isnan(static_cast<float>(expectedData[i * componentCount + j]))) { in MakeTestPipeline() 294 vs << "max(f32(" << std::to_string(expectedData[i * componentCount + j]) in MakeTestPipeline() 301 if (static_cast<uint16_t>(expectedData[i * componentCount + j]) == in MakeTestPipeline() [all …]
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sVertexArrayTests.cpp | 86 const int componentCount = 2; in init() local 87 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 93 componentCount, in init() 150 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 156 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 163 componentCount, in init()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BufferSubData.cpp | 71 GLfloat *GetFloatData(GLint componentCount) in GetFloatData() argument 85 switch (componentCount) in GetFloatData() 133 GLint componentCount, in GetVertexData() argument 138 GLfloat *floatData = GetFloatData(componentCount); in GetVertexData() 142 triDataSize = sizeof(GLfloat) * componentCount * 3; in GetVertexData() 148 GLsizeiptr numElements = componentCount * 3; in GetVertexData() 176 GLsizeiptr numElements = componentCount * 3; in GetVertexData()
|
D | MapBufferRange.cpp | 78 const GLfloat *GetFloatData(GLint componentCount) in GetFloatData() argument 92 switch (componentCount) in GetFloatData() 144 GLint componentCount, in GetVertexData() argument 149 const GLfloat *floatData = GetFloatData(componentCount); in GetVertexData() 153 triDataSize = sizeof(GLfloat) * componentCount * 3; in GetVertexData() 159 GLsizeiptr numElements = componentCount * 3; in GetVertexData() 187 GLsizeiptr numElements = componentCount * 3; in GetVertexData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BufferSubData.cpp | 71 GLfloat *GetFloatData(GLint componentCount) in GetFloatData() argument 85 switch (componentCount) in GetFloatData() 133 GLint componentCount, in GetVertexData() argument 138 GLfloat *floatData = GetFloatData(componentCount); in GetVertexData() 142 triDataSize = sizeof(GLfloat) * componentCount * 3; in GetVertexData() 148 GLsizeiptr numElements = componentCount * 3; in GetVertexData() 176 GLsizeiptr numElements = componentCount * 3; in GetVertexData()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 162 int componentCount = textureComponentCount(); in sampleTexture() local 215 if(componentCount < 2) c.y = Short4(defaultColorValue); in sampleTexture() 216 if(componentCount < 3) c.z = Short4(defaultColorValue); in sampleTexture() 217 if(componentCount < 4) c.w = Short4(0x1000); in sampleTexture() 384 int componentCount = textureComponentCount(); in sampleTexture() local 443 if(componentCount < 2) c.y = Float4(defaultColorValue); in sampleTexture() 444 if(componentCount < 3) c.z = Float4(defaultColorValue); in sampleTexture() 445 if(componentCount < 4) c.w = Float4(1.0f); in sampleTexture() 744 int componentCount = textureComponentCount(); in sampleQuad2D() local 803 if(componentCount >= 1) in sampleQuad2D() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Format.cpp | 162 SampleTypeBit sampleTypes, uint8_t componentCount) { in BuildFormatTable() argument 170 internalFormat.componentCount = componentCount; in BuildFormatTable() 208 internalFormat.componentCount = 1; in BuildFormatTable() 227 internalFormat.componentCount = 1; in BuildFormatTable() 240 uint8_t componentCount) { in BuildFormatTable() argument 248 internalFormat.componentCount = componentCount; in BuildFormatTable() 262 bool isRenderable, bool isSupported, uint8_t componentCount) { in BuildFormatTable() argument 270 internalFormat.componentCount = componentCount; in BuildFormatTable()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | utilities.h | 140 int componentCount, 157 int componentCount; member 175 int componentCount, in UniformTypeInfo() argument 191 componentCount(componentCount), in UniformTypeInfo()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | utilities.h | 150 int componentCount, 166 int componentCount; member 183 int componentCount, in UniformTypeInfo() argument 198 componentCount(componentCount), in UniformTypeInfo()
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlVaryingHandler.mm | 16 int componentCount = 0; 21 componentCount += GrSLTypeVecLength(var.getType()); 32 SkASSERT(componentCount <= 60);
|