Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965g: setup nr_attrs should track nr fragment shader inputs | Keith Whitwell | 2009-11-19 | 1 | -2/+6 |
| | | | | This would be equivalent to taking the nr outputs of the vp varient | ||||
* | i965g: get fragment constants sort-of working | Keith Whitwell | 2009-11-19 | 1 | -8/+9 |
| | |||||
* | i965g: make the load-before-use vs immediate path work | Keith Whitwell | 2009-11-19 | 1 | -2/+3 |
| | |||||
* | i965g: fix initialization of texture width/height/depth arrays | Keith Whitwell | 2009-11-19 | 1 | -5/+6 |
| | | | | Will remove these arrays in another branch - they're completely redundant. | ||||
* | i965g: remove more references to nr_vp_outputs in wm compilation | Keith Whitwell | 2009-11-18 | 1 | -3/+1 |
| | | | | | We're really more concerned about how many inputs the fragment shader is expecting. | ||||
* | i965g: handle special vs outputs specially | Keith Whitwell | 2009-11-17 | 11 | -55/+147 |
| | | | | | | | | | | | Where vs output semantic tags indicate an output is signficant for fixed function processing (such as clipping, unfilled modes, etc), retain information about that output so that we can get to it easily later on. Fix up the unfilled processing, but hard-wire edgeflag to one for now. With this change, trivial/tri-unfilled works. | ||||
* | i965g rename offset_edge to offset_edgeflag | Keith Whitwell | 2009-11-17 | 3 | -7/+7 |
| | |||||
* | i965g: restore check on line smooth state | Keith Whitwell | 2009-11-14 | 1 | -1/+2 |
| | |||||
* | i965g: consult fs inputs when laying out vs output regs | Keith Whitwell | 2009-11-11 | 5 | -43/+113 |
| | | | | | | | | 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. | ||||
* | i965g: skip over vertex position output when preallocating FS inputs | Keith Whitwell | 2009-11-11 | 1 | -0/+4 |
| | |||||
* | i965g: some more cases where file_max[] is used without obligatory +1 | Keith Whitwell | 2009-11-11 | 1 | -5/+5 |
| | |||||
* | i965g: smaller upload buffer for index data | Keith Whitwell | 2009-11-11 | 1 | -1/+1 |
| | |||||
* | i965g: fix off-by-one on curbe upload | Keith Whitwell | 2009-11-11 | 1 | -4/+10 |
| | |||||
* | i965g: avoid use of internally generated immediates | Keith Whitwell | 2009-11-11 | 1 | -1/+4 |
| | | | | Currently not working, so don't generate more of them. | ||||
* | i965g: Fixup texture formats | Jakob Bornecrantz | 2009-11-07 | 2 | -37/+74 |
| | |||||
* | i965g: Formalize on S8Z24 as the suported depth format | Jakob Bornecrantz | 2009-11-07 | 4 | -12/+4 |
| | |||||
* | i965g: Add texture transfer functions | Jakob Bornecrantz | 2009-11-06 | 1 | -0/+95 |
| | | | | They don't seem to work. Maybe we are forgetting to flush the gpu or something. | ||||
* | i965g: Match pitch modification on get buffer as well | Jakob Bornecrantz | 2009-11-06 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | i965g: First clear! | Jakob Bornecrantz | 2009-11-06 | 1 | -11/+5 |
| | |||||
* | i965g: get rid of cc key, simplify state upload | Keith Whitwell | 2009-11-06 | 4 | -129/+51 |
| | | | | | Keep a valid reloc table active between uploads, avoid recalculating it every time. | ||||
* | i965g: Fix texture blanket function | Jakob Bornecrantz | 2009-11-06 | 1 | -11/+12 |
| | |||||
* | i965g: Add functions needed by the winsys | Jakob Bornecrantz | 2009-11-06 | 1 | -2/+115 |
| | |||||
* | i965g: Header whitespace | Jakob Bornecrantz | 2009-11-06 | 1 | -42/+42 |
| | |||||
* | i965g: get brw_state_debug.c building | Keith Whitwell | 2009-11-06 | 2 | -3/+25 |
| | |||||
* | i965g: propogate index size state | Keith Whitwell | 2009-11-06 | 1 | -1/+3 |
| | |||||
* | i965g: remove references to brw_surface_bo() | Keith Whitwell | 2009-11-06 | 2 | -6/+3 |
| | |||||
* | i965g: plumb through fb_write target and eot data | Keith Whitwell | 2009-11-06 | 5 | -25/+29 |
| | |||||
* | i965g: propogate nr_cbufs into wm prog key | Keith Whitwell | 2009-11-06 | 3 | -1/+10 |
| | |||||
* | i965g: init saturate field in fp dst_reg helper | Keith Whitwell | 2009-11-06 | 1 | -0/+1 |
| | |||||
* | i965g: add dumping for our new pass_fp output | Keith Whitwell | 2009-11-06 | 6 | -71/+139 |
| | |||||
* | i965g: disassemble each instruction as generated | Keith Whitwell | 2009-11-06 | 5 | -2/+11 |
| | |||||
* | i965g: hardwire linear interpolation for now | Keith Whitwell | 2009-11-06 | 1 | -2/+5 |
| | | | | | seems to generate saner code, need to go back and fix perspective interpolation (and remove the hard-wire) once this is working. | ||||
* | i965g: fix some reloc counts | Keith Whitwell | 2009-11-06 | 3 | -3/+3 |
| | |||||
* | i965g: don't set up vs stack register for non-branching shaders | Keith Whitwell | 2009-11-06 | 5 | -17/+20 |
| | |||||
* | i965g: add DEBUG_MIN_URB flag | Keith Whitwell | 2009-11-06 | 3 | -3/+13 |
| | |||||
* | i965g: tgsi outputs cannot be used as source regs | Keith Whitwell | 2009-11-06 | 1 | -2/+3 |
| | |||||
* | i965g: use curr.vertex_element state directly | Keith Whitwell | 2009-11-06 | 2 | -11/+7 |
| | |||||
* | i965g: don't emit line stipple packet if stipple disabled | Keith Whitwell | 2009-11-06 | 1 | -1/+3 |
| | |||||
* | i965g: populate brw_context chipset id | Keith Whitwell | 2009-11-06 | 1 | -0/+1 |
| | |||||
* | i965g: make sure blend color packet header is initialized | Keith Whitwell | 2009-11-06 | 1 | -3/+9 |
| | | | | | | | 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. | ||||
* | i965g: remove/disable inactive state atoms | Keith Whitwell | 2009-11-06 | 4 | -6/+3 |
| | |||||
* | i965g: populate wm reloc array earlier | Keith Whitwell | 2009-11-06 | 1 | -36/+46 |
| | | | | Still have to calculate the reloc background in two places. | ||||
* | i965g: point_rast_rule comment no longer applies | Keith Whitwell | 2009-11-06 | 1 | -26/+4 |
| | | | | Not sure exactly what state we want here now, will need to experiment. | ||||
* | i965g: scissor off by one | Keith Whitwell | 2009-11-06 | 1 | -2/+2 |
| | |||||
* | i965g: restore code to populate the relocation background | Keith Whitwell | 2009-11-06 | 3 | -3/+11 |
| | | | | | | | 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. | ||||
* | i965g: pass relocation information in an array with bo_subdata | Keith Whitwell | 2009-11-05 | 15 | -281/+302 |
| | | | | | | | | | | | | 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. | ||||
* | i965g: propogate map-buffer-range semantics down to winsys | Keith Whitwell | 2009-11-05 | 5 | -42/+83 |
| | |||||
* | i965g: make the winsys responsible for all buffer->offset handling | Keith Whitwell | 2009-11-05 | 11 | -29/+29 |
| | | | | | | | | | | | | 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. | ||||
* | i965g: remove duplicate viewport state in brw_context | Keith Whitwell | 2009-11-05 | 3 | -6/+3 |
| | |||||
* | i965g: correct sense of writedisable flags | Keith Whitwell | 2009-11-05 | 1 | -4/+4 |
| |