Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::WaveOpProperties Struct Reference

Wave operation properties. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const WaveOpProperties &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

Uint32 MinSize = 0
 Minimum supported size of the wave.
 
Uint32 MaxSize = 0
 Maximum supported size of the wave.
 
SHADER_TYPE SupportedStages = SHADER_TYPE_UNKNOWN
 Shader stages in which wave operations can be used.
 
WAVE_FEATURE Features = WAVE_FEATURE_UNKNOWN
 Indicates which groups of wave operations are supported by this device.
 

Detailed Description

Wave operation properties.

Member Function Documentation

◆ operator==()

bool Diligent::WaveOpProperties::operator== ( const WaveOpProperties & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.

Member Data Documentation

◆ MaxSize

Uint32 Diligent::WaveOpProperties::MaxSize = 0

Maximum supported size of the wave.

If variable wave size is not supported then this value is equal to MinSize. Direct3D12 backend: requires shader model 6.6. Vulkan backend: requires VK_EXT_subgroup_size_control.