feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -1,15 +1,10 @@
/* 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 *_vertex_code = nullptr;
static const char *_fragment_code = nullptr;
static const char _compute_code[] = {
R"<!>(
#version 450
@ -25,8 +20,6 @@ void main() {
}
)<!>"
};
setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
setup(_vertex_code, _fragment_code, _compute_code, "ComputeShaderRD");
}
};
#endif

View file

@ -1,28 +0,0 @@
{
"vertex_lines": [],
"fragment_lines": [],
"compute_lines": [
"",
"#version 450",
"",
"#VERSION_DEFINES",
"",
"#define BLOCK_SIZE 8",
"",
"#define M_PI 3.14159265359",
"",
"void main() {",
"\tuint t = BLOCK_SIZE + 1;",
"}"
],
"vertex_included_files": [],
"fragment_included_files": [],
"compute_included_files": [
"tests/python_build/fixtures/rd_glsl/_included.glsl"
],
"reading": "compute",
"line_offset": 13,
"vertex_offset": 0,
"fragment_offset": 0,
"compute_offset": 1
}

View file

@ -1,15 +1,8 @@
/* 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
@ -39,8 +32,7 @@ void main() {
}
)<!>"
};
setup(_vertex_code, _fragment_code, nullptr, "VertexFragmentShaderRD");
static const char *_compute_code = nullptr;
setup(_vertex_code, _fragment_code, _compute_code, "VertexFragmentShaderRD");
}
};
#endif

View file

@ -1,40 +0,0 @@
{
"vertex_lines": [
"",
"#version 450",
"",
"#VERSION_DEFINES",
"",
"#define M_PI 3.14159265359",
"",
"layout(location = 0) out vec2 uv_interp;",
"",
"void main() {",
"\tuv_interp = vec2(0, 1);",
"}",
""
],
"fragment_lines": [
"",
"#version 450",
"",
"#VERSION_DEFINES",
"",
"layout(location = 0) in vec2 uv_interp;",
"",
"void main() {",
"\tuv_interp = vec2(1, 0);",
"}"
],
"compute_lines": [],
"vertex_included_files": [
"tests/python_build/fixtures/rd_glsl/_included.glsl"
],
"fragment_included_files": [],
"compute_included_files": [],
"reading": "fragment",
"line_offset": 25,
"vertex_offset": 1,
"fragment_offset": 15,
"compute_offset": 0
}