OSDN Git Service

nir: Use nir_builder in nir_lower_io's get_io_offset().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Aug 2015 18:26:34 +0000 (11:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Aug 2015 02:29:39 +0000 (19:29 -0700)
commitab83be590d4b45f50461a004b672f7640a4d8f53
treed820fabec3657b84aff434ee3e35e8519341b556
parented2afec3fc2210ee737216981a41df8a396b11f6
nir: Use nir_builder in nir_lower_io's get_io_offset().

Much more readable.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_lower_io.c