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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 19 02:17:53 PDT 2015


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

--- Comment #10 from gregory.hainaut at gmail.com ---
Extrat of the GL4.5 spec:

-------------------------------------------
Chapter 7.4.1

With separable program objects, interfaces between shader stages may involve
the outputs from one program object and the inputs from a second program
object.
For such interfaces, it is not possible to detect mismatches at link time,
because the programs are linked separately. 

When each such program is linked, all inputs or outputs interfacing with
another program stage are treated as active.

 The linker will generate an executable that assumes the presence of a
compatible program on the other side of the interface. If a mismatch between
programs occurs, no GL error is generated, but some or all of the inputs on the
interface will be undefined.
-------------------------------------------

So inputs/outputs can't be removed by optimization as they must remain active.

-- 
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/20150919/e0aad439/attachment.html>


More information about the mesa-dev mailing list