nir/serialize: cast swizzle before shifting
authorKarol Herbst <kherbst@redhat.com>
Wed, 11 Dec 2019 15:01:15 +0000 (16:01 +0100)
committerKarol Herbst <karolherbst@gmail.com>
Sat, 21 Dec 2019 11:00:16 +0000 (11:00 +0000)
fixes undefined behaviour with enabled vec16

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>

No differences found