diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 01:41:19 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 01:41:19 +0200 |
| commit | 29f38c8feb5c215ccc9b1f88c9ec193d31286d4d (patch) | |
| tree | d2a098dd08b4f27be2f61189e52b0c548d9d4a4c /assets/compute.glsl | |
| parent | 4de723231b38d7c7e272e71b9580443874c278ab (diff) | |
feat: custom UI font
Diffstat (limited to 'assets/compute.glsl')
| -rw-r--r-- | assets/compute.glsl | 24 |
1 files changed, 0 insertions, 24 deletions
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; -} |
