Blender V4.5
GPU_compute.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
13
14#pragma once
15
16#include "BLI_sys_types.h"
17
18#include "GPU_shader.hh"
19#include "GPU_storage_buffer.hh"
20
27 GPUShader *shader,
28 uint groups_x_len,
29 uint groups_y_len,
30 uint groups_z_len,
31 const blender::gpu::shader::SpecializationConstants *constants_state = nullptr);
32
51 GPUShader *shader,
52 GPUStorageBuf *indirect_buf,
53 const blender::gpu::shader::SpecializationConstants *constants_state = nullptr);
unsigned int uint
void GPU_compute_dispatch(GPUShader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len, const blender::gpu::shader::SpecializationConstants *constants_state=nullptr)
void GPU_compute_dispatch_indirect(GPUShader *shader, GPUStorageBuf *indirect_buf_, const blender::gpu::shader::SpecializationConstants *constants_state)