mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Add slight increase to error tolerance for SNorm textures
This commit is contained in:
@@ -195,7 +195,7 @@ class Texture_Zoo():
|
||||
eps_significand = 2.5
|
||||
# Similarly SNorm essentially loses a bit of accuracy due to us only using negative values
|
||||
elif testCompType == rd.CompType.SNorm:
|
||||
eps_significand = 2.0
|
||||
eps_significand = 2.5
|
||||
|
||||
if tex.format.type == rd.ResourceFormatType.R4G4B4A4 or tex.format.type == rd.ResourceFormatType.R4G4:
|
||||
eps = (eps_significand / 15.0)
|
||||
|
||||
Reference in New Issue
Block a user