[Mesa-dev] [PATCH 0/2] tgsi/exec: clean up exec_tex()

Chia-I Wu olvaffe at gmail.com
Tue May 7 03:21:29 PDT 2013


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.


More information about the mesa-dev mailing list