nir/builder: Move nir_imm_vec2 from blorp into the builder
authorKarol Herbst <kherbst@redhat.com>
Fri, 29 Mar 2019 23:53:42 +0000 (00:53 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commitdaaf777376303077f9fd4c72e602b8892fe1caaf
treeb55185ebfa2340c9069caa5b11c070804f1c051a
parent606b74035e6c97cbee2efaeff235892770ab7cc0
nir/builder: Move nir_imm_vec2 from blorp into the builder

While we're here, fix a typo which caused it to actually return a vec4
with the third and fourth components zero.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_builder.h
src/intel/blorp/blorp_blit.c