panfrost: properly lower DrawID sysval on v9 GPUs
We only use special DrawID register on v10 GPUs so we still need to
lower to sysval on any earlier generation.
Fixes commit f390835074
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30933>
This commit is contained in:

committed by
Marge Bot

parent
05f6e9f11e
commit
9d981a4c5b
@@ -90,7 +90,7 @@ sysval_for_intrinsic(nir_intrinsic_instr *intr, unsigned *offset)
|
||||
*offset = 8;
|
||||
return PAN_SYSVAL_VERTEX_INSTANCE_OFFSETS;
|
||||
|
||||
#if PAN_ARCH <= 7
|
||||
#if PAN_ARCH <= 9
|
||||
case nir_intrinsic_load_draw_id:
|
||||
return PAN_SYSVAL_DRAWID;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user