Files
test/source/blender/gpu/tests/shaders/gpu_push_constants_test.glsl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
388 B
Plaintext
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
void main()
{
data_out[0] = float_in;
data_out[1] = vec2_in.x;
data_out[2] = vec2_in.y;
data_out[3] = vec3_in.x;
data_out[4] = vec3_in.y;
data_out[5] = vec3_in.z;
data_out[6] = vec4_in.x;
data_out[7] = vec4_in.y;
data_out[8] = vec4_in.z;
data_out[9] = vec4_in.w;
}