From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001 Date: Tue, 20 Aug 2013 20:41:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0179684446==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0179684446== Content-Type: multipart/alternative; boundary="1377031279.bb8Ae2A2.21322"; charset="us-ascii" --1377031279.bb8Ae2A2.21322 Date: Tue, 20 Aug 2013 20:41:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=68348 --- Comment #1 from Ilia Mirkin --- The big difference between the even and odd numbered shaders/glsl-array-bounds-* seems to be how the invalid index comes about. In the odd-numbered ones, it comes directly from shader code, e.g.: void main() { int idx = 20; array[idx] } In the even-numbered ones, it comes from a uniform that I guess is passed in: uniform int idx; void main() { array[idx] } (And the various tests check fragment/vertex shaders, positive/negative offsets, and the place where the idx comes from, so 8 tests total.) Although I'm not sure there's actually a problem here... the program is doing something illegal. You get segfault notifications in dmesg too... -- You are receiving this mail because: You are the assignee for the bug. --1377031279.bb8Ae2A2.21322 Date: Tue, 20 Aug 2013 20:41:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 68348 from
The big difference between the even and odd numbered
shaders/glsl-array-bounds-* seems to be how the invalid index comes about.

In the odd-numbered ones, it comes directly from shader code, e.g.:

void main() {
  int idx = 20;
  array[idx]
}

In the even-numbered ones, it comes from a uniform that I guess is passed in:

uniform int idx;

void main() {
  array[idx]
}

(And the various tests check fragment/vertex shaders, positive/negative
offsets, and the place where the idx comes from, so 8 tests total.)

Although I'm not sure there's actually a problem here... the program is doing
something illegal. You get segfault notifications in dmesg too...


You are receiving this mail because:
  • You are the assignee for the bug.
--1377031279.bb8Ae2A2.21322-- --===============0179684446== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0179684446==--