mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
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:
parent
05f6e9f11e
commit
9d981a4c5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue