mesa/src/intel
Kenneth Graunke d832209a78 blorp: Fix compute-blits for rectangles not aligned to the workgroup
When dispatching compute shaders to do a blit, our destination rectangle
may not line up perfectly with the workgroup size.  For example, we may
round the left x0 coordinate down to a multiple of the workgroup width,
and the right x1 coordinate up to the next multiple of the workgroup
width.  Similarly for y0/y1 and workgroup height.  This means that we
may dispatch additional invocations which should not actually do any
blitting.  We need to set key->uses_kill to bounds check and drop those.

Caught by Piglit's arb_copy_image-simple when forcing iris to perform
resource_copy_region via BLOCS and running with INTEL_DEBUG=norbc on
Icelake.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13524>
2021-11-30 12:30:50 +00:00
..
blorp blorp: Fix compute-blits for rectangles not aligned to the workgroup 2021-11-30 12:30:50 +00:00
common intel/dev: Add platform enum with DG2 G10 & G11 2021-11-15 21:39:27 +00:00
compiler intel/compiler: Prepare disasm for 16-bit sampler params 2021-11-22 21:27:30 -08:00
dev intel/dev: Add platform enum with DG2 G10 & G11 2021-11-15 21:39:27 +00:00
ds intel: move timestamp scaling helper to intel/perf 2021-11-22 11:52:46 +00:00
genxml intel/genxml: Decode VALIGN/HALIGN values in XY_BLOCK_COPY_BLT 2021-11-16 11:38:30 +00:00
isl intel/dev: Add platform enum with DG2 G10 & G11 2021-11-15 21:39:27 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel: move timestamp scaling helper to intel/perf 2021-11-22 11:52:46 +00:00
tools intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
vulkan anv: fix execbuf syncobjs/syncobj_values array leak 2021-11-24 17:29:46 +00:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build pps: Intel pps driver 2021-05-18 14:28:48 +00:00