panfrost: Use ctx->active_prim in panfrost_writes_point_size()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 6 Mar 2020 10:43:38 +0000 (11:43 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commit093da77ce68dd7c57e330f817f51ffa63e99783d
treeea500c089051a800a74a78e364d6256fb8dcb0df
parentd66ef690d127a37e6832c1d0e9fee0f48e2c6232
panfrost: Use ctx->active_prim in panfrost_writes_point_size()

Check ctx->active_prim instead of prefix.draw_mode so we can eventually
get rid of ctx->payloads.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
src/gallium/drivers/panfrost/pan_context.c