i965/fs: Refactor control flow stack handling.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 20 Feb 2011 00:12:28 +0000 (16:12 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Feb 2011 18:52:44 +0000 (10:52 -0800)
commitdf2aef0e197f9276f60a8e755260420c90841269
treec553c6c931796045d73fd616e8a5b53a341429f0
parent2c2686b912de19a430aba9f5ea5fa679eabdc5c6
i965/fs: Refactor control flow stack handling.

We can't safely use fixed size arrays since Gen6+ supports unlimited
nesting of control flow.

NOTE: This is a candidate for the 7.10 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp