mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
33 lines
498 B
GLSL
33 lines
498 B
GLSL
/* 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
|