i965: Push UBO data, but don't use it just yet.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Nov 2016 10:47:15 +0000 (02:47 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Jul 2017 03:18:30 +0000 (20:18 -0700)
commit4f586cd8f19a598a0f61f361840a358a7f99eaa0
tree48b56301fd1bf422d1a554f402211c7015bc789b
parent6834b1ebe34aaa4b65e342556894e88826c839da
i965: Push UBO data, but don't use it just yet.

This patch starts uploading UBO data via 3DSTATE_CONSTANT_* packets,
and updates the compiler to know that there's extra payload data, so
things continue working.  However, it still issues pull loads for all
data.  I wanted to separate the two aspects for greater bisectability.

v2: Update for new intel_bufferobj_buffer parameter.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c