Edit

kc3-lang/angle/src/libANGLE/renderer/null/ShaderNULL.cpp

Branch :

  • Show log

    Commit

  • Author : jchen10
    Date : 2019-02-15 21:06:42
    Hash : 7d53c60b
    Message : ParallelCompile: use the native extensions This enhances to use the native parallel compile extensions if available. Bug: 873724 Change-Id: I0aaed314accd75e1bfa596b322225b56d729d3a6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1475234 Commit-Queue: Jie A Chen <jie.a.chen@intel.com> Reviewed-by: Jamie Madill <jmadill@chromium.org>

  • src/libANGLE/renderer/null/ShaderNULL.cpp
  • //
    // Copyright 2016 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // ShaderNULL.cpp:
    //    Implements the class methods for ShaderNULL.
    //
    
    #include "libANGLE/renderer/null/ShaderNULL.h"
    
    #include "common/debug.h"
    #include "libANGLE/Context.h"
    
    namespace rx
    {
    
    ShaderNULL::ShaderNULL(const gl::ShaderState &data) : ShaderImpl(data) {}
    
    ShaderNULL::~ShaderNULL() {}
    
    std::shared_ptr<WaitableCompileEvent> ShaderNULL::compile(const gl::Context *context,
                                                              gl::ShCompilerInstance *compilerInstance,
                                                              ShCompileOptions options)
    {
        return compileImpl(context, compilerInstance, mData.getSource(), options);
    }
    
    std::string ShaderNULL::getDebugInfo() const
    {
        return "";
    }
    
    }  // namespace rx