Small shader update

This commit is contained in:
korenkonder
2024-01-01 21:14:33 +03:00
parent e4c5f1a5c9
commit 4d85baf7ea
4 changed files with 378 additions and 833 deletions
+3 -9
View File
@@ -25,12 +25,8 @@ static const int32_t glitter_particle_wireframe_fpt_unival_max[] = {
-1,
};
static const uniform_name GLITTER_PT_WIREFRAME_uniform[] = {
U_INVALID,
};
static const bool GLITTER_PT_WIREFRAME_permut[] = {
false,
static const std::pair<uniform_name, bool> GLITTER_PT_WIREFRAME_uniform[] = {
{ U_INVALID , false,}
};
static const shader_sub_table GLITTER_PT_WIREFRAME_table[] = {
@@ -49,9 +45,8 @@ static const shader_sub_table GLITTER_PT_WIREFRAME_table[] = {
SHADER_DEV_##n, \
sizeof(n##_table) / sizeof(shader_sub_table), \
n##_table, \
sizeof(n##_uniform) / sizeof(uniform_name), \
sizeof(n##_uniform) / sizeof(std::pair<uniform_name, bool>), \
n##_uniform, \
n##_permut, \
}
const shader_table shader_dev_table[] = {
@@ -62,7 +57,6 @@ const shader_table shader_dev_table[] = {
0,
0,
0,
0,
},
shader_table_struct(GLITTER_PT_WIREFRAME),
};