Blender  V3.3
GPU_compute.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "BLI_sys_types.h"
10 
11 #include "GPU_shader.h"
12 #include "GPU_storage_buffer.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 void GPU_compute_dispatch(GPUShader *shader,
19  uint groups_x_len,
20  uint groups_y_len,
21  uint groups_z_len);
22 
23 void GPU_compute_dispatch_indirect(GPUShader *shader, GPUStorageBuf *indirect_buf);
24 
25 #ifdef __cplusplus
26 }
27 #endif
unsigned int uint
Definition: BLI_sys_types.h:67
void GPU_compute_dispatch_indirect(GPUShader *shader, GPUStorageBuf *indirect_buf)
Definition: gpu_compute.cc:21
void GPU_compute_dispatch(GPUShader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len)
Definition: gpu_compute.cc:11
struct GPUShader GPUShader
Definition: GPU_shader.h:20
struct GPUStorageBuf GPUStorageBuf