xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/freedreno/a6xx/fd6_compute.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright © 2019 Rob Clark <[email protected]>
3  * SPDX-License-Identifier: MIT
4  *
5  * Authors:
6  *    Rob Clark <[email protected]>
7  */
8 
9 #ifndef FD6_COMPUTE_H_
10 #define FD6_COMPUTE_H_
11 
12 #include "pipe/p_context.h"
13 
14 struct fd6_compute_state {
15    void *hwcso;    /* ir3_shader_state */
16    struct ir3_shader_variant *v;
17    struct fd_ringbuffer *stateobj;
18    uint32_t user_consts_cmdstream_size;
19 };
20 
21 template <chip CHIP>
22 void fd6_compute_init(struct pipe_context *pctx);
23 
24 #endif /* FD6_COMPUTE_H_ */
25