Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2019-02-22 20:53:08 -08:00
parent 5ba4893f72
commit 8324872ae9
23 changed files with 496 additions and 260 deletions
+2 -1
View File
@@ -253,7 +253,8 @@ spv_result_t ValidateFunctionCall(ValidationState_t& _,
}
if (_.addressing_model() == SpvAddressingModelLogical) {
if (parameter_type->opcode() == SpvOpTypePointer) {
if (parameter_type->opcode() == SpvOpTypePointer &&
!_.options()->relax_logical_pointer) {
SpvStorageClass sc = parameter_type->GetOperandAs<SpvStorageClass>(1u);
// Validate which storage classes can be pointer operands.
switch (sc) {