Nebula
Loading...
Searching...
No Matches
vkbarrier.cc File Reference
#include "vkbarrier.h"
#include "coregraphics/config.h"
#include "vktypes.h"
#include "vktexture.h"
#include "vkbuffer.h"

Classes

struct  CoreGraphics::BarrierStackEntry

Namespaces

namespace  Vulkan
 Vulkan implementation of GPU acceleration structure.
namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.

Macros

#define NEBULA_BARRIER_INSERT_MARKER   0

Functions

const VkBarrierInfoVulkan::BarrierGetVk (const CoreGraphics::BarrierId id)
 Get Vulkan info.
BarrierId CoreGraphics::CreateBarrier (const BarrierCreateInfo &info)
 create barrier object
void CoreGraphics::DestroyBarrier (const BarrierId id)
 destroy barrier object
void CoreGraphics::BarrierReset (const BarrierId id)
 reset resources previously set in barrier
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< TextureBarrierInfo, true > &textures, const Util::FixedArray< BufferBarrierInfo, true > &buffers)
 Push barrier to stack.
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< TextureBarrierInfo, true > &textures)
 Push barrier to stack.
void CoreGraphics::BarrierPush (const CoreGraphics::CmdBufferId buf, CoreGraphics::PipelineStage fromStage, CoreGraphics::PipelineStage toStage, CoreGraphics::BarrierDomain domain, const Util::FixedArray< BufferBarrierInfo, true > &buffers)
 Push barrier to stack.
void CoreGraphics::BarrierPop (const CoreGraphics::CmdBufferId buf)
 pop barrier, reverses the from-to stages and any access flags in the buffers and texture barriers
void CoreGraphics::BarrierRepeat (const CoreGraphics::CmdBufferId buf)
 repeat barrier in queue

Variables

VkBarrierAllocator Vulkan::barrierAllocator (0x00FFFFFF)
static Util::Stack< BarrierStackEntryCoreGraphics::BarrierStack

Macro Definition Documentation

◆ NEBULA_BARRIER_INSERT_MARKER

#define NEBULA_BARRIER_INSERT_MARKER   0