Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2019-07-11 21:07:22 -07:00
parent 447bb4af75
commit 65001ee075
76 changed files with 4792 additions and 419 deletions

View File

@@ -412,6 +412,7 @@ spv_result_t ValidateBinaryUsingContextAndValidationState(
// those checks register the limitation checked here.
for (const auto inst : vstate->ordered_instructions()) {
if (auto error = ValidateExecutionLimitations(*vstate, &inst)) return error;
if (auto error = ValidateSmallTypeUses(*vstate, &inst)) return error;
}
return SPV_SUCCESS;