Skip to content

Consider splitting up layer_validation_tests.cpp? #427

@Tobski

Description

@Tobski

Whilst I was working on validation for VK_KHR_create_renderpass2 (#357), I noticed a LOT of issues manipulating and working with this file, not limited to:

  • Slow to syntax highlight/format/autocomplete
  • Default git client settings won't diff anything that large
  • Diffs that are generated for a file that large are super unwieldy to review
  • Difficult to find things within it

Would it make sense to split this file up into multiple, grouped by functionality? For instance, as part of #357 I ended up grouping all of the render pass VUID tests together so that I could figure out more easily what was/wasn't being tested, and keep my edits local rather than jumping over the entire file. So an easy one to split out into a separate file would be "anything that tests renderpass VUs".

I'd be more inclined to write decent tests in future if the testing files weren't quite so unwieldy, so I think it'd be a useful change?

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions