Skip to content
  • Asahi Lina's avatar
    asahi: Flip a bit for shaders that use derivatives · 7be6b639
    Asahi Lina authored
    
    
    Without this, they apparently are computed incorrectly along primitive
    edges. Found by flipping bits until it worked.
    
    TODO: Is this what macOS does when you set a sample mask there (which
    apparently fixes the same bug on Metal)? Do we need to set this when
    sample masks are used?
    
    Fixes Darwinia.
    
    Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>
    7be6b639
Loading