Added a shader warning about unused local variable

This commit is contained in:
Yuri Roubinsky
2021-06-29 14:34:54 +03:00
parent 8fb7a9f023
commit 5100eed012
4 changed files with 56 additions and 4 deletions

View File

@ -46,6 +46,7 @@ public:
UNUSED_STRUCT,
UNUSED_UNIFORM,
UNUSED_VARYING,
UNUSED_LOCAL_VARIABLE,
WARNING_MAX,
};
@ -57,6 +58,7 @@ public:
UNUSED_STRUCT_FLAG = 8U,
UNUSED_UNIFORM_FLAG = 16U,
UNUSED_VARYING_FLAG = 32U,
UNUSED_LOCAL_VARIABLE_FLAG = 64U,
};
private: