draw: use util_pstipple_create_fragment_shader
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 21 Jan 2016 21:03:17 +0000 (16:03 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 9 Feb 2016 15:01:32 +0000 (10:01 -0500)
commit452e51bf1ea6d6896f944192d40547f334f09676
treeb9f35ae78bbc3cff63adab2835bbca7ec095432c
parent83b4d701c082bb43dc710be9ec423171ea11e8d1
draw: use util_pstipple_create_fragment_shader

This reduces code duplication. It also adds support for drivers where the
fragment position is a system value.

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