Home
last modified time | relevance | path

Searched refs:varyingType (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/compiler/translator/
DValidateVaryingLocations.cpp30 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()
54 ASSERT(!varyingType.isArrayOfArrays()); in GetLocationCount()
55 return varyingType.getSecondarySize(); in GetLocationCount()
57 else if (varyingType.isMatrix()) in GetLocationCount()
59 return varyingType.getNominalSize() * varyingType.getArraySizeProduct(); in GetLocationCount()
63 return varyingType.getArraySizeProduct(); in GetLocationCount()
DTranslatorVulkan.cpp479 TType *varyingType = new TType(EbtFloat, EbpMedium, qualifier, 2); in AddANGLEPositionVaryingDeclaration() local
481 new TVariable(symbolTable, ImmutableString(vk::kLineRasterEmulationPosition), varyingType, in AddANGLEPositionVaryingDeclaration()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp185 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()
/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp79 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()
DGrGLSLShaderBuilder.cpp73 GrSLType varyingType) const { in appendTextureLookup()
81 GrSLType varyingType, in appendTextureLookup() argument
84 this->appendTextureLookup(&lookup, samplerHandle, coordName, varyingType); in appendTextureLookup()
92 GrSLType varyingType, in appendTextureLookupAndModulate() argument
95 this->appendTextureLookup(&lookup, samplerHandle, coordName, varyingType); in appendTextureLookupAndModulate()
/external/skqp/src/gpu/
DGrPathProcessor.cpp56 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()
/external/skia/src/gpu/
DGrPathProcessor.cpp63 GrSLType varyingType = in emitTransforms() local
68 GrGLSLVarying v(varyingType); in emitTransforms()
74 fInstalledTransforms.back().fType = varyingType; in emitTransforms()
79 GrShaderVar(SkString(v.fsIn()), varyingType)); in emitTransforms()
/external/angle/src/tests/gl_tests/
DProgramBinaryTest.cpp1038 GLenum varyingType = GL_NONE; in TEST_P() local
1040 glGetTransformFeedbackVarying(mProgram, 0, 64, &writtenLength, &varyingSize, &varyingType, in TEST_P()
1047 EXPECT_GLENUM_EQ(GL_FLOAT_VEC4, varyingType); in TEST_P()
DGLSLTest.cpp31 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()
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp449 std::string varyingType = gl::GetGLSLTypeString(tfVarying.type); in GenerateTransformFeedbackExtensionOutputs() local
450 xfbDecl += "layout(location = " + Str(xfbVaryingLocation) + ") out " + varyingType + in GenerateTransformFeedbackExtensionOutputs()