Update Spirv-tools to 257a227fbadf8176ea386c7d8fb9b889cbf08640
This commit is contained in:
committed by
Andy Hovingh
parent
c1430f88c1
commit
69e7592885
3
third_party/spirv-tools/source/binary.cpp
vendored
3
third_party/spirv-tools/source/binary.cpp
vendored
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user