blob: 4e44aa5bf79ad6bab187b09828fffdee901226ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* 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, {}));
}
}
|