Home
last modified time | relevance | path

Searched refs:ParseResourceName (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/common/
Dutilities_unittest.cpp17 TEST(ParseResourceName, ArrayIndex) in TEST() argument
20 EXPECT_EQ("foo", gl::ParseResourceName("foo[123]", &indices)); in TEST()
24 EXPECT_EQ("bar", gl::ParseResourceName("bar[0]", &indices)); in TEST()
30 TEST(ParseResourceName, NegativeArrayIndex) in TEST() argument
33 EXPECT_EQ("foo", gl::ParseResourceName("foo[-1]", &indices)); in TEST()
39 TEST(ParseResourceName, NoArrayIndex) in TEST() argument
42 EXPECT_EQ("foo", gl::ParseResourceName("foo", &indices)); in TEST()
47 TEST(ParseResourceName, NULLArrayIndices) in TEST() argument
49 EXPECT_EQ("foo", gl::ParseResourceName("foo[10]", nullptr)); in TEST()
53 TEST(ParseResourceName, MultipleArrayIndices) in TEST() argument
[all …]
Dutilities.h62 std::string ParseResourceName(const std::string &name, std::vector<unsigned int> *outSubscripts);
Dutilities.cpp824 std::string ParseResourceName(const std::string &name, std::vector<unsigned int> *outSubscripts) in ParseResourceName() function
/external/angle/src/libANGLE/
DVaryingPacking.cpp519 std::string baseName = ParseResourceName(tfVarying, &subscripts); in collectAndPackUserVaryings()
DProgram.cpp238 std::string baseName = ParseResourceName(name, &subscripts); in IncludeSameArrayElement()
242 std::string arrayName = ParseResourceName(nameInSet, &arrayIndices); in IncludeSameArrayElement()
340 std::string baseName = ParseResourceName(name, &subscripts); in GetInterfaceBlockIndex()
4217 std::string baseName = ParseResourceName(tfVaryingName, &subscripts); in linkValidateTransformFeedback()
4298 std::string baseName = ParseResourceName(tfVaryingName, &subscripts); in gatherTransformFeedbackVaryings()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm377 uniformName = gl::ParseResourceName(uniformName, nullptr);
/external/angle/src/libANGLE/renderer/d3d/
DProgramD3D.cpp2740 const std::string baseName = gl::ParseResourceName(d3dUniform->name, &subscripts); in assignSamplerRegisters()
2854 const std::string baseName = gl::ParseResourceName(d3dUniform->name, &subscripts); in assignImageRegisters()
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp1790 std::string samplerName = gl::ParseResourceName(originalName, nullptr); in GetMappedSamplerNameOld()