virgl: Fix relocating the re-writing the transformation code
authorGert Wollny <gert.wollny@collabora.com>
Wed, 13 Apr 2022 09:59:20 +0000 (11:59 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 13 Apr 2022 10:02:17 +0000 (12:02 +0200)
commita30ff9056147352e9537a97072232f942d502bb4
tree11ca0a158f77e1d907e5b133c303ae74613b2804
parentb7111f89e8213315d4d5f66dee2551bac8af46b1
virgl: Fix relocating the re-writing the transformation code

The transformation must come before the code emission.

Fixes: 6a264e7024a29eb7
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15919>
src/gallium/drivers/virgl/virgl_tgsi.c