i965/fs: Import surface message builder helper functions.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 30 Apr 2015 16:31:44 +0000 (19:31 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:49 +0000 (14:12 +0300)
commit1aab58f39450213ea2ac43549eefb8acd1e6584a
treefc17069cf0c64e90da93354fe5d1511a5723eb22
parent03846696ce2deaaaff42b2acd7745b51a7f115f2
i965/fs: Import surface message builder helper functions.

Implement helper functions that can be used to construct and send
untyped and typed surface read, write and atomic messages to the
shared dataport unit easily.

v2: Drop VEC4 suport.
v3: Reimplement in terms of logical send opcodes.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_fs_surface_builder.h [new file with mode: 0644]