drisw: fix up context and apis for software context
authorDave Airlie <airlied@gmail.com>
Sun, 9 Dec 2012 10:28:56 +0000 (20:28 +1000)
committerDave Airlie <airlied@gmail.com>
Sun, 9 Dec 2012 10:28:56 +0000 (20:28 +1000)
commit157f5d043afe8cf7f47baa7b29cf6dfc756feb40
treec3609729f86b97b40c0413acb43110a6ec112265
parentbd87441ac028068f422e2c96b39f93644a0f246f
drisw: fix up context and apis for software context

This ports over from the dri2 code to the drisw bits. It means 3.1
core contexts now work for softpipe.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/common/drisw_util.c