commit | e06238cb9e50e3b994d5abac921ad800692a90af | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sat Nov 07 18:48:55 2015 -0500 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Sat Nov 07 18:58:58 2015 -0500 |
tree | cf6abe99fff241428a4946ae0328e0d9876b3d65 | |
parent | af218217d71152df8562b7f087086197f28080fe [diff] |
nv50/ir: fix emission of s[] args in certain situations There might only be a single arg (e.g. cvt), so use mode rather than looking at the source directly. Also we don't want to rely on the type of the value, which can be unreliable, but instead use the instruction's. This works out well since mkSplit doesn't adjust the type. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>