/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 67 int GetInterfaceBlockLocationCount(const TType &varyingType, bool ignoreVaryingArraySize) in GetInterfaceBlockLocationCount() argument 70 for (const TField *field : varyingType.getInterfaceBlock()->fields()) in GetInterfaceBlockLocationCount() 75 if (!ignoreVaryingArraySize && varyingType.isArray()) in GetInterfaceBlockLocationCount() 77 totalLocation *= varyingType.getArraySizeProduct(); in GetInterfaceBlockLocationCount() 82 int GetLocationCount(const TType &varyingType, bool ignoreVaryingArraySize) in GetLocationCount() argument 84 ASSERT(!varyingType.isInterfaceBlock()); in GetLocationCount() 86 if (varyingType.getStruct() != nullptr) in GetLocationCount() 89 for (const TField *field : varyingType.getStruct()->fields()) in GetLocationCount() 99 ASSERT(varyingType.isMatrix() || varyingType.getSecondarySize() == 1); in GetLocationCount() 100 int elementLocationCount = varyingType.isMatrix() ? varyingType.getNominalSize() : 1; in GetLocationCount() [all …]
|
D | ValidateVaryingLocations.h | 23 unsigned int CalculateVaryingLocationCount(const TType &varyingType, GLenum shaderType);
|
D | TranslatorVulkan.cpp | 311 TType *varyingType = new TType(EbtFloat, EbpMedium, qualifier, 2); in AddANGLEPositionVaryingDeclaration() local 313 new TVariable(symbolTable, ImmutableString(vk::kLineRasterEmulationPosition), varyingType, in AddANGLEPositionVaryingDeclaration()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderLimitTests.cpp | 185 string varyingType; in initPrograms() local 196 varyingType = "float"; in initPrograms() 199 varyingType = "vec2"; in initPrograms() 202 varyingType = "vec3"; in initPrograms() 205 varyingType = "vec4"; in initPrograms() 209 varyingType = "vec4"; in initPrograms() 211 …UT"] += "layout(location = " + de::toString(loc) + ") out highp " + varyingType + " o_color" + … in initPrograms() 212 …vertexParams["VARYING_DECL"] += " o_color" + de::toString(loc) + " = " + varyingType + "(… in initPrograms() 213 …_IN"] += "layout(location = " + de::toString(loc) + ") in highp " + varyingType + " i_color" + … in initPrograms() 214 …FY"] += " errorCount += (i_color" + de::toString(loc) + " == " + varyingType + "(" + de::t… in initPrograms()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 30 const auto &varyingType = varying->getType(); in GetLocationCount() local 31 if (varyingType.getStruct() != nullptr) in GetLocationCount() 33 ASSERT(!varyingType.isArray()); in GetLocationCount() 35 for (const auto *field : varyingType.getStruct()->fields()) in GetLocationCount() 53 ASSERT(!varyingType.isArrayOfArrays()); in GetLocationCount() 54 return varyingType.getSecondarySize(); in GetLocationCount() 58 return varyingType.getSecondarySize() * static_cast<int>(varyingType.getArraySizeProduct()); in GetLocationCount()
|
D | TranslatorVulkan.cpp | 427 TType *varyingType = new TType(EbtFloat, EbpMedium, qualifier, 4); in AddANGLEPositionVaryingDeclaration() local 429 varyingType, SymbolType::AngleInternal); in AddANGLEPositionVaryingDeclaration()
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 79 GrSLType varyingType = kFloat2_GrSLType; in emitTransforms() local 82 varyingType = kFloat3_GrSLType; in emitTransforms() 86 GrGLSLVarying v(varyingType); in emitTransforms() 89 handler->specifyCoordsForCurrCoordTransform(SkString(v.fsIn()), varyingType); in emitTransforms() 91 if (kFloat2_GrSLType == varyingType) { in emitTransforms()
|
D | GrGLSLShaderBuilder.cpp | 72 GrSLType varyingType) const { in appendTextureLookup() 80 GrSLType varyingType, in appendTextureLookup() argument 83 this->appendTextureLookup(&lookup, samplerHandle, coordName, varyingType); in appendTextureLookup() 91 GrSLType varyingType, in appendTextureLookupAndModulate() argument 94 this->appendTextureLookup(&lookup, samplerHandle, coordName, varyingType); in appendTextureLookupAndModulate()
|
/third_party/flutter/skia/src/gpu/ |
D | GrPathProcessor.cpp | 56 GrSLType varyingType = in emitTransforms() local 62 GrGLSLVarying v(varyingType); in emitTransforms() 67 fInstalledTransforms.back().fType = varyingType; in emitTransforms() 69 transformHandler->specifyCoordsForCurrCoordTransform(SkString(v.fsIn()), varyingType); in emitTransforms()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ProgramBinaryTest.cpp | 909 GLenum varyingType = GL_NONE; in TEST_P() local 911 glGetTransformFeedbackVarying(mProgram, 0, 64, &writtenLength, &varyingSize, &varyingType, in TEST_P() 918 EXPECT_GLENUM_EQ(GL_FLOAT_VEC4, varyingType); in TEST_P()
|
D | GLSLTest.cpp | 31 char varyingType[10]; in GenerateVaryingType() local 35 sprintf(varyingType, "float"); in GenerateVaryingType() 39 sprintf(varyingType, "vec%d", vectorSize); in GenerateVaryingType() 42 return std::string(varyingType); in GenerateVaryingType()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ProgramBinaryTest.cpp | 1269 GLenum varyingType = GL_NONE; in TEST_P() local 1271 glGetTransformFeedbackVarying(mProgram, 0, 64, &writtenLength, &varyingSize, &varyingType, in TEST_P() 1278 EXPECT_GLENUM_EQ(GL_FLOAT_VEC4, varyingType); in TEST_P()
|
D | GLSLTest.cpp | 32 char varyingType[10]; in GenerateVaryingType() local 36 sprintf(varyingType, "float"); in GenerateVaryingType() 40 sprintf(varyingType, "vec%d", vectorSize); in GenerateVaryingType() 43 return std::string(varyingType); in GenerateVaryingType()
|