<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Distorted output in obs-studio where other vendors "work""
href="https://bugs.freedesktop.org/show_bug.cgi?id=79783#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Distorted output in obs-studio where other vendors "work""
href="https://bugs.freedesktop.org/show_bug.cgi?id=79783">bug 79783</a>
from <span class="vcard"><a class="email" href="mailto:gregory.hainaut@gmail.com" title="gregory.hainaut@gmail.com">gregory.hainaut@gmail.com</a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>