freedreno/ir3: support load_base_instance
authorJonathan Marek <jonathan@marek.ca>
Sun, 17 Nov 2019 17:17:47 +0000 (12:17 -0500)
committerJonathan Marek <jonathan@marek.ca>
Thu, 19 Dec 2019 20:13:40 +0000 (15:13 -0500)
commita3a70588c0a9a72255a69428af4a5ff22544d275
tree1cefe4ecbe3316fbdc452376d28654f60e4223b5
parent5c17d9b9ca57269bae5376c64b83432af21ae522
freedreno/ir3: support load_base_instance

Not supported by hardware, uses same mechanism as base vertex.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3162>
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_context.h
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_shader.h