summaryrefslogtreecommitdiffstats
path: root/tests/python_build/fixtures/rd_glsl/vertex_fragment_expected_full.glsl
blob: 2f809f1bfe8107956c952f53516ceb66830898df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef VERTEX_FRAGMENT_GLSL_GEN_H_RD
#define VERTEX_FRAGMENT_GLSL_GEN_H_RD

#include "servers/rendering/renderer_rd/shader_rd.h"

class VertexFragmentShaderRD : public ShaderRD {

public:

	VertexFragmentShaderRD() {

		static const char _vertex_code[] = {
R"<!>(
#version 450

#VERSION_DEFINES

#define M_PI 3.14159265359

layout(location = 0) out vec2 uv_interp;

void main() {
	uv_interp = vec2(0, 1);
}

)<!>"
		};
		static const char _fragment_code[] = {
R"<!>(
#version 450

#VERSION_DEFINES

layout(location = 0) in vec2 uv_interp;

void main() {
	uv_interp = vec2(1, 0);
}
)<!>"
		};
		setup(_vertex_code, _fragment_code, nullptr, "VertexFragmentShaderRD");
	}
};

#endif