mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
zink: add a define for the "default" optimal key
Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
This commit is contained in:
parent
9e0e6708ed
commit
1f08a6dcdb
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ union zink_shader_key_optimal {
|
|||
uint32_t val;
|
||||
};
|
||||
|
||||
/* the default key has only last_vertex_stage set*/
|
||||
#define ZINK_SHADER_KEY_OPTIMAL_DEFAULT (1<<0)
|
||||
|
||||
static inline const struct zink_fs_key_base *
|
||||
zink_fs_key_base(const struct zink_shader_key *key)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue