summaryrefslogtreecommitdiffstats
path: root/tests/python_build/fixtures/rd_glsl/compute_expected_full.glsl
blob: 1184510020e3751636066de4a82a0d9e381377f6 (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
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef COMPUTE_GLSL_GEN_H_RD
#define COMPUTE_GLSL_GEN_H_RD

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

class ComputeShaderRD : public ShaderRD {

public:

	ComputeShaderRD() {

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

#VERSION_DEFINES

#define BLOCK_SIZE 8

#define M_PI 3.14159265359

void main() {
	uint t = BLOCK_SIZE + 1;
}
)<!>"
		};
		setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
	}
};

#endif