spirv-tools: Disable bad validation.

This commit is contained in:
Бранимир Караџић 2024-06-15 12:40:50 -07:00
parent a02d9b541b
commit 72d5832998
1 changed files with 2 additions and 2 deletions

View File

@ -1018,8 +1018,8 @@ spv_result_t ValidateSampledImage(ValidationState_t& _,
}
if (type_inst->GetOperandAs<uint32_t>(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;