Clean up depth-tex-modes-glsl a bit.
1. It doesn't use sampler2DRect, so don't require ARB_texture_rectangle 2. Remove pointless glFinish() before piglit_present_results() 3. Use Piglit utility functions for compiling/linking shaders. 4. Print the description of what you're seeing in *non*-automatic mode. Signed-off-by: Kenneth Graunke <email@example.com> Reviewed-by: Brian Paul <firstname.lastname@example.org>
Showing with 4 additions and 25 deletions