Use loops to reduce build-system repetition
-
build: Use a loop to reduce repetition when compiling shaders
-
tests: Use loops to build mock helpers
To reduce repetition.
This is getting quite repetitive, so let's simplify.
I haven't attempted to deduplicate the actual test or helper code, just the build system.
/cc @denittis @jpwhiting