OSDN Git Service

nir/search: Use the nir_imm_* helpers from nir_builder
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 19:08:13 +0000 (14:08 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 16:45:29 +0000 (11:45 -0500)
commit4cd8a58595969e38254aeb0306b2408f80795700
tree7396e7956b5f13b141cfc09e557f1bf143246e71
parent6e32115bd673221420fbdf1500c60dcda402622d
nir/search: Use the nir_imm_* helpers from nir_builder

This requires that we rework the interface a bit to use nir_builder but
that's a nice little modernization anyway.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_algebraic.py
src/compiler/nir/nir_search.c
src/compiler/nir/nir_search.h