compute_expected_full.glsl 498 B

123456789101112131415161718192021222324252627282930313233
  1. /* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
  2. #ifndef COMPUTE_GLSL_GEN_H_RD
  3. #define COMPUTE_GLSL_GEN_H_RD
  4. #include "servers/rendering/renderer_rd/shader_rd.h"
  5. class ComputeShaderRD : public ShaderRD {
  6. public:
  7. ComputeShaderRD() {
  8. static const char _compute_code[] = {
  9. R"<!>(
  10. #version 450
  11. #VERSION_DEFINES
  12. #define BLOCK_SIZE 8
  13. #define M_PI 3.14159265359
  14. void main() {
  15. uint t = BLOCK_SIZE + 1;
  16. }
  17. )<!>"
  18. };
  19. setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
  20. }
  21. };
  22. #endif