xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/r600_sfn.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /* -*- mesa-c++  -*-
2  * Copyright 2019 Collabora LTD
3  * Author: Gert Wollny <[email protected]>
4  * SPDX-License-Identifier: MIT
5  */
6 
7 #ifndef R600_SFN_H
8 #define R600_SFN_H
9 
10 #include "r600_pipe.h"
11 #include "r600_shader.h"
12 #include "pipe/p_screen.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 char *
19 r600_finalize_nir(struct pipe_screen *screen, void *shader);
20 
21 int
22 r600_shader_from_nir(struct r600_context *rctx,
23                      struct r600_pipe_shader *pipeshader,
24                      union r600_shader_key *key);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif // R600_SFN_H
31