example code for translating GLSL_compiler output to binary?

sduclos <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAAJLnMxxuZY8-jr1jzguJddgS_+U6nUW_bvJcuzCyeqzZ5nNAA@mail.gmail.com>
Hi,

On Mesa3d.org / Shading Language Support # Compiler Implementation [0]
it say:

"The final vertex and fragment programs may be interpreted in software
(see prog_execute.c) or translated into a specific hardware
architecture (see drivers/dri/i915/i915_fragprog.c for example)."

Can someone post a link to actual example code to do that. The new specs
GLSC2 (Safety Critical 2.0) can only load binary (no GLSL compiler) to
save resources on embedded device. And incidentally I have an Intel
GPU that use the i915.


Thxs,

Sylvain.

[0] http://www.mesa3d.org/shading.html#implementation
_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.