vl: add half pixel to v_tex before adding offsets
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Tue, 5 Jul 2016 18:17:56 +0000 (23:47 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 8 Jul 2016 18:51:12 +0000 (20:51 +0200)
commitaf18a047557944abb91dc409c5a32e6b2911d132
treec57d0a35c96f4f3c7cfd1ed0aa450303ab1c5dad
parenta0bf1768c7131a5d9a23c5177e7b9d7a0267ef6c
vl: add half pixel to v_tex before adding offsets

Since pixel center lies at 0.5, add half_pixel to vtex
before adding offsets to it.

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_bicubic_filter.c