mesa/src
Abdiel Janulgue fc65b6eb61 i965: Upload binding tables in hw-generated binding table format.
When hardware-generated binding tables are enabled, use the hw-generated
binding table format when uploading binding table state.

Normally, the CS will will just consume the binding table pointer commands
as pipelined state. When the RS is enabled however, the RS flushes whatever
edited surface state entries of our on-chip binding table to the binding
table pool before passing the command on to the CS.

Note that the the binding table pointer offset is relative to the binding table
pool base address when resource streamer instead of the surface state base address.

v2: Fix possible buffer overflow when allocating a chunk out of the
    hw-binding table pool (Ken).
v3: Remove extra newline and add missing brace around if-statement (Matt).
v4: Fix broken INTEL_DEBUG=shader_time for hw-generated binding tables.
    Document PRM WaStateBindingTableOverfetch workaround.

Cc: kenneth@whitecape.org
Cc: mattst88@gmail.com
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
2015-07-18 16:16:59 +03:00
..
egl egl/dri2: load libglapi.0.dylib on osx 2015-07-08 13:19:33 +01:00
gallium vc4: Switch to using a separate ioctl for making shaders. 2015-07-17 22:11:56 -07:00
gbm mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
getopt
glsl nir: add nir_foreach_instr_safe_reverse() 2015-07-17 09:49:53 -07:00
glx dri3_open: don't leak the reply 2015-07-11 20:48:53 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: don't leak udev_enumerate 2015-07-11 20:49:25 +01:00
mapi mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
mesa i965: Upload binding tables in hw-generated binding table format. 2015-07-18 16:16:59 +03:00
util mesa: Detect and provide macros for function attributes pure and const. 2015-07-17 12:25:54 -07:00
Makefile.am mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
SConscript scons: Don't build loader on Windows. 2015-03-25 10:42:35 +00:00