mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-19 01:06:29 +02:00
misc: chore: Fix object creation in Gpu project
This commit is contained in:
parent
4e47c86f90
commit
929a16dd26
18 changed files with 231 additions and 231 deletions
|
@ -60,7 +60,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
{
|
||||
Target target = descriptor.Type != SamplerType.None ? ShaderTexture.GetTarget(descriptor.Type) : default;
|
||||
|
||||
TextureBindingInfo result = new TextureBindingInfo(
|
||||
TextureBindingInfo result = new(
|
||||
target,
|
||||
descriptor.Set,
|
||||
descriptor.Binding,
|
||||
|
@ -88,7 +88,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
Target target = ShaderTexture.GetTarget(descriptor.Type);
|
||||
FormatInfo formatInfo = ShaderTexture.GetFormatInfo(descriptor.Format);
|
||||
|
||||
TextureBindingInfo result = new TextureBindingInfo(
|
||||
TextureBindingInfo result = new(
|
||||
target,
|
||||
formatInfo,
|
||||
descriptor.Set,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue