[Mesa-users] example code for translating GLSL_compiler output to binary?

sduclos sduclos.cairo at gmail.com
Sun Sep 4 12:12:50 UTC 2016


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


More information about the mesa-users mailing list