mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-25 10:36:59 +00:00
misc: chore: Fix object creation in Vulkan project
This commit is contained in:
parent
eae6dba610
commit
5f023ca49b
37 changed files with 172 additions and 172 deletions
|
|
@ -33,7 +33,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
{
|
||||
if (bufferInfo.Buffer.Handle != 0UL)
|
||||
{
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -56,7 +56,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
fixed (DescriptorBufferInfo* pBufferInfo = bufferInfo)
|
||||
{
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -74,7 +74,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
{
|
||||
if (imageInfo.ImageView.Handle != 0UL)
|
||||
{
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -97,7 +97,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
fixed (DescriptorImageInfo* pImageInfo = imageInfo)
|
||||
{
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -134,7 +134,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
count++;
|
||||
}
|
||||
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -156,7 +156,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
{
|
||||
if (texelBufferView.Handle != 0UL)
|
||||
{
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
@ -190,7 +190,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
count++;
|
||||
}
|
||||
|
||||
WriteDescriptorSet writeDescriptorSet = new WriteDescriptorSet
|
||||
WriteDescriptorSet writeDescriptorSet = new()
|
||||
{
|
||||
SType = StructureType.WriteDescriptorSet,
|
||||
DstSet = _descriptorSets[setIndex],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue