From: Gert Wollny <gert.wol...@collabora.com> Hello Roland, Dave, and everybody else,
this is a 90% rewrite of the earlier series. - I removed the changes to the texture state and handle everything in the shader. Since this was needed for cube arrays anyway, and also taking Rolands concern into account I thought it is best to do this for the other arrays as well. - I've identified to the root cause why sb was having problems with the GATHER_O instruction, and reworked the code to make sure that the related texture instructions are all emitted in one CF clause, This is also required for the SET_GRADIENT instructions. - I've also correct the array index for cube textures now. I didn't see any changes with piglit run gpu -t texture -t gather -t formats Many thanks for reviewing, Gert Gert Wollny (4): r600: Delay emission of texture gradients and lookup offsets r600: Add extra function to evaluate array index r600: correct texture offset for array index lookup r600: Correct evaluation of cube array index and face src/gallium/drivers/r600/r600_shader.c | 187 ++++++++++++++++++++++++--------- 1 file changed, 140 insertions(+), 47 deletions(-) -- 2.16.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev