i965/fs: Expose arbitrary pull constant load sizes to the IR.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 9 Dec 2016 04:05:18 +0000 (20:05 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 15 Dec 2016 00:50:26 +0000 (16:50 -0800)
commit9b22a0d295316b7547667ebbfe1e1b6182439186
tree16ad3ba1442bb9b0830796be623e885563778e82
parent7a6aadb76ff3f6ef73216b53b0dc5edda5bae978
i965/fs: Expose arbitrary pull constant load sizes to the IR.

Change the FS generator to ask the dataport for enough owords worth of
constants to fill the execution size of the instruction -- Which means
that the visitor now needs to set the execution size correctly for
uniform pull constant load instructions, which we were kind of
neglecting until now.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp