i965/gs/gen6: Refactor ir_emit_vertex and ir_end_primitive for gen6
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 13 Jul 2015 13:51:17 +0000 (15:51 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit7eced3aa863394c6e74ac3f037ed1cf9c481fe37
tree8263f8772964afe41d325b8d30d99e93fb282a84
parent1836201fde1826c82f579fb132455c8df4176ecd
i965/gs/gen6: Refactor ir_emit_vertex and ir_end_primitive for gen6

So the implementation is independent of GLSL IR and the visit methods of the
gen6 GS visitor. This way we will be able to reuse that implementation directly
from the NIR vec4 backend.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
src/mesa/drivers/dri/i965/gen6_gs_visitor.h