mesa/src/intel
Matt Turner a4f0a96dda brw: Avoid reading past the end of p->store
On the last iteration of the loop, `offset` will point to the location
just beyond the last instruction in the program. If the program exactly
fills `p->store` then calling `next_offset()` will read out of bounds.

Instead just let the inner while loop call `next_offset()` one
additional time.

Fixes: a35b9cb625 ("i965: Add annotation data structure and support code.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12486
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33101>
2025-01-21 22:58:55 +00:00
..
blorp blorp: disable PS shaders with depth/stencil HiZ ops 2025-01-18 17:52:19 +00:00
ci glx: fix glx-create-context-invalid-es-version 2025-01-21 14:33:13 +00:00
common intel/tests: Fix missing assignment of error condition 2025-01-03 00:53:49 +00:00
compiler brw: Avoid reading past the end of p->store 2025-01-21 22:58:55 +00:00
decoder intel/decoder: Avoid duplicate symbols when expat is not available 2025-01-08 18:58:35 +00:00
dev intel: Set correct maxComputeSharedMemorySize for Xe3+ 2025-01-07 07:06:09 +00:00
ds intel : Expose Shader hashes for utrace and Perfetto 2025-01-10 17:38:16 +00:00
executor intel/executor: Add example using scalar register and send gather 2024-12-13 02:18:15 +00:00
genxml intel/genxml: define MEMORYADDRESSATTRIBUTES for Gen12.5 with TILEF 2025-01-10 21:45:04 +00:00
isl isl: disable aux when creating uncompressed TileY/Tile64 surfaces from compressed ones 2024-12-23 19:33:36 +00:00
nullhw-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf intel/perf: add new perf consts to support more metrics 2025-01-16 00:01:56 +00:00
shaders intel: fix generation shader on Gfx9 2025-01-09 18:12:47 +00:00
tools intel/hang_replay: remove EXEC_OBJECT_WRITE 2024-10-04 21:37:41 +00:00
vulkan anv: remove print lowering 2025-01-17 18:09:46 +00:00
vulkan_hasvk intel : Expose Shader hashes for utrace and Perfetto 2025-01-10 17:38:16 +00:00
meson.build intel: Add executor tool 2024-08-14 03:03:46 +00:00