mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 15:49:57 -06:00
Add support for bindless textures from shader input (vertex buffer) on Vulkan (#6577)
* Add support for bindless textures from shader input (vertex buffer) * Shader cache version bump * Format whitespace * Remove cache entries on pool removal, disable for OpenGL * PR feedback
This commit is contained in:
@ -13,6 +13,8 @@ namespace Ryujinx.Graphics.Shader
|
||||
public readonly int HandleIndex;
|
||||
public readonly int ArrayLength;
|
||||
|
||||
public readonly bool Separate;
|
||||
|
||||
public readonly TextureUsageFlags Flags;
|
||||
|
||||
public TextureDescriptor(
|
||||
@ -22,6 +24,7 @@ namespace Ryujinx.Graphics.Shader
|
||||
int cbufSlot,
|
||||
int handleIndex,
|
||||
int arrayLength,
|
||||
bool separate,
|
||||
TextureUsageFlags flags)
|
||||
{
|
||||
Binding = binding;
|
||||
@ -30,6 +33,7 @@ namespace Ryujinx.Graphics.Shader
|
||||
CbufSlot = cbufSlot;
|
||||
HandleIndex = handleIndex;
|
||||
ArrayLength = arrayLength;
|
||||
Separate = separate;
|
||||
Flags = flags;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user