i965: Make it possible to create a cfg_t without a backend_visitor.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Nov 2012 01:30:46 +0000 (17:30 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 03:52:34 +0000 (19:52 -0800)
commitcd0acb1abe4c2c3120acf18f594210989bd8ec2e
tree7121d6edefe13e09260a8f5bfb75a7d28e560f8f
parent4d09fe938e72b26d814b6b52caee5112cf6f1103
i965: Make it possible to create a cfg_t without a backend_visitor.

All we really need is a memory context and the instruction list; passing
a backend_visitor is just convenient at times.

This will be necessary two patches from now.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_cfg.cpp
src/mesa/drivers/dri/i965/brw_cfg.h