commit | d2158a5b3016bf4e6593ba4f0fc4de653323bf87 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Wed Sep 09 17:46:58 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Wed Sep 16 20:05:34 2020 +0000 |
tree | 640f4364e6f49a880334b731dc837d09dfd727f7 | |
parent | 08b105d78254612ad64fe7aec825c3fbe102cc90 [diff] [blame] |
pan/bi: Use src1/dest_invert instead of src_invert[] This maps more closely to the hardware, which makes for easier packing. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6749>
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index b986a12..6f0578a 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h
@@ -237,7 +237,8 @@ }; struct bi_bitwise { - bool src_invert[2]; + bool dest_invert; + bool src1_invert; bool rshift; /* false for lshift */ };