Fix typo with array stride error message.

Trivial copy-paste bug.
This commit is contained in:
Hans-Kristian Arntzen 2019-04-02 19:18:13 +02:00
Родитель 5c239b857b
Коммит fc37c52d26
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1747,7 +1747,7 @@ uint32_t Compiler::type_struct_member_array_stride(const SPIRType &type, uint32_
SPIRV_CROSS_THROW("Struct member does not have ArrayStride set.");
}
else
SPIRV_CROSS_THROW("Struct member does not have Offset set.");
SPIRV_CROSS_THROW("Struct member does not have ArrayStride set.");
}
uint32_t Compiler::type_struct_member_matrix_stride(const SPIRType &type, uint32_t index) const