Blender
V3.3
|
#include "BLI_map.hh"
#include "BLI_set.hh"
#include "BLI_string_ref.hh"
#include "GPU_capabilities.h"
#include "GPU_platform.h"
#include "GPU_shader.h"
#include "GPU_texture.h"
#include "gpu_shader_create_info.hh"
#include "gpu_shader_create_info_private.hh"
#include "gpu_shader_dependency_private.h"
#include "gpu_shader_create_info_list.hh"
Go to the source code of this file.
Namespaces | |
blender | |
blender::gpu | |
blender::gpu::shader | |
Macros | |
#define | GPU_SHADER_INTERFACE_INFO(_interface, _inst_name) |
#define | GPU_SHADER_CREATE_INFO(_info) |
Typedefs | |
using | blender::gpu::shader::CreateInfoDictionnary = Map< StringRef, ShaderCreateInfo * > |
using | blender::gpu::shader::InterfaceDictionnary = Map< StringRef, StageInterfaceInfo * > |
Functions | |
void | gpu_shader_create_info_init () |
void | gpu_shader_create_info_exit () |
bool | gpu_shader_create_info_compile_all () |
const GPUShaderCreateInfo * | gpu_shader_create_info_get (const char *info_name) |
Variables | |
static CreateInfoDictionnary * | blender::gpu::shader::g_create_infos = nullptr |
static InterfaceDictionnary * | blender::gpu::shader::g_interfaces = nullptr |
Descriptor type used to define shader structure, resources and interfaces.
Definition in file gpu_shader_create_info.cc.
#define GPU_SHADER_CREATE_INFO | ( | _info | ) |
#define GPU_SHADER_INTERFACE_INFO | ( | _interface, | |
_inst_name | |||
) |
Definition at line 329 of file gpu_shader_create_info.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), blender::gpu::shader::g_create_infos, GPU_compute_shader_support(), GPU_shader_create_from_info(), GPU_shader_free(), GPU_shader_image_load_store_support(), GPU_shader_storage_buffer_objects_support(), input, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by blender::gpu::shader_builder::ShaderBuilder::bake_create_infos().
Definition at line 316 of file gpu_shader_create_info.cc.
References blender::gpu::shader::g_create_infos, blender::gpu::shader::g_interfaces, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_exit().
const GPUShaderCreateInfo* gpu_shader_create_info_get | ( | const char * | info_name | ) |
Definition at line 408 of file gpu_shader_create_info.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::gpu::shader::g_create_infos, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
Referenced by blender::gpu::shader::ShaderCreateInfo::finalize(), GPU_shader_create_from_info_name(), and GPU_shader_create_info_get().
Definition at line 269 of file gpu_shader_create_info.cc.
References draw_modelmat, blender::gpu::shader::g_create_infos, blender::gpu::shader::g_interfaces, GPU_crappy_amd_driver(), GPU_DEVICE_ANY, GPU_DEVICE_INTEL, GPU_DEVICE_INTEL_UHD, GPU_DRIVER_ANY, GPU_OS_ANY, GPU_OS_MAC, blender::gpu::shader::gpu_shader_dependency_get_builtins(), GPU_type_matches(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by GPU_init().