From 29f38c8feb5c215ccc9b1f88c9ec193d31286d4d Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 01:41:19 +0200 Subject: feat: custom UI font --- assets/compute.glsl | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 assets/compute.glsl (limited to 'assets/compute.glsl') diff --git a/assets/compute.glsl b/assets/compute.glsl deleted file mode 100644 index 9a36a84..0000000 --- a/assets/compute.glsl +++ /dev/null @@ -1,24 +0,0 @@ -#type compute -#version 430 core - -layout(local_size_x = 256) in; - -layout(std430, binding = 0) buffer InputBuffer -{ - float data[]; -} inputBuffer; - -layout(std430, binding = 1) buffer OutputBuffer -{ - float data[]; -} outputBuffer; - -uniform float u_Scale; -uniform float u_Offset; - -void main() -{ - uint index = gl_GlobalInvocationID.x; - float inputValue = inputBuffer.data[index]; - outputBuffer.data[index] = inputValue * u_Scale + u_Offset; -} -- cgit v1.3