nir: fix definition of pack_uvec2_to_uint
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Sep 2016 02:46:13 +0000 (22:46 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 7 Sep 2016 02:45:44 +0000 (22:45 -0400)
commit8c8874eafbe5f7cbb5d413ae1be660c9f001ced5
tree782f2e4863b6fb64a0ccce7c73fc821a7c999f02
parentc42acd93d47452eec492400d1f3e7c66dd9bb672
nir: fix definition of pack_uvec2_to_uint

Found by inspection. Untested beyond compilation. This also matches the
logic used in nir_lower_alu_to_scalar.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/nir/nir_opcodes.py