2022-09-14 18:48:10 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <LibSoftGPU/Shader.h>
|
|
|
|
|
|
|
|
|
|
namespace SoftGPU {
|
|
|
|
|
|
2022-09-17 12:50:43 -03:00
|
|
|
Shader::Shader(void const* ownership_token, Vector<Instruction> const& instructions)
|
2022-09-14 18:48:10 -03:00
|
|
|
: GPU::Shader(ownership_token)
|
2022-09-17 12:50:43 -03:00
|
|
|
, m_instructions(instructions)
|
2022-09-14 18:48:10 -03:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|