AMDGCN flavoured SPIR-V must support the union of all AMDGCN features, as we cannot early adjudicate on this or that feature's availability. We were hand filling in the feature map, which was error prone and led to constant grind as new features were added. This patch moves to a programmatic approach where we iterate through all AMDGCN GPUs and collect features, thus establishing the union. With this change AMDGCN flavoured SPIR-V will automatically pick up new features as they come along.
23 KiB
23 KiB