Blender V4.3
vk_push_constants.cc File Reference
#include "vk_push_constants.hh"
#include "vk_backend.hh"
#include "vk_context.hh"
#include "vk_memory_layout.hh"
#include "vk_shader.hh"
#include "vk_shader_interface.hh"
#include "vk_storage_buffer.hh"
#include "vk_uniform_buffer.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

template<typename LayoutT >
static VKPushConstants::Layout::PushConstant blender::gpu::init_constant (const shader::ShaderCreateInfo::PushConst &push_constant, const ShaderInput &shader_input, uint32_t *r_offset)
 
template<typename LayoutT >
uint32_t blender::gpu::struct_size (Span< shader::ShaderCreateInfo::PushConst > push_constants)
 
template<typename LayoutT >
void blender::gpu::init_struct (const shader::ShaderCreateInfo &info, const VKShaderInterface &interface, Vector< VKPushConstants::Layout::PushConstant > &r_struct, uint32_t *r_offset)