i915: Make hw_prim[] const
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 Mar 2015 12:47:28 +0000 (14:47 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Sep 2015 16:57:46 +0000 (09:57 -0700)
commitaae0c88797e7e44c55873b3e97cceed5c6e6cded
treea88a4364b60e26a25c86f9f63d1cba116fd319e9
parent84fec757de2f8c6ba47f2f56077993d62538711a
i915: Make hw_prim[] const

The table used to map the GL primitive to the hw primitive never
changes so make it const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/intel_render.c