https://bugs.freedesktop.org/show_bug.cgi?id=93594 --- Comment #14 from Roland Scheidegger --- (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.