[Bug 110229] Textures binded to framebuffer objects or images are not correctly updated.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 1 11:19:54 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110229

--- Comment #21 from Daniel Stone <daniel at fooishbar.org> ---
> 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 execute,
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 produce
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190401/7e7364a7/attachment.html>


More information about the dri-devel mailing list