[Bug 93594] Flickering Shadows in The Talos Principle

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 18 01:17:29 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93594

--- Comment #14 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to Marek Olšák from comment #13)
> (In reply to Roland Scheidegger from comment #12)
> > Due to d3d10 being different there, I wouldn't be surprised if other apps
> > make the same mistake.
> 
> For performance, it's better to execute KILL as soon as possible, because it
> allows us to skip texture loads and possibly even input loads.

Certainly, which is probably why it is undefined behavior in glsl.
My guess is the d3d10 drivers will check dependency chains and see if the
result may be needed later for derivatives, and if it is only kill whole quads
immediately or something like that. Whereas in GL it would be the
responsibility of the shader to do the actual kill only when the pixels aren't
needed any longer for calculating derivatives (though I suppose that means it
potentially wouldn't early discard whole quads neither).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160218/eab1888a/attachment.html>


More information about the dri-devel mailing list