2022-06-30 04:14:07 +02:00
|
|
|
/* 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[] = {
|
2024-07-31 21:15:56 +02:00
|
|
|
R"<!>(
|
|
|
|
#version 450
|
|
|
|
|
|
|
|
#VERSION_DEFINES
|
|
|
|
|
|
|
|
#define BLOCK_SIZE 8
|
|
|
|
|
|
|
|
#define M_PI 3.14159265359
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
uint t = BLOCK_SIZE + 1;
|
|
|
|
}
|
|
|
|
)<!>"
|
2022-06-30 04:14:07 +02:00
|
|
|
};
|
|
|
|
setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|