intel/fs: add support for Eu/Thread/Lane id
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 18 Jun 2021 11:12:03 +0000 (14:12 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Feb 2022 12:55:24 +0000 (12:55 +0000)
commit61c9b7a82e99892cfcd70fedb2a4fd3fdd795256
tree4c9b7f95df0edf1ab6d672502c04c6662c9dcd05
parent3dabe9325762d6e0492261b18b496c3d152c250c
intel/fs: add support for Eu/Thread/Lane id

This index will be used for accessing ray query data in memory.

v2: Drop a MOV (Caio)

v3: Rework back code emission (Caio)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs_nir.cpp