1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

LibGLSL: Fill LinkedShaders with dummy IR code

This commit is contained in:
Stephan Unverwerth 2022-09-18 16:18:12 +02:00 committed by Andrew Kaster
parent c88bc74afd
commit 5bab17596d
2 changed files with 26 additions and 1 deletions

View file

@ -11,12 +11,23 @@
#include <AK/String.h>
#include <AK/Vector.h>
#include <LibGLSL/ObjectFile.h>
#include <LibGPU/IR.h>
namespace GLSL {
// FIXME: Implement this class
class LinkedShader final {
public:
LinkedShader(const GPU::IR::Shader& intermediate_shader_representation)
: m_intermediate_shader_representation { intermediate_shader_representation }
{
}
GPU::IR::Shader const& intermediate_shader_representation() const { return m_intermediate_shader_representation; }
private:
GPU::IR::Shader m_intermediate_shader_representation;
};
}