https://bugs.freedesktop.org/show_bug.cgi?id=110229
--- Comment #21 from Daniel Stone <dan...@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel