summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt2009-12-226-9/+13
| | | | Shaves 400 bytes or so from i915_dri.so.
* intel: Replace IS_965 checks with context structure usage.Eric Anholt2009-12-228-16/+18
| | | | Saves another 600 bytes or so of code.
* intel: Replace IS_G4X() across the driver with context structure usage.Eric Anholt2009-12-2216-59/+79
| | | | Saves ~2KB of code.
* intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.Eric Anholt2009-12-2224-62/+108
| | | | Saves ~480 bytes of code.
* mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname);Eric Anholt2009-12-221-3/+5
| | | | Fixes piglit ati-fs-bad-delete. Caught by clang.
* mesa: remove unnecessary store.Eric Anholt2009-12-221-3/+0
|
* mesa: Remove an unnecessary store reported by clang.Eric Anholt2009-12-221-2/+0
| | | | | This was a workaround for a compiler warning that was showing a real error. The real error was later fixed.
* intel: Fix leakage of active texture state in glBitmap fp metaops.Eric Anholt2009-12-221-0/+1
| | | | Noticed by clang.
* i915: Fix use of uninitialized variable in OPCODE_NOISE stub.Eric Anholt2009-12-221-1/+1
| | | | | | We don't actually care which register is used since we're just swizzling (0,0,0,0), but it should be a valid variable number. Detected by clang.
* mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.Eric Anholt2009-12-224-12/+7
| | | | | The same code is generated, and readers and static analyzers are happier.
* intel: Remove unused stored values reported by clang.Eric Anholt2009-12-225-18/+3
|
* mesa: Remove _mesa_exit wrapper for exit().Eric Anholt2009-12-2213-26/+12
| | | | | It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
* mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.Brian Paul2009-12-223-9/+27
| | | | This is a little more logical. Suggested in bug report 25654.
* mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instructionBrian Paul2009-12-222-6/+20
| | | | To be more consistant.
* mesa: added some assertions in BNGLOOP/ENDLOOP casesBrian Paul2009-12-221-0/+4
|
* i965g: fix for edgeflag changes (untested)Roland Scheidegger2009-12-225-33/+0
|
* Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-2253-371/+239
|\ | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * gallium: don't use edgeflags if the app didn't supply themRoland Scheidegger2009-12-193-4/+16
| |
| * gallium: fix not generating new vp varient when polygon mode changesRoland Scheidegger2009-12-191-1/+1
| |
| * gallium: fix up drivers for edgeflag changesRoland Scheidegger2009-12-1928-162/+22
| | | | | | | | | | several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
| * gallium: store edgflag info in tgsi_shader_infoRoland Scheidegger2009-12-182-7/+12
| | | | | | | | provides easier access for drivers which may base fallback decision on this
| * fix debug output mising from edgeflag changesRoland Scheidegger2009-12-182-7/+7
| |
| * gallium: fix mesa to tgsi translation for edgeflagsRoland Scheidegger2009-12-183-15/+31
| | | | | | | | test apps (progs/trivial/tri-edgeflags and similar) seem to work now
| * gallium: edgeflags change fixesRoland Scheidegger2009-12-165-22/+41
| | | | | | | | | | | | use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
| * gallium: more work for edgeflags changesRoland Scheidegger2009-12-1415-58/+34
| | | | | | | | | | fixes, cleanups, etc. not working yet
| * gallium: first steps to treat edgeflags as regular vertex elementKeith Whitwell2009-12-0915-131/+111
| | | | | | | | | | | | | | | | | | | | The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
* | tgsi: Implement BREAKC in interpreter.Michal Krol2009-12-221-0/+19
| |
* | i965g: fix bo_referenceKeith Whitwell2009-12-221-0/+2
| |
* | i965g: update for u_format changesKeith Whitwell2009-12-222-12/+13
| |
* | Merge branch 'i965g-restart'Keith Whitwell2009-12-22115-5/+36179
|\ \ | | | | | | | | | | | | Conflicts: configure.ac
| * | i965g: fixes to build after merge of masterKeith Whitwell2009-12-2118-101/+112
| | |
| * | i965g: remove half-finished change to tgsi_parseKeith Whitwell2009-12-212-4/+1
| | |
| * | Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-21816-33579/+66657
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | | ws/i965: respect DEBUG_WINSYS flagKeith Whitwell2009-12-211-29/+40
| | | |
| * | | i965g: hook vertex state emit up to PIPE_NEW_VERTEX_BUFFERKeith Whitwell2009-12-214-5/+10
| | | |
| * | | i965g: keep refcounts to bound vertex buffersKeith Whitwell2009-12-211-4/+19
| | | |
| * | | i965g: add DEBUG_WINSYS flagKeith Whitwell2009-12-212-2/+2
| | | |
| * | | i965g: remove duplicate set_viewport_state, fixes samples/depthKeith Whitwell2009-12-211-9/+0
| | | |
| * | | i965g: nasty hack for clearing y-tiled surfacesKeith Whitwell2009-12-011-1/+5
| | | |
| * | | i965g: add missing headerKeith Whitwell2009-12-011-0/+34
| | | |
| * | | i965g: don't reference unused vars in RSQKeith Whitwell2009-12-011-2/+3
| | | | | | | | | | | | | | | | Probably overly pedantic
| * | | mesa/st: avoid quadstrips if its easy to do soKeith Whitwell2009-12-011-3/+26
| | | | | | | | | | | | | | | | Tristrips are easier for many drivers to handle.
| * | | i965g: turn on texture tiling by defaultKeith Whitwell2009-11-303-7/+8
| | | |
| * | | i965g: pass backbuffer tiling information to driverKeith Whitwell2009-11-306-22/+21
| | | | | | | | | | | | | | | | The gem winsys gets this information, needs to pass it on.
| * | | ws/i965: more debug outputKeith Whitwell2009-11-302-12/+44
| | | |
| * | | ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HWKeith Whitwell2009-11-302-3/+1
| | | |
| * | | brw: add dumping to gem winsysKeith Whitwell2009-11-3015-109/+273
| | | |
| * | | i965g: remove redundant nr_attrs memberKeith Whitwell2009-11-304-12/+8
| | | |
| * | | i965g: remove surface from views list before freeingDave Airlie2009-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes a crash with the xorg state tracker, however it then locks up the GPU once rendering is enabled but at least it doesn't crash. Signed-off-by: Dave Airlie <[email protected]>
| * | | i965g: link xorg state tracker with -ldrm_intelDave Airlie2009-11-281-1/+1
| | | |