nir: Add opcodes to extract bytes or words.
authorMatt Turner <mattst88@gmail.com>
Thu, 21 Jan 2016 17:09:29 +0000 (09:09 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 25 Jan 2016 22:24:07 +0000 (14:24 -0800)
commit26f0444ead45bd9d5f7fbbca6292b284f382ecd6
treedcdb4422be3dd61dd665f62f9f13baf39499b0f2
parent26b2cc6f3a23d9e9047c9735d20e3fbcf2291ac2
nir: Add opcodes to extract bytes or words.

The uint versions zero extend while the int versions sign extend.
src/glsl/nir/nir.h
src/glsl/nir/nir_opcodes.py
src/glsl/nir/nir_opt_algebraic.py