mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 04:16:26 +02: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
|
@ -15,7 +15,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
AttachmentDescription[] attachmentDescs = null;
|
||||
|
||||
SubpassDescription subpass = new SubpassDescription
|
||||
SubpassDescription subpass = new()
|
||||
{
|
||||
PipelineBindPoint = PipelineBindPoint.Graphics,
|
||||
};
|
||||
|
@ -111,7 +111,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
fixed (AttachmentDescription* pAttachmentDescs = attachmentDescs)
|
||||
{
|
||||
RenderPassCreateInfo renderPassCreateInfo = new RenderPassCreateInfo
|
||||
RenderPassCreateInfo renderPassCreateInfo = new()
|
||||
{
|
||||
SType = StructureType.RenderPassCreateInfo,
|
||||
PAttachments = pAttachmentDescs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue