compositor: Replace shift and conv opcodes by convh in BGRA SOURCE operator
Potentially speeds up processing a bit.
This commit is contained in:
parent
2933ef6336
commit
779704b885
@ -142,9 +142,8 @@ storel d, t
|
|||||||
.const 4 a_not_alpha 0x00ffffff
|
.const 4 a_not_alpha 0x00ffffff
|
||||||
|
|
||||||
loadl t, s
|
loadl t, s
|
||||||
shrul t2, t, 24
|
convhlw tw, t
|
||||||
convlw tw, t2
|
convhwb tb, tw
|
||||||
convwb tb, tw
|
|
||||||
splatbl a, tb
|
splatbl a, tb
|
||||||
x4 convubw a_wide, a
|
x4 convubw a_wide, a
|
||||||
x4 mullw a_wide, a_wide, alpha
|
x4 mullw a_wide, a_wide, alpha
|
||||||
|
Loading…
x
Reference in New Issue
Block a user