i965/vec4: Import surface message builder functions.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 1 Aug 2015 14:15:36 +0000 (17:15 +0300)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:22 +0000 (08:39 +0200)
commitf17c6b90660f4e156e76f4fa333af86cda2a0125
tree525d5f9aa624eb31dcf93a84185e4dffcde71860
parentd5503ce39ffb056de8d3c9c78870aa7f1b3432d2
i965/vec4: Import surface message builder 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.

v2: Split from the FS implementation.
v3: Rewrite to avoid evil array_reg, emit_collect and emit_zip.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_vec4_surface_builder.cpp
src/mesa/drivers/dri/i965/brw_vec4_surface_builder.h