i965/gen6/gs: Use a specific implementation of geometry shaders for gen6.
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 1 Jul 2014 10:43:59 +0000 (12:43 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Sep 2014 13:01:16 +0000 (15:01 +0200)
commitd2c2ca9ee81dd1bd9139e8820f5d696ba9f2e430
tree73faeb9b83b9adc66ad259ecc9f38a021fe0786c
parent3a4aee34a24a7af7cc2f2a75ca4f5eae533b6f88
i965/gen6/gs: Use a specific implementation of geometry shaders for gen6.

In gen6 we will use the geometry shader implementation from gen6_gs_visitor.cpp
and keep the implementation in brw_vec4_gs_visitor.cpp for gen7+. Notice that
gen6_gs_visitor inherits from brw_vec4_gs_visitor so it is not a completely
seprate implementation of geometry shaders.

Also, gen6 does not support multiple dispatch modes, its default operation mode
is equivalent to gen7's SINGLE mode, so select that in gen6 for consistency.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp