nir/builder: Add a nir_build_ivec4() convenience helper.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Jan 2016 21:32:44 +0000 (13:32 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Jan 2016 05:32:59 +0000 (21:32 -0800)
commitbb6612f06b8320911d9f86f7463f823e76969f15
tree4ef91bc1282360e75188539235c07ec8fb3f2289
parentcf96bce0ca8b2d6b5d4641efea1f2feedc024957
nir/builder: Add a nir_build_ivec4() convenience helper.

nir_build_ivec4 is more readable and succinct than using nir_build_imm
directly, even if you have C99.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/nir/nir_builder.h