draw: use util_pstipple_* function for stipple pattern textures and samplers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 21 Jan 2016 21:10:11 +0000 (16:10 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 9 Feb 2016 15:01:57 +0000 (10:01 -0500)
commitc260175677c20ed4f11a6679c45391783d07aaeb
tree7ea8b8351a90f3ae00c3653361647551b4377842
parent452e51bf1ea6d6896f944192d40547f334f09676
draw: use util_pstipple_* function for stipple pattern textures and samplers

This reduces code duplication.

Suggested-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/util/u_pstipple.c
src/gallium/auxiliary/util/u_pstipple.h