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