Searched refs:vertSource (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.cpp | 517 void PatchMultiview(uint32_t views, string& vertSource) in PatchMultiview() argument 521 if (auto pos = vertSource.find(numViews); pos != std::string::npos) { in PatchMultiview() 522 … const auto value = vertSource.cbegin() + static_cast<ptrdiff_t>(pos + numViews.size() - 2U); in PatchMultiview() 523 vertSource.replace(value, value + 1, to_string(views)); in PatchMultiview() 638 string vertSource = plat_.vertShaderModule_->GetGLSL(specData); in Specialize() local 639 PLUGIN_ASSERT_MSG(!vertSource.empty(), "Trying to specialize a program with no vert source"); in Specialize() 641 PostProcessSource(map, ret->plat_, vertPlat, vertSource); in Specialize() 644 PatchMultiview(views, vertSource); in Specialize() 656 ret->plat_.program = device_.CacheProgram(vertSource, fragSource, string_view()); in Specialize()
|
H A D | device_gles.h | 183 …BASE_NS::string_view vertSource, BASE_NS::string_view fragSource, BASE_NS::string_view compSource);
|
H A D | device_gles.cpp | 1434 const string_view vertSource, const string_view fragSource, const string_view compSource) in CacheProgram() argument 1438 const auto& vEntry = CacheShader(DeviceGLES::VERTEX_CACHE, vertSource); in CacheProgram()
|