Blender
V5.3
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.hh
"
17
18
#include "
GPU_shader.hh
"
19
#include "
GPU_storage_buffer.hh
"
20
21
namespace
blender
{
22
28
void
GPU_compute_dispatch
(
gpu::Shader
*
shader
,
29
uint
groups_x_len,
30
uint
groups_y_len,
31
uint
groups_z_len,
32
const
gpu::shader::SpecializationConstants
*constants_state =
nullptr
);
33
51
void
GPU_compute_dispatch_indirect
(
52
gpu::Shader
*
shader
,
53
gpu::StorageBuf
*indirect_buf,
54
const
gpu::shader::SpecializationConstants
*constants_state =
nullptr
);
55
56
}
// namespace blender
BLI_sys_types.hh
GPU_shader.hh
GPU_storage_buffer.hh
blender::gpu::Shader
Definition
gpu_shader_private.hh:52
blender::gpu::StorageBuf
Definition
gpu_storage_buffer_private.hh:28
blender::gpu::shader
Definition
GPU_common_types.hh:92
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::uint
unsigned int uint
Definition
BKE_text.h:55
blender::GPU_compute_dispatch
void GPU_compute_dispatch(gpu::Shader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len, const gpu::shader::SpecializationConstants *constants_state=nullptr)
Definition
gpu_compute.cc:16
blender::GPU_compute_dispatch_indirect
void GPU_compute_dispatch_indirect(gpu::Shader *shader, gpu::StorageBuf *indirect_buf_, const gpu::shader::SpecializationConstants *constants_state)
Definition
gpu_compute.cc:30
blender::gpu::shader::SpecializationConstants
Definition
GPU_common_types.hh:243
Generated on
for Blender by
doxygen
1.18.0