Revert "Updated spirv-tools."

This reverts commit 7cda7c988f.
This commit is contained in:
Бранимир Караџић
2024-09-28 10:10:43 -07:00
parent e4073f0259
commit 0e275e2d7b
58 changed files with 512 additions and 1899 deletions

View File

@@ -329,9 +329,8 @@ spv_result_t AssemblyContext::recordTypeDefinition(
types_[value] = {pInst->words[2], pInst->words[3] != 0,
IdTypeClass::kScalarIntegerType};
} else if (pInst->opcode == spv::Op::OpTypeFloat) {
if ((pInst->words.size() != 3) && (pInst->words.size() != 4))
if (pInst->words.size() != 3)
return diagnostic() << "Invalid OpTypeFloat instruction";
// TODO(kpet) Do we need to record the FP Encoding here?
types_[value] = {pInst->words[2], false, IdTypeClass::kScalarFloatType};
} else {
types_[value] = {0, false, IdTypeClass::kOtherType};