pan/bi: Add w0 to the 'h01' swizzle bucket

A number of instructions, such as LOAD.i8, use this swizzle in the XML.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
This commit is contained in:
Icecream95
2020-12-29 01:09:04 +13:00
committed by Marge Bot
parent 2ec0897b11
commit 2e372d0c3b
+1 -1
View File
@@ -89,7 +89,7 @@ def pack_modifier(mod, width, default, opts, body, pack_exprs):
# Swizzles need to be packed "specially"
SWIZZLE_BUCKETS = [
set(['h00', 'h0']),
set(['h01', 'none', 'b0123']), # Identity
set(['h01', 'none', 'b0123', 'w0']), # Identity
set(['h10']),
set(['h11', 'h1']),
set(['b0000', 'b00', 'b0']),