Blender
V5.3
source
blender
gpu
shaders
infos
gpu_index_load_infos.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2022 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#ifdef GPU_SHADER
12
# pragma once
13
# include "
gpu_shader_compat.hh
"
14
15
# include "
GPU_shader_shared.hh
"
16
#endif
17
18
#ifdef GLSL_CPP_STUBS
19
# define GPU_INDEX_LOAD
20
#endif
21
22
#include "
gpu_shader_create_info.hh
"
23
24
GPU_SHADER_CREATE_INFO
(gpu_index_buffer_load)
25
PUSH_CONSTANT
(
bool
, gpu_index_no_buffer)
26
PUSH_CONSTANT
(
bool
, gpu_index_16bit)
27
PUSH_CONSTANT
(
int
, gpu_index_base_index)
28
STORAGE_BUF_FREQ
(
GPU_SSBO_INDEX_BUF_SLOT
, read, uint, gpu_index_buf[], GEOMETRY)
29
DEFINE
(
"GPU_INDEX_LOAD"
)
30
GPU_SHADER_CREATE_END
()
GPU_shader_shared.hh
gpu_shader_compat.hh
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
Definition
gpu_shader_create_info.cc:661
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
Definition
gpu_shader_create_info.cc:669
gpu_shader_create_info.hh
GPU_SSBO_INDEX_BUF_SLOT
#define GPU_SSBO_INDEX_BUF_SLOT
Definition
gpu_shader_create_info.hh:46
STORAGE_BUF_FREQ
#define STORAGE_BUF_FREQ(slot, qualifiers, type_name, name, freq)
Definition
gpu_shader_create_info.hh:166
PUSH_CONSTANT
#define PUSH_CONSTANT(type, name)
Definition
gpu_shader_create_info.hh:156
DEFINE
#define DEFINE(name)
Definition
gpu_shader_create_info.hh:201
Generated on
for Blender by
doxygen
1.18.0