On Friday 24 July 2009 14:21:35 José Fonseca wrote: > But in this step 1 you don't plan to embed the vector width and AoS vs > Soa in TGSI, right?
No, nothing changes at that layer. Essentially LLVM is completely invisible to drivers and TGSI representation stays exactly the same. Everything is the same but the TGSI code that comes from GLSL or OpenCL C is highly optimized. The software driver is obviously the special case here because that one already has a very good hardware LLVM driver (x86 code-generator). And for softpipe step 1 is of little importance because softpipe is incredibly slow executing fragment shaders with 5 instructions so the fact that complicated shaders will have 20 instead of 100 instructions is of little practical significance there ("this app is running at 0.9fps instead of 0.1fps now!!!"). Which means that you could short-circuit to step #2. But that really is a separate problem that needs a separate project (aka. "making softpipe fast" project). z ------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev