Blender V4.3
vk_shader.cc File Reference
#include <sstream>
#include "GPU_capabilities.hh"
#include "vk_shader.hh"
#include "vk_backend.hh"
#include "vk_framebuffer.hh"
#include "vk_memory.hh"
#include "vk_shader_interface.hh"
#include "vk_shader_log.hh"
#include "vk_state_manager.hh"
#include "vk_vertex_attribute_object.hh"
#include "BLI_string_utils.hh"
#include "BLI_vector.hh"
#include "BKE_global.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

static std::string blender::gpu::main_function_wrapper (std::string &pre_main, std::string &post_main)
 
static std::string blender::gpu::combine_sources (Span< const char * > sources)
 
static Type blender::gpu::to_component_type (const Type &type)
 
static StageInterfaceInfoblender::gpu::find_interface_by_name (const Span< StageInterfaceInfo * > ifaces, const StringRefNull name)
 
static void blender::gpu::declare_emit_vertex (std::stringstream &ss)
 
Create Info
const char * blender::gpu::to_string (const shader::Interpolation &interp)
 
const char * blender::gpu::to_string (const shader::Type &type)
 
static const char * blender::gpu::to_string (const eGPUTextureFormat &type)
 
const char * blender::gpu::to_string (const shader::PrimitiveIn &layout)
 
const char * blender::gpu::to_string (const shader::PrimitiveOut &layout)
 
static const char * blender::gpu::to_string (const DepthWrite &value)
 
static void blender::gpu::print_image_type (std::ostream &os, const ImageType &type, const ShaderCreateInfo::Resource::BindType bind_type)
 
static std::ostream & blender::gpu::print_qualifier (std::ostream &os, const Qualifier &qualifiers)
 
static void blender::gpu::print_resource (std::ostream &os, const VKDescriptorSet::Location location, const ShaderCreateInfo::Resource &res)
 
static void blender::gpu::print_resource (std::ostream &os, const VKShaderInterface &shader_interface, const ShaderCreateInfo::Resource &res)
 
int blender::gpu::get_location_count (const Type &type)
 
static void blender::gpu::print_interface_as_attributes (std::ostream &os, const std::string &prefix, const StageInterfaceInfo &iface, int &location)
 
static void blender::gpu::print_interface_as_struct (std::ostream &os, const std::string &prefix, const StageInterfaceInfo &iface, int &location, const StringRefNull &suffix)
 
static void blender::gpu::print_interface (std::ostream &os, const std::string &prefix, const StageInterfaceInfo &iface, int &location, const StringRefNull &suffix="")