summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell2009-11-249-17/+17
| | | | | | | | It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
* gallium: simplify tgsi tokens furtherKeith Whitwell2009-11-2417-721/+160
| | | | | | | | | | | | | | | Drop anonymous 'Extended' fields, have every optional token named explicitly in its parent. Eg. there is now an Instruction.Label flag, etc. Drop destination modifiers and other functionality which cannot be generated by tgsi_ureg.c, which is now the primary way of creating shaders. Pull source modifiers into the source register token, drop the second negate flag. The source register token is now full - if we need to expand it, probably best to move all of the modifiers to a new token and have a single flag for it.
* tgsi: Document Declaration Semantic token and FACE semantic name.Michal Krol2009-11-241-0/+32
|
* 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
|
* tgsi: Implement predicated instructions in exec.Michal Krol2009-11-242-5/+48
|
* tgsi: Add ureg_DECL_loop().Michal Krol2009-11-242-0/+25
|
* tgsi: Account for gallium shader token representation changes.Michal Krol2009-11-245-132/+106
|
* gallium: Refactor the instruction predicate TGSI token.Michal Krol2009-11-241-10/+7
| | | | | | | | | Rename it to tgsi_instruction_predicate -- it's no longer an extended token. Its presence is indicated by a new flag in tgsi_instruction that indicates whether an instruction is predicated. Also, change predicate index representation to match the other tokens that specify register indices.
* 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
|
* r300g: use util_bitcount()Brian Paul2009-11-231-17/+2
|
* egl: use util_bitcount()Brian Paul2009-11-231-14/+4
|
* gallium/util: added util_bitcount()Brian Paul2009-11-231-0/+20
|
* Merge commit 'origin/mesa_7_7_branch'Maciej Cencora2009-11-2344-103/+180
|\
| * radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied)
| * Merge branch 'mesa_7_7_branch' of ↵Maciej Cencora2009-11-2312-32/+29
| |\ | | | | | | | | | http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch
| | * svga: Scrub Makefiles a bitJakob Bornecrantz2009-11-232-20/+2
| | | | | | | | | | | | | | | | | | Remove x86 specific hacks. Not that they will ever be used on none x86 arches, but they are built by default. And the way the flags where added was a hack.
| | * mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee2009-11-231-1/+1
| | |
| | * glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee2009-11-231-1/+3
| | |
| | * glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee2009-11-231-0/+1
| | |
| | * glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee2009-11-231-0/+2
| | |
| | * 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
| | |
| | * glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee2009-11-221-0/+2
| | |
| | * glu: Fix memory leak in __gl_meshMakeEdge.Vinson Lee2009-11-221-1/+6
| | |
| | * svga: Prevent potential null pointer deference in vmw_surface.c.Vinson Lee2009-11-221-1/+1
| | |
| | * svga: Fix memory leak in vmw_screen_ioctl.cVinson Lee2009-11-221-0/+1
| | |
| | * st/xorg: Prevent potential null pointer deference in xorg_xv.c.Vinson Lee2009-11-221-1/+1
| | |
| | * st/xorg: Reorder cases in switch statement.Vinson Lee2009-11-221-1/+3
| | | | | | | | | | | | Silences missing break statement warning.
| | * 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
| | |
| * | 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.
| * st/egl: Fix memory leak in egl_tracker.c.Vinson Lee2009-11-201-1/+1
| |
| * draw: Initialize variable in draw_pt.c.Vinson Lee2009-11-201-1/+2
| |
| * progs/xdemos: Fix memory leak in pbinfo.c.Vinson Lee2009-11-201-0/+1
| |
| * progs/xdemos: Fix memory leak in pbdemo.c.Vinson Lee2009-11-201-0/+1
| |
| * progs/xdemos: Fix memory leak in glxpbdemo.c.Vinson Lee2009-11-201-0/+1
| |
| * progs/xdemos: Remove duplicate code in glxinfo.c.Vinson Lee2009-11-201-2/+0
| |
| * progs/xdemos: Add assert in corender.c.Vinson Lee2009-11-201-0/+1
| |
| * i915g: Add missing break statement in i915_debug.c.Vinson Lee2009-11-201-0/+1
| |
| * gallium/util: Initialize variables in u_pack_color.h.Vinson Lee2009-11-201-1/+4
| |
| * st/xorg: Flush any pending operations on uploadJakob Bornecrantz2009-11-181-0/+5
| |
| * st/xorg: Unbind any textures in solidJakob Bornecrantz2009-11-181-0/+2
| | | | | | | | Helps debuging with rbug
| * Fix vega compilation.Alan Hourihane2009-11-203-5/+12
| |