zink: add zink_rast_prim enum

Adds an enum with primitives that are natively by vulkan

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21238>
This commit is contained in:
antonino 2023-02-21 10:37:57 +01:00 committed by Marge Bot
parent e2220ee55e
commit f48b699654

View file

@ -716,6 +716,13 @@ struct zink_shader_info {
bool have_vulkan_memory_model;
};
enum zink_rast_prim {
ZINK_PRIM_POINTS,
ZINK_PRIM_LINES,
ZINK_PRIM_TRIANGLES,
ZINK_PRIM_MAX,
};
struct zink_shader {
struct util_live_shader base;
uint32_t hash;