lima: add support for gl_PointSize

Graphics / Mesa 3D Graphics Library / Mesa - Vasily Khoruzhick [gmail.com] - 6 November 2019 01:44 EST

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.

65a5b24aeea lima: add support for gl_PointSize
.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(-)

Upstream: cgit.freedesktop.org


  • Share