summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGPU
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@serenityos.org>2022-09-16 18:50:07 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-17 22:39:09 -0700
commit49139d5f4ebc72faf416090fa4ee898b2a09878f (patch)
tree5d1cc2d0e87c882e661705394a41b3e4acd6e5a1 /Userland/Libraries/LibGPU
parent93ab2db80fed38b6e621085b5e060ae726d77a88 (diff)
downloadserenity-49139d5f4ebc72faf416090fa4ee898b2a09878f.zip
LibSoftGPU: Allow binding a fragment shader
Diffstat (limited to 'Userland/Libraries/LibGPU')
-rw-r--r--Userland/Libraries/LibGPU/Device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGPU/Device.h b/Userland/Libraries/LibGPU/Device.h
index d2a7a112d9..59d5ea993a 100644
--- a/Userland/Libraries/LibGPU/Device.h
+++ b/Userland/Libraries/LibGPU/Device.h
@@ -70,6 +70,8 @@ public:
virtual RasterPosition raster_position() const = 0;
virtual void set_raster_position(RasterPosition const& raster_position) = 0;
virtual void set_raster_position(FloatVector4 const& position, FloatMatrix4x4 const& model_view_transform, FloatMatrix4x4 const& projection_transform) = 0;
+
+ virtual void bind_fragment_shader(RefPtr<Shader>) = 0;
};
}