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