Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2020-07-17 20:30:31 -07:00
parent 8d5c7eae3a
commit c851c522f6
71 changed files with 1778 additions and 578 deletions

View File

@@ -501,10 +501,6 @@ spv_result_t ValidateMemoryModel(ValidationState_t& _,
return _.diag(SPV_ERROR_INVALID_DATA, inst)
<< "Addressing model must be Logical for WebGPU environment.";
}
if (_.memory_model() != SpvMemoryModelVulkanKHR) {
return _.diag(SPV_ERROR_INVALID_DATA, inst)
<< "Memory model must be VulkanKHR for WebGPU environment.";
}
}
if (spvIsOpenCLEnv(_.context()->target_env)) {