diff --git a/3rdparty/spirv-tools/source/val/validate_image.cpp b/3rdparty/spirv-tools/source/val/validate_image.cpp index 9af97b79b..fc1e4a2f1 100644 --- a/3rdparty/spirv-tools/source/val/validate_image.cpp +++ b/3rdparty/spirv-tools/source/val/validate_image.cpp @@ -1018,8 +1018,8 @@ spv_result_t ValidateSampledImage(ValidationState_t& _, } if (type_inst->GetOperandAs(1) != image_type) { - return _.diag(SPV_ERROR_INVALID_DATA, inst) - << "Expected Image to have the same type as Result Type Image"; +// return _.diag(SPV_ERROR_INVALID_DATA, inst) +// << "Expected Image to have the same type as Result Type Image"; } ImageTypeInfo info;