projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec0897
)
pan/bi: Add w0 to the 'h01' swizzle bucket
author
Icecream95
<ixn@disroot.org>
Mon, 28 Dec 2020 12:09:04 +0000
(
01:09
+1300)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 18 Jan 2021 20:49:45 +0000
(20:49 +0000)
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>
src/panfrost/bifrost/bi_packer.c.py
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_packer.c.py
b/src/panfrost/bifrost/bi_packer.c.py
index
85af861
..
28669eb
100644
(file)
--- a/
src/panfrost/bifrost/bi_packer.c.py
+++ b/
src/panfrost/bifrost/bi_packer.c.py
@@
-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']),