mesa/main/ff_frag: Use gl_texture_object::TargetIndex.
authorGustaw Smolarczyk <wielkiegie@gmail.com>
Thu, 30 Mar 2017 18:09:27 +0000 (20:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 8 Apr 2017 18:29:58 +0000 (20:29 +0200)
commit885012aab26ab293fe71f242d4379758a72c5ce0
treebc3026a77e29d931217e37c3a9584b27fc14589a
parenta86891a9a90d53cc0c333b28b45187cae9ee7bc4
mesa/main/ff_frag: Use gl_texture_object::TargetIndex.

Instead of computing it once again using _mesa_tex_target_to_index.

Signed-off-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/ff_fragment_shader.cpp