nir/spirv: Handle OpLine and OpNoLine in foreach_instruction
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jan 2016 02:44:44 +0000 (18:44 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jan 2016 03:00:00 +0000 (19:00 -0800)
commit891564adb90f090e0c635a30fb947baa0291703c
treeabde6f59ac08514b6887873fd25f512bb1e8bbd2
parente79f8a4926dc79e32531f705b2db3bbd2d3984f4
nir/spirv: Handle OpLine and OpNoLine in foreach_instruction

This way we don't have to explicitly handle them everywhere.
src/glsl/nir/spirv/spirv_to_nir.c
src/glsl/nir/spirv/vtn_private.h