From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97524] Invalid sampler settings cause full GPU reset Date: Wed, 14 Sep 2016 22:01:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0862639750==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 92E7B89137 for ; Wed, 14 Sep 2016 22:01:14 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0862639750== Content-Type: multipart/alternative; boundary="14738904740.bAcbFCbC.633"; charset="UTF-8" --14738904740.bAcbFCbC.633 Date: Wed, 14 Sep 2016 22:01:14 +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=3D97524 --- Comment #9 from Matias N. Goldberg --- Oh I see what's happening. That's my fault. The paths to the shader files were hardcoded as absolute paths. Look for: readFile( "/home/matias/Projects/MesaRing0Bug/src/VertexShader_vs.glsl", da= ta, FILE_BUF ); and: readFile( "/home/matias/Projects/MesaRing0Bug/src/PixelShader_ps.glsl", dat= a, FILE_BUF ); Change the hardcoded paths, and try again. Sorry about that. --=20 You are receiving this mail because: You are the assignee for the bug.= --14738904740.bAcbFCbC.633 Date: Wed, 14 Sep 2016 22:01:14 +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

Comment= # 9 on bug 97524<= /a> from Matias N. Goldberg
Oh I see what's happening.

That's my fault.

The paths to the shader files were hardcoded as absolute paths.

Look for:
readFile( "/home/matias/Projects/MesaRing0Bug/src/VertexShader_vs.glsl=
", data,
FILE_BUF );

and:
readFile( "/home/matias/Projects/MesaRing0Bug/src/PixelShader_ps.glsl&=
quot;, data,
FILE_BUF );

Change the hardcoded paths, and try again. Sorry about that.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14738904740.bAcbFCbC.633-- --===============0862639750== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0862639750==--