mesa/src
Kenneth Graunke 933223db3c intel: Make the decoder handle STATE_BASE_ADDRESS not being a buffer.
Normally, i965 programs STATE_BASE_ADDRESS every batch, and puts all
state for a given base in a single buffer.

I'm working on a prototype which emits STATE_BASE_ADDRESS only once at
startup, where each base address is a fixed 4GB region of the PPGTT.
State may live in many buffers in that 4GB region, even if there isn't
a buffer located at the actual base address itself.

To handle this, we need to save the STATE_BASE_ADDRESS values across
multiple batches, rather than assuming we'll see the command each time.
Then, each time we see a pointer, we need to ask the driver for the BO
map for that data.  (We can't just use the map for the base address, as
state may be in multiple buffers, and there may not even be a buffer
at the base address to map.)

v2: Fix things caught in review by Lionel:
 - Drop bogus bind_bo.size check.
 - Drop "get the BOs again" code - we just get the BOs as needed
 - Add a message about interface descriptor data being unavailable

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-07-25 14:43:47 -07:00
..
amd nir: rename f2f16_undef to f2f16 2018-07-24 20:40:05 +02:00
broadcom python: Use range() instead of xrange() 2018-07-24 11:07:04 -07:00
compiler nir: Add a couple of iand/ior optimizations 2018-07-24 20:39:43 -07:00
egl egl: Fix missing clamping in eglSetDamageRegionKHR 2018-07-24 14:46:21 +01:00
gallium r600: Scale integer valued texture border colors to float (v2) 2018-07-25 08:58:33 +02:00
gbm meson: Remove various completed todos 2018-06-13 10:07:03 -07:00
getopt
glx glx: Don't allow glXMakeContextCurrent() with only one valid drawable 2018-07-09 12:03:18 -04:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel: Make the decoder handle STATE_BASE_ADDRESS not being a buffer. 2018-07-25 14:43:47 -07:00
loader dri3: Stricter SBC wraparound handling 2018-05-22 17:59:53 +02:00
mapi python: Use range() instead of xrange() 2018-07-24 11:07:04 -07:00
mesa st/nir: Fix st_nir_opts() prototype. 2018-07-25 10:19:41 -07:00
util python: Better check for keys in dicts 2018-07-24 11:07:04 -07:00
vulkan vulkan/wsi: fix incorrect assignment in assert() 2018-07-25 20:55:35 +01:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am egl: rewire the build systems to use libwayland-egl 2018-06-06 12:11:57 -07:00
meson.build meson: only build mesa_st tests when build-tests is true 2018-04-24 14:08:15 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00