freedreno/ir3: add support for a650 tess shared storage
authorJonathan Marek <jonathan@marek.ca>
Mon, 6 Jul 2020 02:53:39 +0000 (22:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 8 Jul 2020 02:30:23 +0000 (02:30 +0000)
commitf472c9844309f20b19f179cffc84c00a561c8f70
tree869a475c085e208220ca577a9e83a7226765eb67
parent75b59bb1d6573bd7b16758e528a265623889e551
freedreno/ir3: add support for a650 tess shared storage

A650 uses LDL/STL, and the "local_primitive_id" in tess ctrl shader comes
from bits 16-21 in the header instead of 0-5.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5764>
src/freedreno/ir3/ir3_compiler.c
src/freedreno/ir3/ir3_compiler.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h
src/freedreno/ir3/ir3_nir_lower_tess.c