[Nouveau] [Bug 99532] Compute shader doesn't give right result under some circumstances

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 7 12:01:11 UTC 2017


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

--- Comment #14 from Boyan Ding <stu_dby at 126.com> ---
Created attachment 129380
  --> https://bugs.freedesktop.org/attachment.cgi?id=129380&action=edit
A minimal reproducer

I wrote another much simpler program today to find the real cause of this bug.
Turns out that compute shader is unable to sample from depth texture.

The attached program first renders a shape to a FBO. Then a compute shader is
used to copy the color and depth textures attached to the former FBO to a
shader image, which is drawn to the screen. The depth part is different between
nouveau and other drivers.

Compile the program with gcc test.c -lglfw -lGLEW -lGL

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170207/425f1d9a/attachment.html>


More information about the Nouveau mailing list