Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/shaders/compositor/compositor_convert_color_to_float.glsl')
-rw-r--r--source/blender/gpu/shaders/compositor/compositor_convert_color_to_float.glsl9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/gpu/shaders/compositor/compositor_convert_color_to_float.glsl b/source/blender/gpu/shaders/compositor/compositor_convert_color_to_float.glsl
deleted file mode 100644
index 27b0b9a231c..00000000000
--- a/source/blender/gpu/shaders/compositor/compositor_convert_color_to_float.glsl
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Store the average of the input's three color channels in the output, the alpha channel is
- * ignored. */
-
-void main()
-{
- ivec2 xy = ivec2(gl_GlobalInvocationID.xy);
- vec4 color = texelFetch(input_sampler, xy, 0);
- imageStore(output_image, xy, vec4((color.r + color.g + color.b) / 3.0));
-}