pan/bi: Constant fold MKVEC.v2i8
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 17 Jun 2022 15:55:23 +0000 (11:55 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 21 Jun 2022 22:42:34 +0000 (22:42 +0000)
commit10301885abe83897da84b0f09e36a7a68d2c491d
treeb7545eb218f507d728330927520fc00f8fbd0194
parent2833d0472af6ee29f25e863e765d85cadc33ad0a
pan/bi: Constant fold MKVEC.v2i8

Constant MKVEC.v2i8 will be generated during texturing on Valhall, just like
constant MKVEC.v4i8 is currently generated.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17101>
src/panfrost/bifrost/bi_opt_constant_fold.c
src/panfrost/bifrost/test/test-constant-fold.cpp