mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
nir/algebraic: Add two more pack/unpack rules
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16591>
This commit is contained in:
parent
849ebe3057
commit
836ff4b586
1 changed files with 2 additions and 0 deletions
|
|
@ -1453,6 +1453,8 @@ optimizations.extend([
|
|||
# Packing and then unpacking does nothing
|
||||
(('unpack_64_2x32_split_x', ('pack_64_2x32_split', a, b)), a),
|
||||
(('unpack_64_2x32_split_y', ('pack_64_2x32_split', a, b)), b),
|
||||
(('unpack_64_2x32_split_x', ('pack_64_2x32', a)), 'a.x'),
|
||||
(('unpack_64_2x32_split_y', ('pack_64_2x32', a)), 'a.y'),
|
||||
(('unpack_64_2x32', ('pack_64_2x32_split', a, b)), ('vec2', a, b)),
|
||||
(('unpack_64_2x32', ('pack_64_2x32', a)), a),
|
||||
(('unpack_double_2x32_dxil', ('pack_double_2x32_dxil', a)), a),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue