mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
17 lines
400 B
C++
17 lines
400 B
C++
/*
|
|
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibSoftGPU/ShaderCompiler.h>
|
|
|
|
namespace SoftGPU {
|
|
|
|
ErrorOr<NonnullRefPtr<Shader>> ShaderCompiler::compile(void const* ownership_token, GPU::IR::Shader const&)
|
|
{
|
|
// FIXME: implement the shader compiler
|
|
return adopt_ref(*new Shader(ownership_token, {}));
|
|
}
|
|
|
|
}
|