Blender V5.3
gpu_shader_create_info.cc File Reference
#include "BLI_map.hh"
#include "BLI_set.hh"
#include "BLI_string_ref.hh"
#include "BKE_global.hh"
#include "GPU_capabilities.hh"
#include "GPU_context.hh"
#include "GPU_platform.hh"
#include "GPU_shader.hh"
#include "gpu_shader_create_info.hh"
#include "gpu_shader_create_info_private.hh"
#include "gpu_shader_dependency_private.hh"
#include "glsl_compositor_infos_list.hh"
#include "glsl_draw_infos_list.hh"
#include "glsl_eevee_infos_list.hh"
#include "glsl_select_id_infos_list.hh"
#include "glsl_overlay_infos_list.hh"
#include "glsl_image_infos_list.hh"
#include "glsl_gpencil_infos_list.hh"
#include "glsl_workbench_infos_list.hh"
#include "glsl_gpu_infos_list.hh"
#include "glsl_ocio_infos_list.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu
namespace  blender::gpu::shader

Macros

#define GPU_SHADER_NAMED_INTERFACE_INFO(_interface, _inst_name)
#define GPU_SHADER_INTERFACE_INFO(_interface)
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_NAMED_INTERFACE_END(_inst_name)
#define GPU_SHADER_INTERFACE_END()
#define GPU_SHADER_CREATE_END()

Typedefs

using blender::gpu::shader::CreateInfoDictionary = Map<StringRef, ShaderCreateInfo *>
using blender::gpu::shader::InterfaceDictionary = Map<StringRef, StageInterfaceInfo *>

Functions

static void blender::init_compositor_infos ()
static void blender::init_draw_infos ()
static void blender::init_eevee_infos ()
static void blender::init_overlay_infos ()
static void blender::init_image_infos ()
static void blender::init_gpencil_infos ()
static void blender::init_workbench_infos ()
static void blender::init_gpu_infos ()
static void blender::init_ocio_infos ()
static void blender::init_osd_infos ()
void blender::gpu_shader_create_info_init ()
void blender::gpu_shader_create_info_exit ()
bool blender::gpu_shader_create_info_compile_all (const char *name_starts_with_filter)
const GPUShaderCreateInfo * blender::gpu_shader_create_info_get (const char *info_name)
Check Backend Support
static bool blender::gpu::shader::is_vulkan_compatible_interface (const StageInterfaceInfo &iface)

Variables

static CreateInfoDictionary * blender::gpu::shader::g_create_infos = nullptr
static InterfaceDictionary * blender::gpu::shader::g_interfaces = nullptr

Detailed Description

Descriptor type used to define shader structure, resources and interfaces.

Definition in file gpu_shader_create_info.cc.

Macro Definition Documentation

◆ GPU_SHADER_CREATE_END

◆ GPU_SHADER_CREATE_INFO

◆ GPU_SHADER_INTERFACE_END

#define GPU_SHADER_INTERFACE_END ( )
Value:
;

Definition at line 668 of file gpu_shader_create_info.cc.

◆ GPU_SHADER_INTERFACE_INFO

#define GPU_SHADER_INTERFACE_INFO ( _interface)
Value:
StageInterfaceInfo *ptr_##_interface = new StageInterfaceInfo(#_interface); \
StageInterfaceInfo &_interface = *ptr_##_interface; \
g_interfaces->add_new(#_interface, ptr_##_interface); \
_interface

Definition at line 655 of file gpu_shader_create_info.cc.

◆ GPU_SHADER_NAMED_INTERFACE_END

#define GPU_SHADER_NAMED_INTERFACE_END ( _inst_name)

◆ GPU_SHADER_NAMED_INTERFACE_INFO

#define GPU_SHADER_NAMED_INTERFACE_INFO ( _interface,
_inst_name )
Value:
StageInterfaceInfo *ptr_##_interface = new StageInterfaceInfo(#_interface, #_inst_name); \
StageInterfaceInfo &_interface = *ptr_##_interface; \
g_interfaces->add_new(#_interface, ptr_##_interface); \
_interface

Definition at line 649 of file gpu_shader_create_info.cc.

Referenced by ADDITIONAL_INFO(), CREATE_INFO_VARIANT(), CREATE_INFO_VARIANT(), and GPU_SHADER_NAMED_INTERFACE_INFO().