Only enable clip distance if written to on shader (#2217)

* Only enable clip distance if written to on shader

* Signal InstanceId use through FeatureFlags

* Shader cache version bump
This commit is contained in:
gdkchan 2021-04-20 07:33:54 -03:00 committed by GitHub
parent 89791ba68d
commit 4770cfa920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 79 additions and 23 deletions

View file

@ -12,9 +12,11 @@ namespace Ryujinx.Graphics.Shader.Translation
None = 0,
// Affected by resolution scaling.
FragCoordXY = 1 << 1,
IntegerSampling = 1 << 0,
FragCoordXY = 1 << 1,
Bindless = 1 << 2,
Bindless = 1 << 2,
InstanceId = 1 << 3
}
}