[Mesa-dev] [Bug 79783] Distorted output in obs-studio where other vendors "work"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 16 13:22:20 PDT 2015


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

--- Comment #3 from gregory.hainaut at gmail.com ---
I have the same issue on my application (PCSX2).

The code in link_varyings.cpp (varying_matches::record) is potentially wrong
but it isn't the main issue. I try to comment the code and the issue is still
here. Nevertheless the code feels wrong as you don't know the existence of the
consumer in SSO. So the flat optimization is likely bad.

Anyway I try also to render the texture coordinate in the screen. Normally they
must be interpolated between [0;1] however the interpolation is done between 
[-1;1] (potentially with a different sign). Indeed applying a rescaling of the
coordinate in the FS, (t + 1.0) / 2.0 seems to render correctly my draw call.

It seems [-1;1] is a default value of the raster unit. The behavior is the same
if the texture coordinate is not written in the vertex shader. Maybe the code
is optimized in the VS. Unfortunately I don't know if there is any possibility
to dump VS asm code with Nouveau.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150916/c894977f/attachment.html>


More information about the mesa-dev mailing list