mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 18:23:39 +00:00
This adds a shader class to LibSoftGPU and makes use of it when linking GLSL program in LibGL. Also adds actual rendering code to the shader tests.
16 lines
263 B
C++
16 lines
263 B
C++
/*
|
|
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibSoftGPU/Shader.h>
|
|
|
|
namespace SoftGPU {
|
|
|
|
Shader::Shader(void const* ownership_token)
|
|
: GPU::Shader(ownership_token)
|
|
{
|
|
}
|
|
|
|
}
|