mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 07:18:43 +00:00
aef25980a7
* Salieri: Add blacklist system and blacklist shaders using bindless Currently the shader cache doesn't have the right format to support bindless textures correctly and may cache shaders that it cannot rebuild after host invalidation. This PR address the issue by blacklisting shaders using bindless textures. THis also support detection of already cached broken shader and handle removal of those. * Move to a feature flags design to avoid intrusive changes in the translator This remove the auto correct behaviour * Reduce diff on TranslationFlags * Reduce comma on last entry of TranslationFlags * Fix inverted logic and remove leftovers * remove debug edits oops
21 lines
491 B
C#
21 lines
491 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Shader.Translation
|
|
{
|
|
/// <summary>
|
|
/// Features used by the shader that are important for the code generator to know in advance.
|
|
/// These typically change the declarations in the shader header.
|
|
/// </summary>
|
|
[Flags]
|
|
public enum FeatureFlags
|
|
{
|
|
None = 0,
|
|
|
|
// Affected by resolution scaling.
|
|
FragCoordXY = 1 << 1,
|
|
IntegerSampling = 1 << 0,
|
|
|
|
Bindless = 1 << 2,
|
|
}
|
|
}
|