Blender
V5.0
source
blender
gpu
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
26
void
GPU_compute_dispatch
(
27
blender::gpu::Shader
*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
50
void
GPU_compute_dispatch_indirect
(
51
blender::gpu::Shader
*shader,
52
blender::gpu::StorageBuf
*indirect_buf,
53
const
blender::gpu::shader::SpecializationConstants
*constants_state =
nullptr
);
BLI_sys_types.h
uint
unsigned int uint
Definition
BLI_sys_types.h:64
GPU_compute_dispatch
void GPU_compute_dispatch(blender::gpu::Shader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len, const blender::gpu::shader::SpecializationConstants *constants_state=nullptr)
Definition
gpu_compute.cc:14
GPU_shader.hh
GPU_storage_buffer.hh
blender::gpu::Shader
Definition
gpu_shader_private.hh:43
blender::gpu::StorageBuf
Definition
gpu_storage_buffer_private.hh:28
GPU_compute_dispatch_indirect
void GPU_compute_dispatch_indirect(blender::gpu::Shader *shader, blender::gpu::StorageBuf *indirect_buf_, const blender::gpu::shader::SpecializationConstants *constants_state)
Definition
gpu_compute.cc:28
blender::gpu::shader::SpecializationConstants
Definition
GPU_common_types.hh:228
Generated on
for Blender by
doxygen
1.16.1