broadcom/cle: fix up viewport offset packet definition for V3D 4.1+
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 6 Jun 2023 08:38:26 +0000 (10:38 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 7 Jun 2023 18:40:56 +0000 (18:40 +0000)
commit78dc0bc58910fe5bae7d8a573e9ee64a0026f685
treeecad802596972b8754db12a3728f3e7bc0165997
parent84af2cb44ab56772d79bc60771162327f75f943d
broadcom/cle: fix up viewport offset packet definition for V3D 4.1+

These are split between fine and coarse coordinates. We have only been
using fine until now, so we kept the same naming convention we had
prior to V3D 4.1 for simplicity, but we will start using the coarse
coordinates soon too.

Also, the signedness was reversed: coarse coordinates are signed and
fine coordinates are unsigned.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23489>
src/broadcom/cle/v3d_packet_v33.xml
src/broadcom/vulkan/v3dvx_cmd_buffer.c
src/gallium/drivers/v3d/v3dx_emit.c