mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
e2220ee55e
commit
f48b699654
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue