Blender
V5.0
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
17
# define GPU_INDEX_LOAD
18
#endif
19
20
#include "
gpu_shader_create_info.hh
"
21
22
GPU_SHADER_CREATE_INFO
(gpu_index_buffer_load)
23
PUSH_CONSTANT
(
bool
, gpu_index_no_buffer)
24
PUSH_CONSTANT
(
bool
, gpu_index_16bit)
25
PUSH_CONSTANT
(
int
, gpu_index_base_index)
26
STORAGE_BUF_FREQ
(
GPU_SSBO_INDEX_BUF_SLOT
,
read
,
uint
, gpu_index_buf[], GEOMETRY)
27
DEFINE
(
"GPU_INDEX_LOAD"
)
28
GPU_SHADER_CREATE_END
()
uint
unsigned int uint
Definition
BLI_sys_types.h:64
GPU_shader_shared.hh
gpu_shader_compat.hh
GPU_SHADER_CREATE_INFO
#define GPU_SHADER_CREATE_INFO(_info)
GPU_SHADER_CREATE_END
#define GPU_SHADER_CREATE_END()
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:164
PUSH_CONSTANT
#define PUSH_CONSTANT(type, name)
Definition
gpu_shader_create_info.hh:154
DEFINE
#define DEFINE(name)
Definition
gpu_shader_create_info.hh:197
read
read
Definition
subdiv_infos.hh:279
Generated on
for Blender by
doxygen
1.16.1