gallium/postprocessing: fix shader parsing
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 20:29:12 +0000 (22:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 21:31:22 +0000 (23:31 +0200)
commitc84e8d039ec9c7532b25757012aa3828f4f8a70d
treee54e3e1d7d28b3f129e83b69775e25f7bdda76a2
parentc40f8d087a30d4a2cc452a64e4567bea9ffdb3c5
gallium/postprocessing: fix shader parsing

tokens was converted to a pointer, which made the Elements macro return 1.

Broken by e87fc11cac696881469a57955af2ac7b4929a2c7.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/postprocess/pp_run.c