commit | bee160b31be9e09eeab83f62d26ac331f08955fa | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Apr 28 15:37:39 2016 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Sat May 14 13:34:25 2016 -0700 |
tree | e0446c57d900f30d17419758c3ea3b37c24ded4a | |
parent | 7be100ac9af52b1ab5e2c34b45aba0d66304d55a [diff] |
i965/fs: Organize prog_data by ksp number rather than SIMD width The hardware packets organize kernel pointers and GRF start by slots that don't map directly to dispatch width. This means that all of the state setup code has to re-arrange the data from prog_data into these slots. This logic has been duplicated 4 times in the GL driver and one more time in the Vulkan driver. Let's just put it all in brw_fs.cpp. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>