ir3/lower_pcopy: Fix shr.b illegal copy lowering
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 16 Nov 2021 14:32:58 +0000 (15:32 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 Nov 2021 16:59:54 +0000 (16:59 +0000)
commit65da866ad96bbe5a1683c98191331827ea3bd580
treeb5c8e5295579b920eb08b626a139a9e719662fcb
parent9912c61362b650e09dad7ec6fc6a72095969ffab
ir3/lower_pcopy: Fix shr.b illegal copy lowering

The immediate shouldn't be half-reg because the other source isn't.
Fixes an assertion failure with
dEQP-VK.ssbo.phys.layout.random.16bit.scalar.35.

Fixes: 0ffcb19b9d9 ("ir3: Rewrite register allocation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13818>
src/freedreno/ir3/ir3_lower_parallelcopy.c