From: bugzilla-daemon@freedesktop.org Subject: [Bug 110229] Textures binded to framebuffer objects or images are not correctly updated. Date: Mon, 01 Apr 2019 11:19:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0727706358==" 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 A51946E178 for ; Mon, 1 Apr 2019 11:19:54 +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 --===============0727706358== Content-Type: multipart/alternative; boundary="15541175940.1eB55eAA.3044" Content-Transfer-Encoding: 7bit --15541175940.1eB55eAA.3044 Date: Mon, 1 Apr 2019 11:19:54 +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=3D110229 --- Comment #21 from Daniel Stone --- > but why are you writing the driver source code in C if gcc cannot produce= code which'll be executed on a GPU ? The driver executes code on the CPU. One of the pieces of code executed on the CPU is the GLSL compiler, which parses GLSL source code and then produces machine code for the GPU to execu= te, then instructs the GPU to execute it. GCC does not parse GLSL code, it does= not integrate GLSL code with OpenGL (e.g. load uniform values), it does not pro= duce GPU machine code, and it does not instruct the GPU to execute that code. --=20 You are receiving this mail because: You are the assignee for the bug.= --15541175940.1eB55eAA.3044 Date: Mon, 1 Apr 2019 11:19:54 +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

Comme= nt # 21 on bug 11022= 9 from Daniel Stone
> but why are you writing the driver =
source code in C if gcc cannot produce code which'll be executed on a GPU ?=


The driver executes code on the CPU.

One of the pieces of code executed on the CPU is the GLSL compiler, which
parses GLSL source code and then produces machine code for the GPU to execu=
te,
then instructs the GPU to execute it. GCC does not parse GLSL code, it does=
 not
integrate GLSL code with OpenGL (e.g. load uniform values), it does not pro=
duce
GPU machine code, and it does not instruct the GPU to execute that code.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15541175940.1eB55eAA.3044-- --===============0727706358== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0727706358==--