Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateVaryingLocations.cpp67 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 …]
DValidateVaryingLocations.h23 unsigned int CalculateVaryingLocationCount(const TType &varyingType, GLenum shaderType);
DTranslatorVulkan.cpp311 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_no_buildgn/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramBinaryTest.cpp1269 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()
DGLSLTest.cpp32 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()