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