2023-08-24 10:54:59 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
|
2025-09-25 10:57:02 +02:00
|
|
|
#include "infos/gpu_shader_2D_image_infos.hh"
|
2016-11-18 16:04:25 +01:00
|
|
|
|
2024-11-12 18:53:34 +01:00
|
|
|
VERTEX_SHADER_CREATE_INFO(gpu_shader_2D_image_common)
|
2016-11-18 16:04:25 +01:00
|
|
|
|
|
|
|
|
void main()
|
|
|
|
|
{
|
2025-04-14 13:46:41 +02:00
|
|
|
gl_Position = ModelViewProjectionMatrix * float4(pos.xy, 0.0f, 1.0f);
|
2017-04-09 16:34:15 +10:00
|
|
|
texCoord_interp = texCoord;
|
2016-11-18 16:04:25 +01:00
|
|
|
}
|