Mesa (master): lima: add support for gl_PointSize

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 6 02:02:09 UTC 2019


Module: Mesa
Branch: master
Commit: 65a5b24aeea34b370cd38083ccbbd38efcac1d4e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65a5b24aeea34b370cd38083ccbbd38efcac1d4e

Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date:   Fri Nov  1 19:23:57 2019 -0700

lima: add support for gl_PointSize

GP handles gl_PointSize similar to gl_Position, i.e. it needs
separate buffer and it has special type in varying descriptors, also
for indexed draw we need to emit special PLBU command to pass
address of gl_PointSize buffer.

Blob also clamps gl_PointSize to 1 .. 100 (as well as line width),
so let's do the same.

Reviewed-by: Andreas Baierl <ichgeh at imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>

---

 .gitlab-ci/deqp-lima-fails.txt          | 708 --------------------------------
 .gitlab-ci/deqp-lima-skips.txt          |   1 -
 src/gallium/drivers/lima/ir/gp/nir.c    |  19 +-
 src/gallium/drivers/lima/lima_context.h |   6 +-
 src/gallium/drivers/lima/lima_draw.c    |  94 +++--
 src/gallium/drivers/lima/lima_program.c |   1 +
 src/gallium/drivers/lima/lima_screen.c  |   2 +-
 7 files changed, 90 insertions(+), 741 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=65a5b24aeea34b370cd38083ccbbd38efcac1d4e



More information about the mesa-commit mailing list