Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed Jun 23, 2023
1 parent 27f3cbc commit 49229a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/val/validate_decorations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ spv_result_t checkLayout(uint32_t struct_id, const char* storage_class_str,
return ds;
};

// If we are checking physical storage buffer pointers, we may not actually have a struct here. Instead, pretend we have a struct with a single member at offset 0.
// If we are checking physical storage buffer pointers, we may not actually
// have a struct here. Instead, pretend we have a struct with a single member
// at offset 0.
const auto& struct_type = vstate.FindDef(struct_id);
std::vector<uint32_t> members;
if (struct_type->opcode() == spv::Op::OpTypeStruct) {
Expand Down

0 comments on commit 49229a0

Please sign in to comment.