summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-11i965g: consult fs inputs when laying out vs output regsKeith Whitwell
Vertex shader now emits just the FS inputs, in the positions and order expected by the fragment shader. This means potentially regenerating the vertex shader to match different fragment shader's input layouts.
2009-11-11i965g: skip over vertex position output when preallocating FS inputsKeith Whitwell
2009-11-11i965g: some more cases where file_max[] is used without obligatory +1Keith Whitwell
2009-11-11i965g: smaller upload buffer for index dataKeith Whitwell
2009-11-11i965g: fix off-by-one on curbe uploadKeith Whitwell
2009-11-11i965g: avoid use of internally generated immediatesKeith Whitwell
Currently not working, so don't generate more of them.
2009-11-11trivial: make tri-orig more closely match the original version of tri...Keith Whitwell
2009-11-07i965g: Fixup texture formatsJakob Bornecrantz
2009-11-07i965g: Formalize on S8Z24 as the suported depth formatJakob Bornecrantz
2009-11-06i965g: Fixup buffer creation functionJakob Bornecrantz
First tri!
2009-11-06i965g: Add texture transfer functionsJakob Bornecrantz
They don't seem to work. Maybe we are forgetting to flush the gpu or something.
2009-11-06i965g: Match pitch modification on get buffer as wellJakob Bornecrantz
This is a ugly hack in order to match what the intel X driver gives us. However putting this in the winsys where it fits better forces it reach more into the driver then it already does.
2009-11-06progs/trivial: IgnoresJakob Bornecrantz
2009-11-06i965g: First clear!Jakob Bornecrantz
2009-11-06i965g: get rid of cc key, simplify state uploadKeith Whitwell
Keep a valid reloc table active between uploads, avoid recalculating it every time.
2009-11-06i965g: trivial/clear can now send stuff to hardwareJakob Bornecrantz
Added a flag if we should send commands to hardware as what we send isn't all that correct.
2009-11-06i965g: Fix texture blanket functionJakob Bornecrantz
2009-11-06i965g: Add functions needed by the winsysJakob Bornecrantz
2009-11-06i965g: Winsys whitespaceJakob Bornecrantz
2009-11-06i965g: Build winsys againJakob Bornecrantz
2009-11-06i965g: Header whitespaceJakob Bornecrantz
2009-11-06i965g: get brw_state_debug.c buildingKeith Whitwell
2009-11-06i965g: propogate index size stateKeith Whitwell
2009-11-06i965g: remove references to brw_surface_bo()Keith Whitwell
2009-11-06i965g: plumb through fb_write target and eot dataKeith Whitwell
2009-11-06i965g: propogate nr_cbufs into wm prog keyKeith Whitwell
2009-11-06i965g: init saturate field in fp dst_reg helperKeith Whitwell
2009-11-06i965g: add dumping for our new pass_fp outputKeith Whitwell
2009-11-06i965g: disassemble each instruction as generatedKeith Whitwell
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-06i965g: fix some reloc countsKeith Whitwell
2009-11-06i965g: don't set up vs stack register for non-branching shadersKeith Whitwell
2009-11-06i965g: add DEBUG_MIN_URB flagKeith Whitwell
2009-11-06i965g: tgsi outputs cannot be used as source regsKeith Whitwell
2009-11-06i965g: use curr.vertex_element state directlyKeith Whitwell
2009-11-06trivial: add vbo-tri, an even simpler version of tri.cKeith Whitwell
2009-11-06i965g: don't emit line stipple packet if stipple disabledKeith Whitwell
2009-11-06i965g: populate brw_context chipset idKeith Whitwell
2009-11-06i965g: make sure blend color packet header is initializedKeith Whitwell
We will emit this packet at startup (dirty == ~0), even if we haven't had the state tracker call into brw_set_blend_color() yet. This way is a little more efficient also.
2009-11-06i965g: remove/disable inactive state atomsKeith Whitwell
2009-11-06i965g: populate wm reloc array earlierKeith Whitwell
Still have to calculate the reloc background in two places.
2009-11-06i965g: point_rast_rule comment no longer appliesKeith Whitwell
Not sure exactly what state we want here now, will need to experiment.
2009-11-06i965g: scissor off by oneKeith Whitwell
2009-11-06i965g: restore code to populate the relocation backgroundKeith Whitwell
I'm emitting this in two places now, to the data presented for upload and also in the delta field of the reloc struct. Probably want to remove the delta field and just pull the background from the key.
2009-11-05i965g: clean up winsys dumping code a littleKeith Whitwell
2009-11-05i965g: pass relocation information in an array with bo_subdataKeith Whitwell
Makes it easier to dump as we get all of the information about the upload in a single hit. Opens the window to simplification in the driver if these relocation arrays can be maintained statically rather than being recreated whenever we check for a new upload. Still needs some cleanup to avoid uglyness introduced with the delta values.
2009-11-05i965g: propogate map-buffer-range semantics down to winsysKeith Whitwell
2009-11-05i965g: make the winsys responsible for all buffer->offset handlingKeith Whitwell
The winsys now inserts the presumed offset into referring buffers from inside of bo_emit_reloc(). Remove the many locally coded places where this was happening in the driver and eliminate the worry of getting it wrong. No longer need to expose offset values to the driver at all, so no need to worry about what to do in the driver when they change. Just use zero values wherever we had offsets previously -- the relocations will fix it all up for us.
2009-11-05i965g: remove duplicate viewport state in brw_contextKeith Whitwell
2009-11-05i965g: correct sense of writedisable flagsKeith Whitwell