llvmpipe: Simplify vertex and geometry shaders.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 14 Mar 2014 17:01:05 +0000 (17:01 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 25 Mar 2014 12:54:39 +0000 (12:54 +0000)
commitb995a010e688bc4d4557e973e5e28091c378e881
tree1369dbef5dbb079c2eb6820bea221101124fcdff
parentee89432a4714b9da4508ed643db9fda39563de79
llvmpipe: Simplify vertex and geometry shaders.

Eliminate lp_vertex_shader, as it added nothing over draw_vertex_shader.

Simplify lp_geometry_shader, as most of the incoming state is unneeded.
(We could also just use draw_geometry_shader if we were willing to peek
inside the structure.)

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/llvmpipe/lp_draw_arrays.c
src/gallium/drivers/llvmpipe/lp_state.h
src/gallium/drivers/llvmpipe/lp_state_gs.c
src/gallium/drivers/llvmpipe/lp_state_vs.c