Shader.cpp 339 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibSoftGPU/Shader.h>
  7. namespace SoftGPU {
  8. Shader::Shader(void const* ownership_token, Vector<Instruction> const& instructions)
  9. : GPU::Shader(ownership_token)
  10. , m_instructions(instructions)
  11. {
  12. }
  13. }