hlsl: Do not generate clashing registers when the set qualifier is used


There is no concept of multiple QRhiShaderResourceBindings (mapping
to descriptor sets in Vulkan) at the moment, but that does not mean
the shader infrastructure should not attempt to treat multiple sets
in a sane way. While the mapping tables cannot deal with multiple sets,
now something like layout(set = 1, binding = 0) ... translates to
HLSL without generating clashing resource register numbers.

In practice nothing changes since any Qt-targeted shader has a set
number of 0.

Change-Id: Ie35bfbc2222c81554be29d889d781b648d73b88d
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commit424fc438ab9f03d78d641dc11a613f70819e6452
parent3d8c20508c953660576fe1d8f6cf55fd5c7dfbfb
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeTue, 7 Nov 2023 18:42:48 +0200