OSDN Git Service

i915: Make hw_prim[] const
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Jun 2014 23:38:41 +0000 (02:38 +0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit79fcf8bb0df18f79b199fda7b253729e664462cd
tree811001c1f4e0b0965ee6fc4f2b86b9fc79ea009e
parent2bc4723f3d0112508236c318d8c3ca6b639dd201
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>
src/mesa/drivers/dri/i915/intel_render.c