Style: Integrate #pragma once in builders/checks

This commit is contained in:
Thaddeus Crews
2025-02-01 10:11:55 -06:00
parent 7459a0361d
commit 96fdaa616b
17 changed files with 44 additions and 197 deletions

View File

@ -1,6 +1,5 @@
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef VERTEX_FRAGMENT_GLSL_GEN_HGLES3_GLES3
#define VERTEX_FRAGMENT_GLSL_GEN_HGLES3_GLES3
#pragma once
#include "drivers/gles3/shader_gles3.h"
@ -70,5 +69,3 @@ void main() {
}
};
#endif

View File

@ -1,6 +1,5 @@
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef COMPUTE_SHADER_GLSL_RAW_H
#define COMPUTE_SHADER_GLSL_RAW_H
#pragma once
static const char compute_shader_glsl[] = {
R"<!>(#[compute]
@ -17,4 +16,3 @@ void main() {
}
)<!>"
};
#endif

View File

@ -1,6 +1,5 @@
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef VERTEX_FRAGMENT_SHADER_GLSL_RAW_H
#define VERTEX_FRAGMENT_SHADER_GLSL_RAW_H
#pragma once
static const char vertex_fragment_shader_glsl[] = {
R"<!>(#[versions]
@ -37,4 +36,3 @@ void main() {
}
)<!>"
};
#endif

View File

@ -1,6 +1,5 @@
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef COMPUTE_GLSL_GEN_H_RD
#define COMPUTE_GLSL_GEN_H_RD
#pragma once
#include "servers/rendering/renderer_rd/shader_rd.h"
@ -28,5 +27,3 @@ void main() {
setup(nullptr, nullptr, _compute_code, "ComputeShaderRD");
}
};
#endif

View File

@ -1,6 +1,5 @@
/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */
#ifndef VERTEX_FRAGMENT_GLSL_GEN_H_RD
#define VERTEX_FRAGMENT_GLSL_GEN_H_RD
#pragma once
#include "servers/rendering/renderer_rd/shader_rd.h"
@ -42,5 +41,3 @@ void main() {
setup(_vertex_code, _fragment_code, nullptr, "VertexFragmentShaderRD");
}
};
#endif