i965/fs: Don't uniformize surface index twice
authorKristian Høgsberg Kristensen <krh@bitplanet.net>
Wed, 21 Oct 2015 06:16:51 +0000 (23:16 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Fri, 23 Oct 2015 16:42:28 +0000 (09:42 -0700)
commita19bf6d3ccbab6170ccfb7e04316a58f3e19396c
treee10d38d3d8e06201704e197d419dcd01967c3a39
parentaedc0aab19c233cc084211959ef2b6be1c500bb7
i965/fs: Don't uniformize surface index twice

The emit_untyped_read and emit_untyped_write helpers already uniformize
the surface index argument. No need to do it before calling them.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp