summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger1-0/+1
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger1-7/+9
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-01-12gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger1-11/+0
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
2009-12-25gallium: add geometry shader support to galliumZack Rusin1-7/+7
2009-07-31draw: fix-ups for point coord attributeBrian Paul1-12/+36
progs/glsl/pointcoord.c works again
2009-06-29gallium/draw: sketch out some missing pointcoord codeBrian Paul1-1/+11
The gl_PointCoord attribute is currently expected to be in the fog coord register's z/w components. This was never totally fleshed out though. This is just some placeholder code.
2009-06-01draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul1-0/+1
Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage.
2009-04-28gallium/draw: add ability to print out active pipeline stagesKeith Whitwell1-0/+1
2008-09-17gallium: fix wide point / point coord semantic info (generic, not fog)Brian Paul1-2/+2
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul1-1/+2
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-11gallium: emit sprite coords (gl_PointCoord)Brian Paul1-0/+21
2008-06-11draw: don't assume vertex position is in data[0]Keith Whitwell1-4/+5
2008-05-23draw: move some state into a new 'vs' areaKeith Whitwell1-2/+2
2008-04-21draw: propogate lots of errorsKeith Whitwell1-1/+10
2008-04-21draw: consolidate all the passthrough line/tri/point funcsKeith Whitwell1-20/+3
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell1-2/+3
2008-04-19draw: rename pipeline files to draw_pipe_*Keith Whitwell1-0/+281