i965: Add fs_visitor::run_vs() to generate scalar vertex shader code
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 28 Oct 2014 05:42:50 +0000 (22:42 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Dec 2014 20:29:19 +0000 (12:29 -0800)
commit8b6a797d743be38396fcaf4a2f7fb01d3bcd9ba3
tree3cb758bab96ccebfc650939b5001fbf2d001fa4d
parentbf2307937995212895375d1e258d50207da3d24e
i965: Add fs_visitor::run_vs() to generate scalar vertex shader code

This patch uses the previous refactoring to add a new run_vs() method
that generates vertex shader code using the scalar visitor and
optimizer.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp