From: bugzilla-daemon@freedesktop.org
Subject: [Bug 38547] r600g fails shader, tries to run with failed shader,
freezes.
Date: Wed, 22 Jun 2011 19:56:24 -0700 (PDT)
Message-ID: <20110623025624.D4E5413004F@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 0435B9E7C0
for ;
Wed, 22 Jun 2011 19:56:25 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38547
--- Comment #4 from David L. 2011-06-22 19:56:23 PDT ---
(In reply to comment #3)
> Do you have the original glsl shader ? (env var MESA_GLSL="dump" should dump
> it)
I can't dump the shader due to #38584.
Also, I'm sorry, I misidentified the failing instruction. TGSI 0x09 isn't ADD
but DP3, and my hacked-in instruction counter was not off by one after all...
so the instruction that fails is
2517: ADD TEMP[161].x, -TEMP[158].xxxx, CONST[0].wwww
2518>>> DP3 TEMP[162].x, TEMP[138].xyzz, -TEMP[153].xyzz
2519: MOV TEMP[20].w, TEMP[162].xxxx
2520: ADD TEMP[163].xy, -TEMP[147].yyyy, TEMP[20].xwww
It fails to compile two more shaders before it crashes, those bail out on:
472: ADD TEMP[150].x, -TEMP[147].xxxx, -CONST[0].wwww
473>>> DP3 TEMP[151].x, TEMP[127].xyzz, -TEMP[142].xyzz
474: ADD TEMP[152].x, -TEMP[136].yyyy, TEMP[136].xxxx
475: ADD TEMP[153].x, -TEMP[136].yyyy, TEMP[151].xxxx
and
473: ADD TEMP[151].x, -TEMP[148].xxxx, -CONST[0].wwww
474>>> DP3 TEMP[152].x, TEMP[128].xyzz, -TEMP[143].xyzz
475: ADD TEMP[153].x, -TEMP[137].yyyy, TEMP[137].xxxx
476: ADD TEMP[154].x, -TEMP[137].yyyy, TEMP[152].xxxx
I have, however, also seen it crash on ADDs (opcode 0x08) - can't reproduce
that right now though. Is there a register limit at around 150...160?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.