SDL  2.0
VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo:

Public Member Functions

VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo (VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_={}, uint32_t semaphoreCount_={}, const VULKAN_HPP_NAMESPACE::Semaphore *pSemaphores_={}, const uint64_t *pValues_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo (SemaphoreWaitInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SemaphoreWaitInfo (VkSemaphoreWaitInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
 SemaphoreWaitInfo (VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const VULKAN_HPP_NAMESPACE::Semaphore > const &semaphores_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint64_t > const &values_={})
 
SemaphoreWaitInfooperator= (VkSemaphoreWaitInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfooperator= (SemaphoreWaitInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetFlags (VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetSemaphoreCount (uint32_t semaphoreCount_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetPSemaphores (const VULKAN_HPP_NAMESPACE::Semaphore *pSemaphores_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetSemaphores (VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const VULKAN_HPP_NAMESPACE::Semaphore > const &semaphores_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetPValues (const uint64_t *pValues_) VULKAN_HPP_NOEXCEPT
 
SemaphoreWaitInfosetValues (VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint64_t > const &values_) VULKAN_HPP_NOEXCEPT
 
 operator VkSemaphoreWaitInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSemaphoreWaitInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SemaphoreWaitInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SemaphoreWaitInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreWaitInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags = {}
 
uint32_t semaphoreCount = {}
 
const VULKAN_HPP_NAMESPACE::SemaphorepSemaphores = {}
 
const uint64_tpValues = {}
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreWaitInfo
 

Detailed Description

Definition at line 47266 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SemaphoreWaitInfo() [1/4]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::SemaphoreWaitInfo ( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags  flags_ = {},
uint32_t  semaphoreCount_ = {},
const VULKAN_HPP_NAMESPACE::Semaphore pSemaphores_ = {},
const uint64_t pValues_ = {} 
)
inline

Definition at line 47272 of file vulkan.hpp.

47272  {}, uint32_t semaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pSemaphores_ = {}, const uint64_t* pValues_ = {}) VULKAN_HPP_NOEXCEPT
47273  : flags( flags_ ), semaphoreCount( semaphoreCount_ ), pSemaphores( pSemaphores_ ), pValues( pValues_ )
47274  {}
unsigned int uint32_t
unsigned long long uint64_t
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF base if bpp PF set rept prefetch_distance PF set OFFSET endr endif endm macro preload_leading_step2 base if bpp ifc DST PF PF else if bpp lsl PF PF lsl PF PF lsl PF PF PF else PF lsl PF lsl PF lsl PF endif SIZE macro preload_middle scratch_holds_offset if bpp if else PF PF endif endif endif endm macro preload_trailing base if bpp if bpp *pix_per_block PF PF lsl PF PF PF PF PF else PF lsl PF lsl PF PF PF PF PF base if bpp if narrow_case &&bpp<=dst_w_bpp) PF bic, WK0, base, #31 PF pld,[WK0] PF add, WK1, base, X, LSL #bpp_shift PF sub, WK1, WK1, #1 PF bic, WK1, WK1, #31 PF cmp, WK1, WK0 PF beq, 90f PF pld,[WK1]90:.else PF bic, WK0, base, #31 PF pld,[WK0] PF add, WK1, base, X, lsl #bpp_shift PF sub, WK1, WK1, #1 PF bic, WK1, WK1, #31 PF cmp, WK1, WK0 PF beq, 92f91:PF add, WK0, WK0, #32 PF cmp, WK0, WK1 PF pld,[WK0] PF bne, 91b92:.endif .endif.endm.macro conditional_process1_helper cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx process_head cond, numbytes, firstreg, unaligned_src, unaligned_mask, 0 .if decrementx sub &cond X, X, #8 *numbytes/dst_w_bpp .endif process_tail cond, numbytes, firstreg .if !((flags) &FLAG_PROCESS_DOES_STORE) pixst cond, numbytes, firstreg, DST .endif.endm.macro conditional_process1 cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx .if(flags) &FLAG_BRANCH_OVER .ifc cond, mi bpl 100f .endif .ifc cond, cs bcc 100f .endif .ifc cond, ne beq 100f .endif conditional_process1_helper, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx100:.else conditional_process1_helper cond, process_head, process_tail, numbytes, firstreg, unaligned_src, unaligned_mask, decrementx .endif.endm.macro conditional_process2 test, cond1, cond2, process_head, process_tail, numbytes1, numbytes2, firstreg1, firstreg2, unaligned_src, unaligned_mask, decrementx .if(flags) &(FLAG_DST_READWRITE|FLAG_BRANCH_OVER|FLAG_PROCESS_CORRUPTS_PSR|FLAG_PROCESS_DOES_STORE) test conditional_process1 cond1, process_head, process_tail, numbytes1, firstreg1, unaligned_src, unaligned_mask, decrementx .if(flags) &FLAG_PROCESS_CORRUPTS_PSR test .endif conditional_process1 cond2, process_head, process_tail, numbytes2, firstreg2, unaligned_src, unaligned_mask, decrementx .else test process_head cond1, numbytes1, firstreg1, unaligned_src, unaligned_mask, 0 process_head cond2, numbytes2, firstreg2, unaligned_src, unaligned_mask, 0 .if decrementx sub &cond1 X, X, #8 *numbytes1/dst_w_bpp sub &cond2 X, X, #8 *numbytes2/dst_w_bpp .endif process_tail cond1, numbytes1, firstreg1 process_tail cond2, numbytes2, firstreg2 pixst cond1, numbytes1, firstreg1, DST pixst cond2, numbytes2, firstreg2, DST .endif.endm.macro test_bits_1_0_ptr .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 movs SCRATCH, X, lsl #32-1 .else movs SCRATCH, WK0, lsl #32-1 .endif.endm.macro test_bits_3_2_ptr .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 movs SCRATCH, X, lsl #32-3 .else movs SCRATCH, WK0, lsl #32-3 .endif.endm.macro leading_15bytes process_head, process_tail .set DECREMENT_X, 1 .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 .set DECREMENT_X, 0 sub X, X, WK0, lsr #dst_bpp_shift str X,[sp, #LINE_SAVED_REG_COUNT *4] mov X, WK0 .endif .if dst_w_bpp==8 conditional_process2 test_bits_1_0_ptr, mi, cs, process_head, process_tail, 1, 2, 1, 2, 1, 1, DECREMENT_X .elseif dst_w_bpp==16 test_bits_1_0_ptr conditional_process1 cs, process_head, process_tail, 2, 2, 1, 1, DECREMENT_X .endif conditional_process2 test_bits_3_2_ptr, mi, cs, process_head, process_tail, 4, 8, 1, 2, 1, 1, DECREMENT_X .if(flags) &FLAG_PROCESS_CORRUPTS_WK0 ldr X,[sp, #LINE_SAVED_REG_COUNT *4] .endif.endm.macro test_bits_3_2_pix movs SCRATCH, X, lsl #dst_bpp_shift+32-3.endm.macro test_bits_1_0_pix .if dst_w_bpp==8 movs SCRATCH, X, lsl #dst_bpp_shift+32-1 .else movs SCRATCH, X, lsr #1 .endif.endm.macro trailing_15bytes process_head, process_tail, unaligned_src, unaligned_mask conditional_process2 test_bits_3_2_pix, cs, mi, process_head, process_tail, 8, 4, 0, 2, unaligned_src, unaligned_mask, 0 .if dst_w_bpp==16 test_bits_1_0_pix conditional_process1 cs, process_head, process_tail, 2, 0, unaligned_src, unaligned_mask, 0 .elseif dst_w_bpp==8 conditional_process2 test_bits_1_0_pix, cs, mi, process_head, process_tail, 2, 1, 0, 1, unaligned_src, unaligned_mask, 0 .endif.endm.macro wide_case_inner_loop process_head, process_tail, unaligned_src, unaligned_mask, dst_alignment110:.set SUBBLOCK, 0 .rept pix_per_block *dst_w_bpp/128 process_head, 16, 0, unaligned_src, unaligned_mask, 1 .if(src_bpp > 0) &&(mask_bpp==0) &&((flags) &FLAG_PROCESS_PRESERVES_SCRATCH) preload_middle src_bpp, SRC, 1 .elseif(src_bpp==0) &&(mask_bpp > 0) &&((flags) &FLAG_PROCESS_PRESERVES_SCRATCH) preload_middle mask_bpp, MASK, 1 .else preload_middle src_bpp, SRC, 0 preload_middle mask_bpp, MASK, 0 .endif .if(dst_r_bpp > 0) &&((SUBBLOCK % 2)==0) &&(((flags) &FLAG_NO_PRELOAD_DST)==0) PF pld,[DST, #32 *prefetch_distance - dst_alignment] .endif process_tail, 16, 0 .if !((flags) &FLAG_PROCESS_DOES_STORE) pixst, 16, 0, DST .endif .set SUBBLOCK, SUBBLOCK+1 .endr subs X, X, #pix_per_block bhs 110b.endm.macro wide_case_inner_loop_and_trailing_pixels process_head, process_tail, process_inner_loop, exit_label, unaligned_src, unaligned_mask .if dst_r_bpp > tst bne process_inner_loop DST_PRELOAD_BIAS endif preload_trailing SRC preload_trailing MASK DST endif add medium_case_inner_loop_and_trailing_pixels unaligned_mask endm macro medium_case_inner_loop_and_trailing_pixels DST endif subs bhs tst beq exit_label trailing_15bytes unaligned_mask endm macro narrow_case_inner_loop_and_trailing_pixels unaligned_mask tst conditional_process1 trailing_15bytes unaligned_mask endm macro switch_on_alignment exit_label if bne endif if bne endif action if endif if bne endif action if endif endif endm macro end_of_line last_one if SINGLE_SCANLINE ifc b endif else if vars_spilled word LINE_SAVED_REGS endif subs if vars_spilled endif endif add STRIDE_D if src_bpp add STRIDE_S endif if mask_bpp add STRIDE_M endif if restore_x mov ORIG_W endif bhs loop_label ifc if vars_spilled b else b endif else flags_
VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags
Definition: vulkan.hpp:47395
const VULKAN_HPP_NAMESPACE::Semaphore * pSemaphores
Definition: vulkan.hpp:47397
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ SemaphoreWaitInfo() [2/4]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::SemaphoreWaitInfo ( SemaphoreWaitInfo const &  rhs)
default

◆ SemaphoreWaitInfo() [3/4]

VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::SemaphoreWaitInfo ( VkSemaphoreWaitInfo const &  rhs)
inline

Definition at line 47278 of file vulkan.hpp.

47279  {
47280  *this = rhs;
47281  }

◆ SemaphoreWaitInfo() [4/4]

VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::SemaphoreWaitInfo ( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags  flags_,
VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const VULKAN_HPP_NAMESPACE::Semaphore > const &  semaphores_,
VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint64_t > const &  values_ = {} 
)
inline

Definition at line 47284 of file vulkan.hpp.

47284  {} )
47285  : flags( flags_ ), semaphoreCount( static_cast<uint32_t>( semaphores_.size() ) ), pSemaphores( semaphores_.data() ), pValues( values_.data() )
47286  {
47287 #ifdef VULKAN_HPP_NO_EXCEPTIONS
47288  VULKAN_HPP_ASSERT( semaphores_.size() == values_.size() );
47289 #else
47290  if ( semaphores_.size() != values_.size() )
47291  {
47292  throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::SemaphoreWaitInfo::SemaphoreWaitInfo: semaphores_.size() != values_.size()" );
47293  }
47294 #endif /*VULKAN_HPP_NO_EXCEPTIONS*/
47295  }
T * data() const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:519
uint32_t size() const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:514
#define VULKAN_HPP_ASSERT
Definition: vulkan.hpp:57
#define VULKAN_HPP_NAMESPACE_STRING
Definition: vulkan.hpp:213

Member Function Documentation

◆ operator VkSemaphoreWaitInfo &()

VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator VkSemaphoreWaitInfo & ( )
inline

Definition at line 47365 of file vulkan.hpp.

47366  {
47367  return *reinterpret_cast<VkSemaphoreWaitInfo*>( this );
47368  }

◆ operator VkSemaphoreWaitInfo const &()

VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator VkSemaphoreWaitInfo const & ( ) const
inline

Definition at line 47360 of file vulkan.hpp.

47361  {
47362  return *reinterpret_cast<const VkSemaphoreWaitInfo*>( this );
47363  }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator!= ( SemaphoreWaitInfo const &  rhs) const
inline

Definition at line 47384 of file vulkan.hpp.

47385  {
47386  return !operator==( rhs );
47387  }
bool operator==(SemaphoreWaitInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:47374

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator= ( SemaphoreWaitInfo const &  rhs)
inline

Definition at line 47305 of file vulkan.hpp.

47306  {
47307  memcpy( static_cast<void *>( this ), &rhs, sizeof( SemaphoreWaitInfo ) );
47308  return *this;
47309  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo(VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_={}, uint32_t semaphoreCount_={}, const VULKAN_HPP_NAMESPACE::Semaphore *pSemaphores_={}, const uint64_t *pValues_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:47272

References memcpy.

◆ operator=() [2/2]

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator= ( VkSemaphoreWaitInfo const &  rhs)
inline

Definition at line 47299 of file vulkan.hpp.

47300  {
47301  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo const *>( &rhs );
47302  return *this;
47303  }

◆ operator==()

bool VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::operator== ( SemaphoreWaitInfo const &  rhs) const
inline

Definition at line 47374 of file vulkan.hpp.

47375  {
47376  return ( sType == rhs.sType )
47377  && ( pNext == rhs.pNext )
47378  && ( flags == rhs.flags )
47379  && ( semaphoreCount == rhs.semaphoreCount )
47380  && ( pSemaphores == rhs.pSemaphores )
47381  && ( pValues == rhs.pValues );
47382  }
GLbitfield flags
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:47393

◆ setFlags()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setFlags ( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags  flags_)
inline

Definition at line 47317 of file vulkan.hpp.

47318  {
47319  flags = flags_;
47320  return *this;
47321  }

References flags_.

◆ setPNext()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setPNext ( const void pNext_)
inline

Definition at line 47311 of file vulkan.hpp.

47312  {
47313  pNext = pNext_;
47314  return *this;
47315  }

◆ setPSemaphores()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setPSemaphores ( const VULKAN_HPP_NAMESPACE::Semaphore pSemaphores_)
inline

Definition at line 47329 of file vulkan.hpp.

47330  {
47331  pSemaphores = pSemaphores_;
47332  return *this;
47333  }

◆ setPValues()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setPValues ( const uint64_t pValues_)
inline

Definition at line 47344 of file vulkan.hpp.

47345  {
47346  pValues = pValues_;
47347  return *this;
47348  }

◆ setSemaphoreCount()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setSemaphoreCount ( uint32_t  semaphoreCount_)
inline

Definition at line 47323 of file vulkan.hpp.

47324  {
47325  semaphoreCount = semaphoreCount_;
47326  return *this;
47327  }

◆ setSemaphores()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setSemaphores ( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const VULKAN_HPP_NAMESPACE::Semaphore > const &  semaphores_)
inline

Definition at line 47336 of file vulkan.hpp.

47337  {
47338  semaphoreCount = static_cast<uint32_t>( semaphores_.size() );
47339  pSemaphores = semaphores_.data();
47340  return *this;
47341  }

References VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< T >::data(), and VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< T >::size().

◆ setValues()

SemaphoreWaitInfo& VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::setValues ( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint64_t > const &  values_)
inline

Definition at line 47351 of file vulkan.hpp.

47352  {
47353  semaphoreCount = static_cast<uint32_t>( values_.size() );
47354  pValues = values_.data();
47355  return *this;
47356  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::allowDuplicate = false
static

Definition at line 47268 of file vulkan.hpp.

◆ flags

VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::flags = {}

Definition at line 47395 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::pNext = {}

Definition at line 47394 of file vulkan.hpp.

◆ pSemaphores

const VULKAN_HPP_NAMESPACE::Semaphore* VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::pSemaphores = {}

Definition at line 47397 of file vulkan.hpp.

◆ pValues

const uint64_t* VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::pValues = {}

Definition at line 47398 of file vulkan.hpp.

◆ semaphoreCount

uint32_t VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::semaphoreCount = {}

Definition at line 47396 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::structureType = StructureType::eSemaphoreWaitInfo
static

Definition at line 47269 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo::sType = StructureType::eSemaphoreWaitInfo

Definition at line 47393 of file vulkan.hpp.


The documentation for this struct was generated from the following file: