summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-29mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array.
2009-11-28mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array.
2009-11-28dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
2009-11-28mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
2009-11-28radeon: need to flush cs when moving images between mipmap treesMaciej Cencora
2009-11-28util: Fix bad code.Corbin Simpson
Uf. How embarrassing.
2009-11-28util: Improve bitcount.Corbin Simpson
Sorry for not pushing this before, it got lost in stashes.
2009-11-27nv50: do conversion of last insn to 64 bit format firstChristoph Bumiller
Simplifies things since the second to last one will then be converted in the subsequent pass that ensures alignment automatically.
2009-11-27nv50: bswap32 the polygon stipple patternChristoph Bumiller
The hardware wants the pattern the same way it is passed to glPolygonStipple.
2009-11-27gallium/util: added util_bswap32()Christoph Bumiller
2009-11-27scons: Promote pointer arithmetic to error.José Fonseca
All code covered by scons is being built on multiple OSes, so pointer arithmetic must really be addressed when spotted.
2009-11-27configs: Warn about pointer arithmetic.José Fonseca
It's not portable. Warn to help catching it early.
2009-11-27mesa: Avoid void pointer arithmetic.José Fonseca
2009-11-27svga: fix for not using texture width/height/depth arraysRoland Scheidegger
2009-11-27r300g,llvmpipe: fix some more merge problemsRoland Scheidegger
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-27st/xorg: proper fix for compositing after rounding upKeith Whitwell
Basically don't round up shared textures. This fixes compiz, but I'm afraid that rounding up texture sizes here in the driver is doomed, as it will inevitably break texture wrap modes.
2009-11-27rbug: Mention where the GUI can be found.José Fonseca
2009-11-27svga: Re-add shader dumping.José Fonseca
2009-11-27Revert "st/xorg: fix composite after texture size changes"Keith Whitwell
This reverts commit 124ae596806f1a77af46f1f0e446d448da6e953a. Pushed by mistake
2009-11-27st/xorg: fix composite after texture size changesKeith Whitwell
2009-11-27wgl: Fix copy'n'paste typo in comment.José Fonseca
2009-11-27svga: Handle comment tokens when dumping.José Fonseca
2009-11-27svga: Use consistent names for public symbol names of shader dumping facilities.José Fonseca
2009-11-27svga: Use consistent file names for dumping facilities.José Fonseca
2009-11-27st/xorg: speculatively round textures up to nearest POTKeith Whitwell
I'm not sure if this is a great change, but helps with caching. Probably we want to turn this on/off on a driver-by-driver basis.
2009-11-27st/xorg: free last fenceKeith Whitwell
2009-11-27svga: flush our command buffer after the 8th distinct render targetKeith Whitwell
This helps improve the surface cache behaviour in the face of the large number of single-use render targets generated by EXA and the xorg state tracker. Without this we can reference hundreds of individual render targets from a command buffer, which leaves little scope for sharing or reuse of those targets. Flushing early means we can start reusing textures much sooner. This shouldn't have much effect on normal 3d rendering as it's pretty rare to have a command buffer with >8 different render targets in that world.
2009-11-27svga: add DEBUG_CACHE optionKeith Whitwell
2009-11-27vega: Update shader headers.Michal Krol
Drop the 1.1 version suffix.
2009-11-27python/tests: Update shader headers.Michal Krol
Drop the 1.1 version suffix.
2009-11-27svga: Update text shader header.Michal Krol
2009-11-27vl: Do not emit tgsi_version token.Michal Krol
2009-11-27tgsi: Remove tgsi_version token.Michal Krol
2009-11-27gallium: Remove tgsi_version token.Michal Krol
Not really needed, never served its purpose.
2009-11-26svga: Prevent potential null pointer dereference in vmw_surface.c.Vinson Lee
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays
2009-11-26tgsi/exec: Fix orientation of DDY.Michal Krol
2009-11-26tgsi/exec: Force return from a subroutine at ENDSUB.Michal Krol
2009-11-26draw: Fix max_index check.Keith Whitwell
We want to fallback to draw splitting when vertex element indices might be too high for atomic draw path (currently limited to 4095).
2009-11-26tgsi/ureg: Add forgotten goto in ureg_DECL_constant().Michal Krol
2009-11-26llvmpipe: Fake missing SSSE3 when simulation less capabable machines.José Fonseca
SSE3 != SSSE3 and so far we only use the later.
2009-11-26llvmpipe: Update/correct CPU requirements.José Fonseca
There are no hard requirements at the moment. We don't really emit any sse3 yet. Just some ssse3. Thanks to Roland for spotting these incorrections.
2009-11-25Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errorsIan Romanick
This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950).
2009-11-26Merge commit 'origin/st-shader-varients'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_atom_shader.c src/mesa/state_tracker/st_program.c
2009-11-25scons: Make it work with MinGW build of LLVM 2.6.José Fonseca
LLVM 2.5 is no longer supported on windows.
2009-11-25tgsi: Fix token builder.Michal Krol
2009-11-25tgsi: Update raw token dumper after token definition changes.Michal Krol
2009-11-25radeon: fix context destroy needing lock for flushing.Dave Airlie
Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25r600: add ARB_texture_non_power_of_two support.Dave Airlie
This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com>