mesa/src
Iago Toral Quiroga 88cbc4f7f6 v3d: emit 'Wait for transform feedback' commands when needed
The hardware can flush transform feedback writes before reads in the same
job by inserting this command.

This patch detects when the rendering state for the current draw call reads
resources that had been previously written by transform feedback in the
same job and inserts the 'Wait for transform feedback' command before
emitting the new draw.

v2 (Eric):
  - this was intended to look at job->tf_write_prscs for TF jobs.
  - clear job->tf_write_prscs after we emit the TF flush.
  - can skip flushes for fragment shader reads from TF.

v3 (Eric):
  - all resources in job->tf_write_prscs are resources written by TF so
   we don't need to check if they are bound to PIPE_BIND_STREAM_OUTPUT.
  - documented optimization opportunity for geometry stages.

Reviewed-by: Eric Anholt <eric@anholt.net>
2019-07-02 08:57:20 +02:00
..
amd radv: Only allocate supplied number of descriptors when variable. 2019-07-01 20:53:33 +02:00
broadcom nir: Add lower_rotate flag and set to true in all drivers 2019-07-01 10:14:22 -07:00
compiler nir: Add optimization to use ROR/ROL instructions 2019-07-01 10:14:22 -07:00
egl egl: simplify loop 2019-07-01 19:35:22 +01:00
etnaviv etnaviv: etnaviv_bo_cache_test: Use /dev/dri/renderD128 by default 2019-06-05 08:58:05 +00:00
freedreno nir: Add lower_rotate flag and set to true in all drivers 2019-07-01 10:14:22 -07:00
gallium v3d: emit 'Wait for transform feedback' commands when needed 2019-07-02 08:57:20 +02:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx glx: fix glvnd pointer types 2019-06-20 17:21:37 +01:00
gtest
hgl
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel intel/tools: Add assembler unit tests for ROL/ROR instructions 2019-07-01 10:14:22 -07:00
loader
mapi android: fix typo LOCAL_EXPORT_C_INCLUDES 2019-06-29 17:17:49 +02:00
mesa mesa/st: simplify format usage in st_bind_egl_image 2019-07-01 15:16:43 -07:00
panfrost panfrost: Extend software tiling to larger bpp 2019-07-01 07:40:19 -07:00
util util: add os_file_create_unique() 2019-06-28 23:37:49 +01:00
vulkan meson: drop duplicate source & inc_dir 2019-07-01 18:53:57 +01:00
meson.build lima,panfrost: Move lima_tiling.c/h to /src/panfrost 2019-06-20 08:06:35 -07:00
SConscript