[PATCH v7 2/6] tests/shader-runner: Separate resource_type into type and dimension.