From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99532] Compute shader doesn't give right result under some circumstances Date: Mon, 06 Feb 2017 12:24:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0017560670==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0017560670== Content-Type: multipart/alternative; boundary="14863838900.A76eD3.15397"; charset="UTF-8" --14863838900.A76eD3.15397 Date: Mon, 6 Feb 2017 12:24:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99532 --- Comment #13 from Boyan Ding --- Now I doubt if the problem really lies in the atomic operations, even in compiler at all. I changed the compute shader a little bit, only letting th= read (0, 0) to accumulate its result to the ssbo (the dividing factor in histogr= am fragment shader changed from 20000 to 20). This bypasses atomic operation a= nd shared memory, but the same problem persists. I suspect that the input state of compute shader is somehow invalid, and th= at explains why removing one frame of the trace will magically eliminate the problem. --=20 You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.= --14863838900.A76eD3.15397 Date: Mon, 6 Feb 2017 12:24:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 13 on bug 99532<= /a> from Boyan Ding
Now I doubt if the problem really lies in the atomic operation=
s, even in
compiler at all. I changed the compute shader a little bit, only letting th=
read
(0, 0) to accumulate its result to the ssbo (the dividing factor in histogr=
am
fragment shader changed from 20000 to 20). This bypasses atomic operation a=
nd
shared memory, but the same problem persists.

I suspect that the input state of compute shader is somehow invalid, and th=
at
explains why removing one frame of the trace will magically eliminate the
problem.


You are receiving this mail because:
  • You are the assignee for the bug.
  • You are the QA Contact for the bug.
= --14863838900.A76eD3.15397-- --===============0017560670== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0017560670==--