Merge pull request #7167 from Themaister/master

Fix glslang_format LUT.
This commit is contained in:
Twinaphex 2018-09-01 22:51:29 +02:00 committed by GitHub
commit 4f4b1c182f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,8 @@ static string build_stage_source(const vector<string> &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)