i965: Drop brwBindProgram driver hook.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Sep 2014 18:12:34 +0000 (11:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 1 Oct 2014 08:05:41 +0000 (01:05 -0700)
commit106e0db7697a9ffaa6085fcb6205bb9d911e669d
tree97a481958f7f19511661ffb604d472d017c29d05
parente25a453b7fc655badf8e389616a2c67b0c26633e
i965: Drop brwBindProgram driver hook.

This function flagged BRW_NEW_*_PROGRAM

When ctx->{Vertex,Geometry,Fragment}Program._Current changes, core Mesa
calls the BindProgram driver hook, which flagged BRW_NEW_*_PROGRAM.

However, brw_upload_state also checks for that changing, sets the same
flags, and also updates brw->fragment_program and so on.  So, this looks
to be entirely redundant.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_program.c