Debian Codegraph @

tests/python_build/fixtures/rd_glsl/compute.out

raw
1 #include "servers/rendering/renderer_rd/shader_rd.h"
2
3 class ComputeShaderRD : public ShaderRD {
4 public:
5 ComputeShaderRD() {
6 static const char *_vertex_code = nullptr;
7 static const char *_fragment_code = nullptr;
8 static const char _compute_code[] = {
9 R"<!>(
10 #version 450
11
12 #VERSION_DEFINES
13
14 #define BLOCK_SIZE 8
15
16 #define M_PI 3.14159265359
17
18 void main() {
19 uint t = BLOCK_SIZE + 1;
20 }
21 )<!>"
22 };
23 setup(_vertex_code, _fragment_code, _compute_code, "ComputeShaderRD");
24 }
25 };