nir/algebraic: Add missing 16-bit extract_[iu]8 patterns
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 28 Feb 2019 04:15:32 +0000 (20:15 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 9 Mar 2019 06:24:19 +0000 (22:24 -0800)
commit18e4bf65de2be6c20faa09985e7db55b1b8813bf
treedaa59bfe36681e6e91d36ead059b9b5db1f3331e
parent55c1ac4b753d48fa2d97172216202264313e76b7
nir/algebraic: Add missing 16-bit extract_[iu]8 patterns

No shader-db changes on any Intel platform.

v2: Use a loop to generate patterns.  Suggested by Jason.

Reviewed-by: Matt Turner <mattst88@gmail.com> [v1]
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_algebraic.py