zink: Initialize primitive types to an invalid value
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Thu, 21 Sep 2023 17:14:20 +0000 (19:14 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 4 Oct 2023 23:20:52 +0000 (23:20 +0000)
commit3bf60f904b507df899ef48d4e14353e124af3bee
tree86d1be854be1002290a339baeab771c27941891c
parent867a995ce759a725b58d3fa23e5e319035b7e3f9
zink: Initialize primitive types to an invalid value

The memory is zero initialized which corresponds to MESA_PRIM_POINTS.

Fixes: 659c39f ("zink: rework primitive rasterization type logic")
Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25335>
src/gallium/drivers/zink/zink_context.c