spirv-tools: Disable ContainsOpaqueType validation.

This commit is contained in:
Бранимир Караџић 2019-07-24 20:29:36 -07:00
parent e826eb5af3
commit 28187d367f

View File

@ -191,6 +191,7 @@ spv_result_t ValidateTypeRuntimeArray(ValidationState_t& _,
}
bool ContainsOpaqueType(ValidationState_t& _, const Instruction* str) {
return false;
const size_t elem_type_index = 1;
uint32_t elem_type_id;
Instruction* elem_type;