i965/fs/nir: implement nir_intrinsic_get_buffer_size
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 1 Jun 2015 07:45:51 +0000 (09:45 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:21 +0000 (08:39 +0200)
commitf5dd2c182275a9de57e5186491012c402a6248e0
treeada33cff839218eef7473d3cff808b200d1ecfeb
parentb23eb643ebab9ef250ce026a7e2f651de9be10f6
i965/fs/nir: implement nir_intrinsic_get_buffer_size

v2:
- Remove inst->regs_written assignment as the instruction only
  writes to one register.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp