[Mesa-dev] [PATCH 0/9] Move nir/glsl to src/compiler

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 25 13:31:54 PST 2015


Hello all,

Some of us have been thinking about moving nir out of glsl, and fleshing 
out some common helper (static library) that is use by both. So here it 
is - src/compiler.

The modules (libcompiler, libnir and libglsl) are unfortunately not 
really independent.
 - libcompiler - compile time (mesa ir, glsl ir, util), link - util
 - libglsl - compile (compiler, mesa ir, util), link - compiler, util
 - libnir - compile (compiler, mesa ir, glsl ir, util), link - compiler, 
util

With the above in mind the headers are extremely fragile. Despite that 
things work fine based on my testing.

Note: the series depends (some some trivial dependencies) on the 
no-extern-c patches send yesterday.

This lot (incl. the requirement) can be found in branch nir-glsl-move at
https://github.com/evelikov/Mesa/

Comments, suggestions and ack/nak of the idea and approach are 
appreciated.

Cheers,
Emil



More information about the mesa-dev mailing list