galahad: fix indirect draw
authorRoland Scheidegger <sroland@vmware.com>
Tue, 30 Sep 2014 17:25:09 +0000 (19:25 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 1 Oct 2014 00:17:24 +0000 (02:17 +0200)
commit9750ae8ca91fd089a4affe6577265e77852ad548
tree97f45598bbba07bbd8d8b47259b88c2c1a505ee4
parente3da8c110c06c6f0c797bf6a6ab91d482092b93c
galahad: fix indirect draw

Need to unwrap the indirect resource otherwise bad things will happen.

Fixes random crashes and timeouts with piglit's arb_indirect_draw tests.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/galahad/glhd_context.c