feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
25
engine/tests/python_build/fixtures/rd_glsl/compute.out
Normal file
25
engine/tests/python_build/fixtures/rd_glsl/compute.out
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#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
|
||||
|
||||
#VERSION_DEFINES
|
||||
|
||||
#define BLOCK_SIZE 8
|
||||
|
||||
#define M_PI 3.14159265359
|
||||
|
||||
void main() {
|
||||
uint t = BLOCK_SIZE + 1;
|
||||
}
|
||||
)<!>"
|
||||
};
|
||||
setup(_vertex_code, _fragment_code, _compute_code, "ComputeShaderRD");
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue