Update Spirv-tools to 257a227fbadf8176ea386c7d8fb9b889cbf08640

This commit is contained in:
Juan Caldas
2025-08-12 14:22:30 -04:00
committed by Andy Hovingh
parent c1430f88c1
commit 69e7592885
31 changed files with 888 additions and 122 deletions

View File

@@ -636,6 +636,7 @@ spv_result_t Parser::parseOperand(size_t inst_offset,
} break;
case SPV_OPERAND_TYPE_CAPABILITY:
case SPV_OPERAND_TYPE_OPTIONAL_CAPABILITY:
case SPV_OPERAND_TYPE_EXECUTION_MODEL:
case SPV_OPERAND_TYPE_ADDRESSING_MODEL:
case SPV_OPERAND_TYPE_MEMORY_MODEL:
@@ -689,6 +690,8 @@ spv_result_t Parser::parseOperand(size_t inst_offset,
parsed_operand.type = SPV_OPERAND_TYPE_PACKED_VECTOR_FORMAT;
if (type == SPV_OPERAND_TYPE_OPTIONAL_FPENCODING)
parsed_operand.type = SPV_OPERAND_TYPE_FPENCODING;
if (type == SPV_OPERAND_TYPE_OPTIONAL_CAPABILITY)
parsed_operand.type = SPV_OPERAND_TYPE_CAPABILITY;
const spvtools::OperandDesc* entry = nullptr;
if (spvtools::LookupOperand(type, word, &entry)) {