OSDN Git Service

i965/fs: Refactor setup_payload_gen6 to assume FS
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 11 Feb 2016 05:20:01 +0000 (21:20 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 11 Feb 2016 23:07:20 +0000 (15:07 -0800)
commitae3543950c93ec4ac179013cb1c7baaf6f5ef4a7
tree19563a5755dc0b102f8b531db7092ff7173be38b
parentd759f0ddf10543def4bde985fb1fc38f0df5a681
i965/fs: Refactor setup_payload_gen6 to assume FS

It's extremely FS specific so the fact that we have a stage check in the
middle of it is rather bogus.  While were here, we rename
setup_payload_gen4 and setup_payload_gen6 to make it obvious that they are
both FS specific.

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_wm_iz.cpp