diff options
author | Samuel Pitoiset <[email protected]> | 2018-01-05 19:18:13 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-01-08 21:30:01 +0100 |
commit | 08a5f4412aa505011a9cb80b9e9ed8eb90469613 (patch) | |
tree | 0aa20aa9c16cf783cefa68c9c317c448a6df08c3 /src/compiler/spirv/spirv.h | |
parent | be16bbe1d391d43cbccf4da2f1759ba52b016266 (diff) |
radv: get InstanceID from VGPR1 (or VGPR2 for tess) instead of VGPR3
VGPR1 = InstanceID / StepRate0; // StepRate0 can be set to 1
Ported from RadeonSI.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv.h')
0 files changed, 0 insertions, 0 deletions