i965: Support GL_CLAMP natively on Broadwell.
The new hardware actually supports this OpenGL 1.x feature natively, so we can finally drop our shader workarounds. Not many applications use GL_CLAMP, and most use it unintentionally, but it's trivial to do right, so we should. Signed-off-by:Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Matt Turner <mattst88@gmail.com> Cc: "10.2" <mesa-stable@lists.freedesktop.org>
- src/mesa/drivers/dri/i965/brw_defines.h 1 addition, 0 deletionssrc/mesa/drivers/dri/i965/brw_defines.h
- src/mesa/drivers/dri/i965/brw_wm.c 2 additions, 1 deletionsrc/mesa/drivers/dri/i965/brw_wm.c
- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c 10 additions, 3 deletionssrc/mesa/drivers/dri/i965/brw_wm_sampler_state.c