i965/gen6/gs: Setup SOL surfaces for user-provided geometry shaders
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 18 Jul 2014 09:16:14 +0000 (11:16 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Sep 2014 13:01:16 +0000 (15:01 +0200)
commit28a7da612b4a3f822df293e50bf043782eca1cb8
treefe9f4e1b33c5f6608c241db13fad5e3ab529bbb2
parentfda4470944762dddaff249ea36d6e21aa5f8e2ca
i965/gen6/gs: Setup SOL surfaces for user-provided geometry shaders

Update gen6_gs_binding_table and gen6_sol_surface to use user-provided
geometry program information when present. This is necessary to implement
transform feedback support.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/gen6_sol.c