i965: Move get_hw_prim_for_gl_prim to brw_util.c
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Oct 2015 03:40:28 +0000 (20:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Apr 2016 01:08:47 +0000 (18:08 -0700)
commit061969f9dd0dcaa2cd0c412fedc6ef159dcaf8b0
tree96e3380d6aabc2200c58dc8b2d829e822bb2eda0
parent339335811580c522d6ff66878bc40e662739c47b
i965: Move get_hw_prim_for_gl_prim to brw_util.c

It's used by brw_compile_gs in brw_vec4_gs_visitor.cpp so it needs to be in
a file that's linked into libi965_compiler.la.

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