Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-06 | Merge branch 'mesa_7_6_branch' | Ian Romanick | |
This should fix the memory leaks in the assembly parser without the regressions. The conflicts in program_lexer.l were related to changes in returning strings between the branches (always return IDENTIFIER vs. returing either IDENTIFIER or USED_IDENTIFIER). The conflicts in program_parse.y were related to two changes in master One change prints a variable name in an error message. The other change adds outputVarSize to the OUTPUT_statement rule. The cause the position of the IDENTIFIER to change from $2 to $3. Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.y | |||
2009-11-06 | i965g: Match pitch modification on get buffer as well | Jakob 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-06 | ARB prog parser: Regenerate parser from previous commits. | Ian Romanick | |
2009-11-06 | ARB prog parser: Release old program string in ↵ | Ian Romanick | |
_mesa_parse_arb_{fragment,vertex}_program The program structure passed to _mesa_parse_arb_program is just a place holder. The stings that actually need to be released are only known to the functions calling _mesa_parse_arb_program, so they should be freed there. | |||
2009-11-06 | ARB prog parser: Release strings returned from the lexer that don't need to ↵ | Ian Romanick | |
be kept | |||
2009-11-06 | Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface" | Ian Romanick | |
This reverts commit 93dae6761bc90bbd43b450d2673620ec189b2c7a. This change was completely broken when the parser uses multiple strings in a single production. It would be nice if bug fixes could initially land somewhere other than the stable branch. | |||
2009-11-06 | i965g: First clear! | Jakob Bornecrantz | |
2009-11-06 | i965g: get rid of cc key, simplify state upload | Keith Whitwell | |
Keep a valid reloc table active between uploads, avoid recalculating it every time. | |||
2009-11-06 | i965g: trivial/clear can now send stuff to hardware | Jakob Bornecrantz | |
Added a flag if we should send commands to hardware as what we send isn't all that correct. | |||
2009-11-06 | i965g: Fix texture blanket function | Jakob Bornecrantz | |
2009-11-06 | i965g: Add functions needed by the winsys | Jakob Bornecrantz | |
2009-11-06 | i965g: Winsys whitespace | Jakob Bornecrantz | |
2009-11-06 | i965g: Build winsys again | Jakob Bornecrantz | |
2009-11-06 | i965g: Header whitespace | Jakob Bornecrantz | |
2009-11-06 | i965g: get brw_state_debug.c building | Keith Whitwell | |
2009-11-06 | llvmpipe: Fix build with llvm 2.6. | José Fonseca | |
Fixes bug 24949. | |||
2009-11-06 | intel: call intel_check_front_buffer_rendering() in intelClear() | Brian Paul | |
fixes bug 24953. | |||
2009-11-06 | i965g: propogate index size state | Keith Whitwell | |
2009-11-06 | i965g: remove references to brw_surface_bo() | Keith Whitwell | |
2009-11-06 | i965g: plumb through fb_write target and eot data | Keith Whitwell | |
2009-11-06 | i965g: propogate nr_cbufs into wm prog key | Keith Whitwell | |
2009-11-06 | mesa: Export S3_s3tc as well. | José Fonseca | |
Used in Quake3. | |||
2009-11-06 | mesa: Translate MAP_UNSYNCHRONIZED_BIT. | José Fonseca | |
2009-11-06 | gallium: Add UNSYNCHRONIZED cpu access flag. Document others. | José Fonseca | |
2009-11-06 | i965g: init saturate field in fp dst_reg helper | Keith Whitwell | |
2009-11-06 | i965g: add dumping for our new pass_fp output | Keith Whitwell | |
2009-11-06 | i965g: disassemble each instruction as generated | Keith Whitwell | |
2009-11-06 | i965g: hardwire linear interpolation for now | Keith 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-06 | i965g: fix some reloc counts | Keith Whitwell | |
2009-11-06 | i965g: don't set up vs stack register for non-branching shaders | Keith Whitwell | |
2009-11-06 | i965g: add DEBUG_MIN_URB flag | Keith Whitwell | |
2009-11-06 | i965g: tgsi outputs cannot be used as source regs | Keith Whitwell | |
2009-11-06 | i965g: use curr.vertex_element state directly | Keith Whitwell | |
2009-11-06 | i965g: don't emit line stipple packet if stipple disabled | Keith Whitwell | |
2009-11-06 | i965g: populate brw_context chipset id | Keith Whitwell | |
2009-11-06 | i965g: make sure blend color packet header is initialized | Keith 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-06 | i965g: remove/disable inactive state atoms | Keith Whitwell | |
2009-11-06 | i965g: populate wm reloc array earlier | Keith Whitwell | |
Still have to calculate the reloc background in two places. | |||
2009-11-06 | i965g: point_rast_rule comment no longer applies | Keith Whitwell | |
Not sure exactly what state we want here now, will need to experiment. | |||
2009-11-06 | i965g: scissor off by one | Keith Whitwell | |
2009-11-06 | i965g: restore code to populate the relocation background | Keith 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-06 | st/xorg: unify vertex buffer handling | Zack Rusin | |
first step on our way to batching | |||
2009-11-05 | xmesa: pass pixmap to clip_for_xgetimage() | Brian Paul | |
The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault. | |||
2009-11-05 | i965g: clean up winsys dumping code a little | Keith Whitwell | |
2009-11-05 | i965g: pass relocation information in an array with bo_subdata | Keith 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-05 | i965g: propogate map-buffer-range semantics down to winsys | Keith Whitwell | |
2009-11-05 | i965g: make the winsys responsible for all buffer->offset handling | Keith 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-05 | mesa: fix infinite loop bug in _mesa_drawbuffers() | Brian Paul | |
Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d. | |||
2009-11-05 | i965g: remove duplicate viewport state in brw_context | Keith Whitwell | |
2009-11-05 | i965g: correct sense of writedisable flags | Keith Whitwell | |