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 | f949a0aafe9825b8209c3a9d139a7bf5e22a7897 (patch) | |
| tree | 423b0f8242b156596f2bb9a89fd96a6c099b93d3 /Assets/Compute.glsl | |
| parent | 613f99e937e55f73dcec1251fdce4a9fda077a0f (diff) | |
[add]: 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; -} |
