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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev