OSDN Git Service

i965/vs: Always store pull constant offsets in GRFs on Gen8.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 16 Dec 2012 08:02:43 +0000 (00:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Dec 2013 21:19:10 +0000 (13:19 -0800)
commit93658054c03b4463d301be83b20c8933e49a5771
tree6b5a07568a28c0cc0bd0ea3ffd6515f44b02cbe1
parentdd159f25e484d2285773347b66f82719b6bfa01a
i965/vs: Always store pull constant offsets in GRFs on Gen8.

We need to SEND from a GRF, and we can only obtain those prior to
register allocation.

This allows us to do pull constant loads without the MRF hack.

v2: Reword comments (suggested by Paul).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp