mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
18 lines
400 B
C++
18 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, {}));
|
|
}
|
|
|
|
}
|