xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/ProgramImpl.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2022 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // ProgramImpl.cpp: Implements the class methods for ProgramImpl.
7 
8 #include "libANGLE/renderer/ProgramImpl.h"
9 
10 namespace rx
11 {
link(const gl::ProgramLinkedResources & resources,const gl::ProgramMergedVaryings & mergedVaryings,std::vector<std::shared_ptr<LinkSubTask>> * linkSubTasksOut,std::vector<std::shared_ptr<LinkSubTask>> * postLinkSubTasksOut)12 void LinkTask::link(const gl::ProgramLinkedResources &resources,
13                     const gl::ProgramMergedVaryings &mergedVaryings,
14                     std::vector<std::shared_ptr<LinkSubTask>> *linkSubTasksOut,
15                     std::vector<std::shared_ptr<LinkSubTask>> *postLinkSubTasksOut)
16 {
17     UNREACHABLE();
18     return;
19 }
load(std::vector<std::shared_ptr<LinkSubTask>> * linkSubTasksOut,std::vector<std::shared_ptr<LinkSubTask>> * postLinkSubTasksOut)20 void LinkTask::load(std::vector<std::shared_ptr<LinkSubTask>> *linkSubTasksOut,
21                     std::vector<std::shared_ptr<LinkSubTask>> *postLinkSubTasksOut)
22 {
23     UNREACHABLE();
24     return;
25 }
isLinkingInternally()26 bool LinkTask::isLinkingInternally()
27 {
28     return false;
29 }
30 
onLabelUpdate(const gl::Context * context)31 angle::Result ProgramImpl::onLabelUpdate(const gl::Context *context)
32 {
33     return angle::Result::Continue;
34 }
35 
36 }  // namespace rx
37