nir: Recognize open-coded extract_u16.
authorMatt Turner <mattst88@gmail.com>
Wed, 3 Feb 2016 22:28:31 +0000 (14:28 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 4 Mar 2016 19:52:34 +0000 (11:52 -0800)
commit905ff861982450831a56d112036f68a751337441
treed9c5cbe152f71d02d2490e5d2cdea48856aafd4f
parent76289fbfa84a06ef4db8ad44ea0eb88ad0be8d5c
nir: Recognize open-coded extract_u16.

No shader-db changes, but does recognize some extract_u16 which enables
the next patch to optimize some code.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir_opt_algebraic.py