Files
test2/source/blender/gpu/tests/shaders/gpu_compute_2d_test.glsl
Clément Foucault bb52754652 GPU: Use f suffix for float literals
They are actually already some literals with the `f` suffix
that are in our shader codebase and we never had problem in
the past 5 years (or even 8 years).

So I think it is safe to do and improves convergence of codestyles.

Pull Request: https://projects.blender.org/blender/blender/pulls/137352
2025-04-11 18:28:45 +02:00

10 lines
227 B
GLSL

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
void main()
{
vec4 pixel = vec4(1.0f, 0.5f, 0.2f, 1.0f);
imageStore(img_output, ivec2(gl_GlobalInvocationID.xy), pixel);
}