i965/fs: Extend back-end interface for limiting the shader dispatch width.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 21:39:52 +0000 (14:39 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:06 +0000 (23:29 -0700)
commit37fd13ee2daf1dbd80cc7b43f7dcfdd1bb64bcc7
treea389965fb31e3b5b88b7f9d5af70634f74eeb2e6
parent2d288cb9ea5b1b46eb4fe0061d694560bf54943f
i965/fs: Extend back-end interface for limiting the shader dispatch width.

This replaces the current fs_visitor::no16() interface with
fs_visitor::limit_dispatch_width(), which takes an additional
parameter allowing the caller to specify the maximum dispatch width a
shader can be compiled with.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
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