summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_init.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-11-22 10:30:36 -0800
committerPaul Berry <[email protected]>2011-12-07 16:38:00 -0800
commitfcae281f067f933d95734a932e66d3111d9f2192 (patch)
tree6c76275fbf9961d1ddd74ab711dafb170571b984 /src/glx/indirect_init.c
parenta98ceee0ee3692783047c6f8f9f6bf6afbf4dd3b (diff)
i965 gs: Remove unnecessary mapping of key->primitive.
Previously, GS generation code contained a lookup table that mapped primitive types POLYGON, TRISTRIP, and TRIFAN to TRILIST, mapped LINESTRIP to LINELIST, and left all other primitives unchanged. This was silly, because we never generate a GS program for those primitive types anyhow. This patch removes the unnecessary lookup table. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/indirect_init.c')
0 files changed, 0 insertions, 0 deletions