44 if (buffer_bindings_) {
47 auto vtx_desc = std::make_unique<BufferBindingsGLES>();
48 if (!vtx_desc->RegisterVertexStageInput(
49 gl, GetDescriptor().GetVertexDescriptor()->GetStageInputs(),
50 GetDescriptor().GetVertexDescriptor()->GetStageLayouts())) {
53 if (!vtx_desc->ReadUniformsBindings(gl, program)) {
56 buffer_bindings_ = std::move(vtx_desc);