• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright © 2024 Collabora Ltd.
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #ifndef PANVK_BLEND_H
7 #define PANVK_BLEND_H
8 
9 #include <stdbool.h>
10 
11 #include "util/hash_table.h"
12 #include "util/simple_mtx.h"
13 
14 #include "pan_blend.h"
15 
16 #include "panvk_macros.h"
17 #include "panvk_mempool.h"
18 
19 struct panvk_cmd_buffer;
20 
21 #ifdef PAN_ARCH
22 
23 struct panvk_blend_info {
24    bool any_dest_read;
25    bool needs_shader;
26    bool shader_loads_blend_const;
27 };
28 
29 VkResult panvk_per_arch(blend_emit_descs)(struct panvk_cmd_buffer *cmdbuf,
30                                           struct mali_blend_packed *bds);
31 
32 #endif
33 
34 #endif
35