Am 22.06.2017 um 19:35 schrieb Ilia Mirkin: > On Wed, Jun 21, 2017 at 9:58 AM, Ilia Mirkin <imir...@alum.mit.edu> wrote: >> On Tue, Jun 20, 2017 at 6:54 PM, Marek Olšák <mar...@gmail.com> wrote: >>> The first pipe_screen flag is a drirc option to fix incorrect grass >>> rendering in Rocket League for radeonsi. Rocket League expects DirectX >>> behavior for partial derivative computations after discard/kill, but >>> radeonsi implements the more efficient but stricter OpenGL behavior >>> and that will remain our default behavior. The new screen flag forces >>> radeonsi to use the DX behavior for that game. >> >> For those of us following along at home... can you provide a brief >> reminder of what the DX behavior is, and how does it differ from GL >> behavior? In case one might want to fix this for nouveau (if a fix is >> needed at all)... > > From what I gather, this is the difference between discard exiting > immediately in that thread and keeping going. > > Does this make sense to be surfaced in gallium via a tgsi program > property? That way, e.g. a GL extension could be written to expose > that program property.
I suppose it would make sense, that way this could be exposed cleanly. But of course the apps would have to use the extension, otherwise the override is just in a different place (and in theory not just glsl, vulkan works the same too). Roland > -ilia > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=_QIjpv-UJ77xEQY8fIYoQtr5qv8wKrPJc7v7_-CYAb0&m=DtcJeXTTZaceLSUoEtaDPZx10-oO7zRC9aAB6JCRK4s&s=ziGPeqqnGOWrPY08hnA0n14mdaI0AGGGThU2PsrBR7I&e= > > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev