diff --git a/gfx/drivers_shader/glslang_util.cpp b/gfx/drivers_shader/glslang_util.cpp index 05a648ca9b..96b0b6026b 100644 --- a/gfx/drivers_shader/glslang_util.cpp +++ b/gfx/drivers_shader/glslang_util.cpp @@ -190,6 +190,8 @@ static string build_stage_source(const vector &lines, const char *stage) } static const char *glslang_formats[] = { + "UNKNOWN", + "R8_UNORM", "R8_UINT", "R8_SINT", @@ -223,8 +225,6 @@ static const char *glslang_formats[] = { "R32G32B32A32_UINT", "R32G32B32A32_SINT", "R32G32B32A32_SFLOAT", - - "UNKNOWN", }; const char *glslang_format_to_string(enum glslang_format fmt)