Like brw_do_cubemap_normalize in GLSL IR and the implementation in the TEXTURE_CUBE_INDEX case of brw_fs_fp.cpp, we need an implementation in NIR. Ken and I suspect this is currently broken with prog -> NIR. Filing a bug so we don't forget.
Jason went ahead and fixed this. commit 1bd1fc248ce5ecc6882309ab64ec61835fea1eda Author: Jason Ekstrand <jason.ekstrand@intel.com> Date: Thu Apr 2 17:04:28 2015 -0700 i965: Use brw_nir_cubemap_normalize for NIR shaders
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.