st/mesa: mark constant array of swizzles as static const
authorNils Wallménius <nils.wallmenius@gmail.com>
Thu, 22 Jan 2015 19:47:28 +0000 (20:47 +0100)
committerChris Forbes <chrisf@ijw.co.nz>
Tue, 3 Feb 2015 20:07:13 +0000 (09:07 +1300)
commitcfb5b1c59eb42a7a1c0972aa1947050b2e04ba9b
tree391a4c24529c79b29d6f506d73bc617cef614c25
parent0ed3bffc0850758924c86509b6135dbe2f017a52
st/mesa: mark constant array of swizzles as static const

This saves about 0.5k in the text section for a gallium driver
on amd64.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp