summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* slang: Fix allocation size.Michal Krol2009-11-241-2/+2
| | | | We don't need 16K+ to store a single pointer.
* mesa: Fix pointer arithmetic.Michal Krol2009-11-241-1/+3
|
* r300: fix swtcl bo leak problem.Dave Airlie2009-11-241-3/+5
| | | | | | | We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <[email protected]>
* radeon/r200/r300/r600: make bo mapping be explicitDave Airlie2009-11-2410-23/+60
| | | | | | | | | | This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <[email protected]>
* mesa: use gcc __builtin_popcount()Brian Paul2009-11-231-0/+4
|
* Merge commit 'origin/mesa_7_7_branch'Maciej Cencora2009-11-2313-56/+97
|\
| * radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied)
| * mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee2009-11-231-1/+1
| |
| * r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora2009-11-221-1/+1
| | | | | | | | | | On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
| * r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora2009-11-221-5/+5
| |
| * radeon: fix compressed mipmapped texturesMaciej Cencora2009-11-212-22/+29
| | | | | | | | Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
| * radeon: fix glCompressedTexSubImageMaciej Cencora2009-11-211-10/+12
| |
| * intel: make CopyTex[Sub]Image fallback debug messages more consistentRoland Scheidegger2009-11-211-2/+8
| |
| * mesa: handle different RowStride in _mesa_get_compressed_teximageRoland Scheidegger2009-11-211-6/+21
| | | | | | | | | | | | drivers storing compressed textures with non-native stride but relying on _mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't work correctly (for instance i965 compressed mipmaps).
| * i965: Fix several memory leaks on exit.Eric Anholt2009-11-214-5/+11
| | | | | | | | Bug #25194.
| * mesa: Fix NULL deref in optimizer when NumInstructions == 0.Eric Anholt2009-11-201-1/+1
| | | | | | | | Bug #24984.
* | slang: Check return value from emit_instruction().Michal Krol2009-11-231-6/+67
| |
* | slang: Be more robust with memory in concat_shaders().Michal Krol2009-11-231-3/+19
| |
* | r600 : add support for shader instruction trunc and discard.Richard Li2009-11-222-29/+78
| |
* | r600: hopefully fix segfault.Dave Airlie2009-11-231-1/+2
| |
* | r600: fix inline issuesDave Airlie2009-11-232-4/+2
| |
* | r600 : add stack depth calculation, enable CF pop.Richard Li2009-11-223-161/+223
| |
* | r600 : use cf for all pop now, left optimization for future.Richard Li2009-11-222-16/+42
| |
* | r600 : eliminate Wondows line ending for test code.Richard Li2009-11-201-28/+28
| |
* | Merge remote branch 'origin/mesa_7_7_branch'Dave Airlie2009-11-2030-696/+665
|\|
| * r100: fix texture_from_pixmap and compiz.Dave Airlie2009-11-201-7/+10
| | | | | | | | | | | | | | | | r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <[email protected]>
| * st/mesa: replace st_flush() with pipe->flush()Brian Paul2009-11-191-1/+1
| | | | | | | | | | We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
| * vbo: added recursion check in vbo_exec_FlushVertices()Brian Paul2009-11-191-1/+17
| |
| * st/mesa: get rid of compressed_num_bytes() codeBrian Paul2009-11-191-36/+4
| |
| * st/mesa: remove is_compressed_mesa_format()Brian Paul2009-11-191-21/+2
| |
| * st/mesa: remove pointless assertionBrian Paul2009-11-191-2/+0
| |
| * r300: allow disabling s3tc support if libtxc_dxtn is availableMaciej Cencora2009-11-181-3/+3
| |
| * Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora2009-11-1826-624/+627
| |\
| | * r600: align for mipmap tree changesMaciej Cencora2009-11-183-40/+24
| | |
| | * r200: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| | |
| | * radeon: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| | |
| | * radeon: return false on texture validation if texture isn't completeMaciej Cencora2009-11-141-3/+3
| | |
| | * radeon: rework mipmap treeMaciej Cencora2009-11-148-364/+400
| | |
| | * radeon: more texture code refactoringMaciej Cencora2009-11-141-116/+92
| | |
| | * radeon: minor refactoring of texture codeMaciej Cencora2009-11-141-11/+46
| | | | | | | | | | | | Also properly set dstImageOffsets for TexSubImage case.
| | * radeon: rework mipmap tree reference countingMaciej Cencora2009-11-145-37/+30
| | |
| | * r300: fix regression introduced in 1d5a06a1f7812c055db1d724e40d21a0e3686dd1Maciej Cencora2009-11-141-1/+1
| | | | | | | | | | | | Spotted by Dave Airlie
| | * radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora2009-11-144-23/+3
| | |
| | * radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora2009-11-142-3/+19
| | |
| | * radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora2009-11-142-2/+5
| | | | | | | | | | | | mode
| | * radeon: fix glBufferSubDataMaciej Cencora2009-11-141-0/+5
| | |
| | * radeon: add radeon_bo_is_referenced_by_cs functionMaciej Cencora2009-11-141-0/+13
| | |
| | * radeon: remove unnecessary call to radeonEmitStateMaciej Cencora2009-11-141-2/+0
| | | | | | | | | | | | fixes bo space accounting errors
| | * r300: add missing texformatMaciej Cencora2009-11-141-0/+1
| | |
| | * r300: remove unneeded includesMaciej Cencora2009-11-143-5/+0
| | |