Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed May 7, 2024
1 parent ee39add commit 5761604
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/val/validate_decorations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,9 @@ spv_result_t checkLayout(uint32_t struct_id, const char* storage_class_str,
// Matrix stride would be on the array element in the struct.
const auto stride = constraint.matrix_stride;
if (!IsAlignedTo(stride, alignment)) {
return fail(memberIdx) << "is a matrix with stride " << stride
<< " not satisfying alignment to " << alignment;
return fail(memberIdx)
<< "is a matrix with stride " << stride
<< " not satisfying alignment to " << alignment;
}
}

Expand Down

0 comments on commit 5761604

Please sign in to comment.