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