intel: Minimal calculation of pixel hash table for arbitrary number of pixel pipes.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 6 Oct 2021 21:42:18 +0000 (14:42 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 11 Jan 2022 02:28:35 +0000 (18:28 -0800)
commit170468b4fee457770bcb8db8fec58dd7d657fce4
tree8d5f1a3ac9773974b334324992015d0b233be733
parent68cb551b1d5ea315c89da0f990a2b93d693801ed
intel: Minimal calculation of pixel hash table for arbitrary number of pixel pipes.

This starts off with the simplest possible pixel hashing table
calculation that just assigns consecutive indices (modulo N) to
adjacent entries of the table, along the lines of the existing
intel_compute_pixel_hash_table().  The same function will be improved
in a future commit with a more optimal calculation.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13569>
src/intel/common/intel_pixel_hash.h