Filter out functions Structure::setSType(), as the structure types are supposed to be immutable. (#60)

This commit is contained in:
Andreas Süßenbach 2017-01-30 17:08:49 +01:00 committed by Markus Tavenrath
parent ae2e22e506
commit 02404f397d
2 changed files with 21 additions and 486 deletions

View File

@ -2726,29 +2726,32 @@ void writeStructConstructor( std::ofstream & ofs, std::string const& name, Struc
void writeStructSetter( std::ofstream & ofs, std::string const& name, MemberData const& memberData, std::set<std::string> const& vkTypes ) void writeStructSetter( std::ofstream & ofs, std::string const& name, MemberData const& memberData, std::set<std::string> const& vkTypes )
{ {
ofs << " " << name << "& set" << static_cast<char>(toupper(memberData.name[0])) << memberData.name.substr(1) << "( "; if (memberData.type != "StructureType") // filter out StructureType, which is supposed to be immutable !
if ( memberData.arraySize.empty() )
{ {
ofs << memberData.type << " "; ofs << " " << name << "& set" << static_cast<char>(toupper(memberData.name[0])) << memberData.name.substr(1) << "( ";
} if (memberData.arraySize.empty())
else {
{ ofs << memberData.type << " ";
ofs << "std::array<" << memberData.type << "," << memberData.arraySize << "> "; }
} else
ofs << memberData.name << "_ )" << std::endl {
ofs << "std::array<" << memberData.type << "," << memberData.arraySize << "> ";
}
ofs << memberData.name << "_ )" << std::endl
<< " {" << std::endl; << " {" << std::endl;
if ( !memberData.arraySize.empty() ) if (!memberData.arraySize.empty())
{ {
ofs << " memcpy( &" << memberData.name << ", " << memberData.name << "_.data(), " << memberData.arraySize << " * sizeof( " << memberData.type << " ) )"; ofs << " memcpy( &" << memberData.name << ", " << memberData.name << "_.data(), " << memberData.arraySize << " * sizeof( " << memberData.type << " ) )";
} }
else else
{ {
ofs << " " << memberData.name << " = " << memberData.name << "_"; ofs << " " << memberData.name << " = " << memberData.name << "_";
} }
ofs << ";" << std::endl ofs << ";" << std::endl
<< " return *this;" << std::endl << " return *this;" << std::endl
<< " }" << std::endl << " }" << std::endl
<< std::endl; << std::endl;
}
} }
void writeTypeCommand(std::ofstream & ofs, VkData const& vkData, DependencyData const& dependencyData) void writeTypeCommand(std::ofstream & ofs, VkData const& vkData, DependencyData const& dependencyData)

View File

@ -5699,12 +5699,6 @@ namespace vk
return *this; return *this;
} }
ApplicationInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ApplicationInfo& setPNext( const void* pNext_ ) ApplicationInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -5798,12 +5792,6 @@ namespace vk
return *this; return *this;
} }
DeviceQueueCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DeviceQueueCreateInfo& setPNext( const void* pNext_ ) DeviceQueueCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -5893,12 +5881,6 @@ namespace vk
return *this; return *this;
} }
DeviceCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DeviceCreateInfo& setPNext( const void* pNext_ ) DeviceCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6018,12 +6000,6 @@ namespace vk
return *this; return *this;
} }
InstanceCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
InstanceCreateInfo& setPNext( const void* pNext_ ) InstanceCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6123,12 +6099,6 @@ namespace vk
return *this; return *this;
} }
MemoryAllocateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
MemoryAllocateInfo& setPNext( const void* pNext_ ) MemoryAllocateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6197,12 +6167,6 @@ namespace vk
return *this; return *this;
} }
MappedMemoryRange& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
MappedMemoryRange& setPNext( const void* pNext_ ) MappedMemoryRange& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6284,12 +6248,6 @@ namespace vk
return *this; return *this;
} }
WriteDescriptorSet& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
WriteDescriptorSet& setPNext( const void* pNext_ ) WriteDescriptorSet& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6410,12 +6368,6 @@ namespace vk
return *this; return *this;
} }
CopyDescriptorSet& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CopyDescriptorSet& setPNext( const void* pNext_ ) CopyDescriptorSet& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6526,12 +6478,6 @@ namespace vk
return *this; return *this;
} }
BufferViewCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
BufferViewCreateInfo& setPNext( const void* pNext_ ) BufferViewCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6624,12 +6570,6 @@ namespace vk
return *this; return *this;
} }
ShaderModuleCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ShaderModuleCreateInfo& setPNext( const void* pNext_ ) ShaderModuleCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6706,12 +6646,6 @@ namespace vk
return *this; return *this;
} }
DescriptorSetAllocateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DescriptorSetAllocateInfo& setPNext( const void* pNext_ ) DescriptorSetAllocateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6790,12 +6724,6 @@ namespace vk
return *this; return *this;
} }
PipelineVertexInputStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineVertexInputStateCreateInfo& setPNext( const void* pNext_ ) PipelineVertexInputStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6888,12 +6816,6 @@ namespace vk
return *this; return *this;
} }
PipelineInputAssemblyStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineInputAssemblyStateCreateInfo& setPNext( const void* pNext_ ) PipelineInputAssemblyStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -6969,12 +6891,6 @@ namespace vk
return *this; return *this;
} }
PipelineTessellationStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineTessellationStateCreateInfo& setPNext( const void* pNext_ ) PipelineTessellationStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7045,12 +6961,6 @@ namespace vk
return *this; return *this;
} }
PipelineViewportStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineViewportStateCreateInfo& setPNext( const void* pNext_ ) PipelineViewportStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7151,12 +7061,6 @@ namespace vk
return *this; return *this;
} }
PipelineRasterizationStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineRasterizationStateCreateInfo& setPNext( const void* pNext_ ) PipelineRasterizationStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7304,12 +7208,6 @@ namespace vk
return *this; return *this;
} }
PipelineDepthStencilStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineDepthStencilStateCreateInfo& setPNext( const void* pNext_ ) PipelineDepthStencilStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7442,12 +7340,6 @@ namespace vk
return *this; return *this;
} }
PipelineCacheCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineCacheCreateInfo& setPNext( const void* pNext_ ) PipelineCacheCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7537,12 +7429,6 @@ namespace vk
return *this; return *this;
} }
SamplerCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
SamplerCreateInfo& setPNext( const void* pNext_ ) SamplerCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7723,12 +7609,6 @@ namespace vk
return *this; return *this;
} }
CommandBufferAllocateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CommandBufferAllocateInfo& setPNext( const void* pNext_ ) CommandBufferAllocateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7807,12 +7687,6 @@ namespace vk
return *this; return *this;
} }
RenderPassBeginInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
RenderPassBeginInfo& setPNext( const void* pNext_ ) RenderPassBeginInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7903,12 +7777,6 @@ namespace vk
return *this; return *this;
} }
EventCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
EventCreateInfo& setPNext( const void* pNext_ ) EventCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -7967,12 +7835,6 @@ namespace vk
return *this; return *this;
} }
SemaphoreCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
SemaphoreCreateInfo& setPNext( const void* pNext_ ) SemaphoreCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8037,12 +7899,6 @@ namespace vk
return *this; return *this;
} }
FramebufferCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
FramebufferCreateInfo& setPNext( const void* pNext_ ) FramebufferCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8150,12 +8006,6 @@ namespace vk
return *this; return *this;
} }
DisplayModeCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DisplayModeCreateInfoKHR& setPNext( const void* pNext_ ) DisplayModeCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8224,12 +8074,6 @@ namespace vk
return *this; return *this;
} }
DisplayPresentInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DisplayPresentInfoKHR& setPNext( const void* pNext_ ) DisplayPresentInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8306,12 +8150,6 @@ namespace vk
return *this; return *this;
} }
AndroidSurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
AndroidSurfaceCreateInfoKHR& setPNext( const void* pNext_ ) AndroidSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8382,12 +8220,6 @@ namespace vk
return *this; return *this;
} }
MirSurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
MirSurfaceCreateInfoKHR& setPNext( const void* pNext_ ) MirSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8466,12 +8298,6 @@ namespace vk
return *this; return *this;
} }
WaylandSurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
WaylandSurfaceCreateInfoKHR& setPNext( const void* pNext_ ) WaylandSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8550,12 +8376,6 @@ namespace vk
return *this; return *this;
} }
Win32SurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
Win32SurfaceCreateInfoKHR& setPNext( const void* pNext_ ) Win32SurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8634,12 +8454,6 @@ namespace vk
return *this; return *this;
} }
XlibSurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
XlibSurfaceCreateInfoKHR& setPNext( const void* pNext_ ) XlibSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8718,12 +8532,6 @@ namespace vk
return *this; return *this;
} }
XcbSurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
XcbSurfaceCreateInfoKHR& setPNext( const void* pNext_ ) XcbSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8800,12 +8608,6 @@ namespace vk
return *this; return *this;
} }
DebugMarkerMarkerInfoEXT& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DebugMarkerMarkerInfoEXT& setPNext( const void* pNext_ ) DebugMarkerMarkerInfoEXT& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8872,12 +8674,6 @@ namespace vk
return *this; return *this;
} }
DedicatedAllocationImageCreateInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DedicatedAllocationImageCreateInfoNV& setPNext( const void* pNext_ ) DedicatedAllocationImageCreateInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -8936,12 +8732,6 @@ namespace vk
return *this; return *this;
} }
DedicatedAllocationBufferCreateInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DedicatedAllocationBufferCreateInfoNV& setPNext( const void* pNext_ ) DedicatedAllocationBufferCreateInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9001,12 +8791,6 @@ namespace vk
return *this; return *this;
} }
DedicatedAllocationMemoryAllocateInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DedicatedAllocationMemoryAllocateInfoNV& setPNext( const void* pNext_ ) DedicatedAllocationMemoryAllocateInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9075,12 +8859,6 @@ namespace vk
return *this; return *this;
} }
ExportMemoryWin32HandleInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ExportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ ) ExportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9155,12 +8933,6 @@ namespace vk
return *this; return *this;
} }
Win32KeyedMutexAcquireReleaseInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
Win32KeyedMutexAcquireReleaseInfoNV& setPNext( const void* pNext_ ) Win32KeyedMutexAcquireReleaseInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9268,12 +9040,6 @@ namespace vk
return *this; return *this;
} }
DeviceGeneratedCommandsFeaturesNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DeviceGeneratedCommandsFeaturesNVX& setPNext( const void* pNext_ ) DeviceGeneratedCommandsFeaturesNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9336,12 +9102,6 @@ namespace vk
return *this; return *this;
} }
DeviceGeneratedCommandsLimitsNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DeviceGeneratedCommandsLimitsNVX& setPNext( const void* pNext_ ) DeviceGeneratedCommandsLimitsNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9434,12 +9194,6 @@ namespace vk
return *this; return *this;
} }
CmdReserveSpaceForCommandsInfoNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CmdReserveSpaceForCommandsInfoNVX& setPNext( const void* pNext_ ) CmdReserveSpaceForCommandsInfoNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9525,12 +9279,6 @@ namespace vk
return *this; return *this;
} }
PresentInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PresentInfoKHR& setPNext( const void* pNext_ ) PresentInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9644,12 +9392,6 @@ namespace vk
return *this; return *this;
} }
PipelineDynamicStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineDynamicStateCreateInfo& setPNext( const void* pNext_ ) PipelineDynamicStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -9950,12 +9692,6 @@ namespace vk
return *this; return *this;
} }
MemoryBarrier& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
MemoryBarrier& setPNext( const void* pNext_ ) MemoryBarrier& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10028,12 +9764,6 @@ namespace vk
return *this; return *this;
} }
BufferMemoryBarrier& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
BufferMemoryBarrier& setPNext( const void* pNext_ ) BufferMemoryBarrier& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10205,12 +9935,6 @@ namespace vk
return *this; return *this;
} }
BufferCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
BufferCreateInfo& setPNext( const void* pNext_ ) BufferCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10422,12 +10146,6 @@ namespace vk
return *this; return *this;
} }
DescriptorSetLayoutCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DescriptorSetLayoutCreateInfo& setPNext( const void* pNext_ ) DescriptorSetLayoutCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10506,12 +10224,6 @@ namespace vk
return *this; return *this;
} }
PipelineShaderStageCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineShaderStageCreateInfo& setPNext( const void* pNext_ ) PipelineShaderStageCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10667,12 +10379,6 @@ namespace vk
return *this; return *this;
} }
PipelineLayoutCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineLayoutCreateInfo& setPNext( const void* pNext_ ) PipelineLayoutCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -10855,12 +10561,6 @@ namespace vk
return *this; return *this;
} }
ComputePipelineCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ComputePipelineCreateInfo& setPNext( const void* pNext_ ) ComputePipelineCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11090,12 +10790,6 @@ namespace vk
return *this; return *this;
} }
PipelineColorBlendStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineColorBlendStateCreateInfo& setPNext( const void* pNext_ ) PipelineColorBlendStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11219,12 +10913,6 @@ namespace vk
return *this; return *this;
} }
FenceCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
FenceCreateInfo& setPNext( const void* pNext_ ) FenceCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11466,12 +11154,6 @@ namespace vk
return *this; return *this;
} }
CommandBufferInheritanceInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CommandBufferInheritanceInfo& setPNext( const void* pNext_ ) CommandBufferInheritanceInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11571,12 +11253,6 @@ namespace vk
return *this; return *this;
} }
CommandBufferBeginInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CommandBufferBeginInfo& setPNext( const void* pNext_ ) CommandBufferBeginInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11646,12 +11322,6 @@ namespace vk
return *this; return *this;
} }
QueryPoolCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
QueryPoolCreateInfo& setPNext( const void* pNext_ ) QueryPoolCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -11979,12 +11649,6 @@ namespace vk
return *this; return *this;
} }
ImageMemoryBarrier& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ImageMemoryBarrier& setPNext( const void* pNext_ ) ImageMemoryBarrier& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -12104,12 +11768,6 @@ namespace vk
return *this; return *this;
} }
ImageViewCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ImageViewCreateInfo& setPNext( const void* pNext_ ) ImageViewCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -13038,12 +12696,6 @@ namespace vk
return *this; return *this;
} }
BindSparseInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
BindSparseInfo& setPNext( const void* pNext_ ) BindSparseInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -13243,12 +12895,6 @@ namespace vk
return *this; return *this;
} }
CommandPoolCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CommandPoolCreateInfo& setPNext( const void* pNext_ ) CommandPoolCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -13437,12 +13083,6 @@ namespace vk
return *this; return *this;
} }
ImageCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ImageCreateInfo& setPNext( const void* pNext_ ) ImageCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -13603,12 +13243,6 @@ namespace vk
return *this; return *this;
} }
PipelineMultisampleStateCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineMultisampleStateCreateInfo& setPNext( const void* pNext_ ) PipelineMultisampleStateCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -13731,12 +13365,6 @@ namespace vk
return *this; return *this;
} }
GraphicsPipelineCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
GraphicsPipelineCreateInfo& setPNext( const void* pNext_ ) GraphicsPipelineCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -14386,12 +14014,6 @@ namespace vk
return *this; return *this;
} }
DescriptorPoolCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DescriptorPoolCreateInfo& setPNext( const void* pNext_ ) DescriptorPoolCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -14602,12 +14224,6 @@ namespace vk
return *this; return *this;
} }
RenderPassCreateInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
RenderPassCreateInfo& setPNext( const void* pNext_ ) RenderPassCreateInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -14916,12 +14532,6 @@ namespace vk
return *this; return *this;
} }
DisplaySurfaceCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DisplaySurfaceCreateInfoKHR& setPNext( const void* pNext_ ) DisplaySurfaceCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15090,12 +14700,6 @@ namespace vk
return *this; return *this;
} }
SwapchainCreateInfoKHR& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
SwapchainCreateInfoKHR& setPNext( const void* pNext_ ) SwapchainCreateInfoKHR& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15305,12 +14909,6 @@ namespace vk
return *this; return *this;
} }
DebugReportCallbackCreateInfoEXT& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DebugReportCallbackCreateInfoEXT& setPNext( const void* pNext_ ) DebugReportCallbackCreateInfoEXT& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15424,12 +15022,6 @@ namespace vk
return *this; return *this;
} }
DebugMarkerObjectNameInfoEXT& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DebugMarkerObjectNameInfoEXT& setPNext( const void* pNext_ ) DebugMarkerObjectNameInfoEXT& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15508,12 +15100,6 @@ namespace vk
return *this; return *this;
} }
DebugMarkerObjectTagInfoEXT& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
DebugMarkerObjectTagInfoEXT& setPNext( const void* pNext_ ) DebugMarkerObjectTagInfoEXT& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15616,12 +15202,6 @@ namespace vk
return *this; return *this;
} }
PipelineRasterizationStateRasterizationOrderAMD& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
PipelineRasterizationStateRasterizationOrderAMD& setPNext( const void* pNext_ ) PipelineRasterizationStateRasterizationOrderAMD& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15708,12 +15288,6 @@ namespace vk
return *this; return *this;
} }
ExternalMemoryImageCreateInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ExternalMemoryImageCreateInfoNV& setPNext( const void* pNext_ ) ExternalMemoryImageCreateInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15772,12 +15346,6 @@ namespace vk
return *this; return *this;
} }
ExportMemoryAllocateInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ExportMemoryAllocateInfoNV& setPNext( const void* pNext_ ) ExportMemoryAllocateInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15838,12 +15406,6 @@ namespace vk
return *this; return *this;
} }
ImportMemoryWin32HandleInfoNV& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ImportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ ) ImportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -15971,12 +15533,6 @@ namespace vk
return *this; return *this;
} }
ValidationFlagsEXT& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ValidationFlagsEXT& setPNext( const void* pNext_ ) ValidationFlagsEXT& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -16243,12 +15799,6 @@ namespace vk
return *this; return *this;
} }
IndirectCommandsLayoutCreateInfoNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
IndirectCommandsLayoutCreateInfoNVX& setPNext( const void* pNext_ ) IndirectCommandsLayoutCreateInfoNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -16348,12 +15898,6 @@ namespace vk
return *this; return *this;
} }
ObjectTableCreateInfoNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
ObjectTableCreateInfoNVX& setPNext( const void* pNext_ ) ObjectTableCreateInfoNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -17696,12 +17240,6 @@ namespace vk
return *this; return *this;
} }
SubmitInfo& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
SubmitInfo& setPNext( const void* pNext_ ) SubmitInfo& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;
@ -20939,12 +20477,6 @@ namespace vk
return *this; return *this;
} }
CmdProcessCommandsInfoNVX& setSType( StructureType sType_ )
{
sType = sType_;
return *this;
}
CmdProcessCommandsInfoNVX& setPNext( const void* pNext_ ) CmdProcessCommandsInfoNVX& setPNext( const void* pNext_ )
{ {
pNext = pNext_; pNext = pNext_;