Add considering of initial value when compare state 60/81260/4
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Sun, 24 Jul 2016 18:17:36 +0000 (02:17 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Thu, 4 Aug 2016 10:12:19 +0000 (03:12 -0700)
commit55d3f920b0c3721076d2cf19be0ed342f99ad5d0
treec262d0ff2c373dca8ade2ab35f757becadffbf99
parentceb93b1683d5dddeafbee295502d23dffc412e20
Add considering of initial value when compare state

Initial value of each state can be possible the same
with the variable which it is going to compare
with, it blocks caller from calling of GPU Verndor GL Driver's mistaken

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I8ecfb62a4679f34d3925ba41ddad52892183f16d
src/modules/fastpath/coregl_fastpath.c
src/modules/fastpath/coregl_fastpath.h
src/modules/fastpath/coregl_fastpath_egl.c
src/modules/fastpath/coregl_fastpath_gl.c