i965/gs: Refactor ir_emit_vertex and ir_end_primitive
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 29 Jun 2015 11:37:31 +0000 (13:37 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit7ade42755f8900aaf67073214c073419f734e7a8
tree4afab31b9fcd564f5acbdccf09feb180d3d91f65
parent38fc4a91cd5c04fdd5921b8776f8e203513ab517
i965/gs: Refactor ir_emit_vertex and ir_end_primitive

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

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp