Hi, This series adds a util function to get the dimension of texture coordinates given a texture target. The function allows exec_tex() in tgsi_exec.c to be greatly simplified. There is a subtle difference in how TXP works on array texture. That is, layer is now also projected. You can find the details in the second patch.
I need the util function for ilo. Being able to simplify exec_tex() is just a execuse to add it to auxiliary/, to be honest. No regression is found with piglit quick-driver.tests. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev