summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_sf.c
AgeCommit message (Collapse)Author
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
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-27i965g: Remove unnecessary headers.Vinson Lee
2009-11-23i965g: apply linear math to both linear and perspective attrsKeith Whitwell
2009-11-21i965g: get basic texturing working againKeith Whitwell
Revert to fixed-layout surface binding table -- it's probably the best way to do this. Pass sampler and texture numbers separately even though we're always keeping them the same at present.
2009-11-19i965g: get linear vs perspective interpolation working againKeith Whitwell
2009-11-19i965g: special case setup when fs has no inputsKeith Whitwell
2009-11-19i965g: add new state flag tracking fs signature changesKeith Whitwell
2009-11-19i965g: fix typo in previous commitKeith Whitwell
2009-11-19i965g: setup nr_attrs should track nr fragment shader inputsKeith Whitwell
This would be equivalent to taking the nr outputs of the vp varient
2009-11-06i965g: hardwire linear interpolation for nowKeith Whitwell
seems to generate saner code, need to go back and fix perspective interpolation (and remove the hard-wire) once this is working.
2009-11-05i965g: add lots of error checks and early returnsKeith Whitwell
Any allocation that may fail should be checked, and propogate the error upwards. At the highest level we will flush batch and retry. This is an alternate strategy to what the original DRI driver did of attempting to flush batch from the lowest levels (eg inside BEGIN_BATCH). The trouble with that strategy was that flushes could occur at unexpected times, and additionally there was a need for a wierd notification mechanism to propogate the 'lost context' state back up to higher levels. Propogating the errors directly gives us a lot of flexibility how to deal with these states, at the expense of a lot more checking in the code. Will add some sanity checks later to make sure that out-of-memory conditions are properly escalated and not lost halfway up the stack.
2009-10-26i965g: still working on compilationKeith Whitwell
2009-10-25i965g: more compiling wipKeith Whitwell
2009-10-25i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell
2009-10-24i965g: more work on compilingKeith Whitwell
2009-10-24i965g: more files compilingKeith Whitwell
2009-10-23i965g: wip on removing GL stuff, trying to get a few files compilingKeith Whitwell
2009-10-23i965g: wipKeith Whitwell
2009-10-23i965g: re-starting from the dri driverKeith Whitwell