Edit

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

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2020-09-20 10:51:00
    Hash : d13c9e78
    Message : Rename ShaderImpl::mData to mState. Makes it consistent with the other back-end types. Bug: angleproject:5076 Change-Id: I7a54dd4a0a54e6dc05e257b7b2ac1ec21ceea700 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2420748 Commit-Queue: Jamie Madill <jmadill@chromium.org> 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, mState.getSource(), options);
    }
    
    std::string ShaderNULL::getDebugInfo() const
    {
        return "";
    }
    
    }  // namespace rx