summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-07mesa: fix shader prog_execute strict aliasing violationsRoland Scheidegger
use unions instead of pointer casts.
2009-12-07progs/demos: Fix memory leak in projtex.c.Vinson Lee
2009-12-07gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
2009-12-07mesa: fix strict aliasing issues in half-to-float/float-to-half conversionsRoland Scheidegger
use union instead of casts
2009-12-07util/tile: Support R8G8B8A8_UNORM format.Michal Krol
2009-12-07st/mesa: remove debug codeBrian Paul
2009-12-07progs/glsl: updates to deriv.c testBrian Paul
Pass window size into the shader so scaling the window doesn't effect the colors.
2009-12-07st/mesa: negate DDY to match GL semanticsBrian Paul
This fixes the regression from commit 884007546c98b1779bf266ec5111b1e7e2b68b2e Fixes bug 25456 (piglit derivs regression).
2009-12-07st/mesa: fix up commentBrian Paul
2009-12-07progs/glsl: added texture mapping to bump demoBrian Paul
Press 't' to toggle texture map.
2009-12-06radeong: Automatically softpipe for non-r3xx.Corbin Simpson
Well, technically non-r[345]xx. At any rate... $ glxgears libGL: OpenDriver: trying /home/simpson/mesa/lib/gallium/r600_dri.so 131 frames in 5.0 seconds = 26.107 FPS I'm sure you can see where this is going. :3
2009-12-06radeong: Call softpipe_create directly.Corbin Simpson
Allows us to finally remove radeon_winsys_softpipe.
2009-12-06softpipe: sp_winsys.h should define/include what it needs.Corbin Simpson
2009-12-06r300g: Clean up previous commit.Corbin Simpson
If *I* can't read it, there's a strong possibility others can't, either.
2009-12-06r300g: enhance ZTOP conditionsMarek Olšák
2009-12-06nouveau: Work around nv04-nv40 miptrees not matching nouveau_miptree.Younes Manton
Thanks to Bob Gleitsmann for the patch. I'll clean this up in a better way later if noone else beats me to it.
2009-12-06st/egl: Fix memory leak in egl_tracker.c.Vinson Lee
(cherry picked from commit 052b127842af3372fd768eae8e29b240a696a12a)
2009-12-06r300g: don't render if everything is culled by scissoringMarek Olšák
Otherwise a CS is refused by kernel 2.6.31 (and maybe all later versions, not sure).
2009-12-06r300g: remove redundant code and clean upMarek Olšák
2009-12-06dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
(cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
2009-12-06dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
(cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
2009-12-06glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee
(cherry picked from commit 4b0b250aae6ae7d48cd24f9d91d05ab58086c4b2)
2009-12-05progs/tests: Add tests to Makefile.Vinson Lee
(cherry picked from commit 76d2ec3a0a047a65ffca70f53848241a3225dad3)
2009-12-05radeon/r200/r600: fix drivers for changes in ↵Alex Deucher
433f0a82f5a4696e6b0c4061f645485ec8079bb4
2009-12-05draw: Initialize variable in draw_pt.c.Vinson Lee
(cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. (cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. (cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. (cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array. (cherry picked from commit a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d)
2009-12-05st/xvmc: No more pf_get_block().Younes Manton
2009-12-05r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.Michel Dänzer
Just make it cover the whole framebuffer in that case. Otherwise the kernel CS checker may complain, e.g. running progs/demos/gearbox. That runs fast now here, but doesn't look right yet.
2009-12-05st/mesa: Prefer alpha-less formats for RGB textures.Michel Dänzer
This can e.g. increase the chance of being able to accelerate glCopyTex(Sub)Image from an alpha-less renderbuffer.
2009-12-05Add 'texture leak' test.Michel Dänzer
2009-12-05radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.Michel Dänzer
2009-12-05progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.Vinson Lee
2009-12-05progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.Vinson Lee
2009-12-05progs/samples: Add rgbtoppm to Makefile.Vinson Lee
2009-12-05progs/tests: Removed unused variable from texdown.c.Vinson Lee
2009-12-05progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.Vinson Lee
The return type of glGetUniformLocationARB is GLint, not GLuint.
2009-12-04progs/fp: Redraw upon keypress.Vinson Lee
2009-12-05svga: Dump SVGA_3D_CMD_BLIT_SURFACE_TO_SCREEN commands.José Fonseca
2009-12-05svga: Use _debug_printf, so that output may be dumped in release builds too.José Fonseca
The dump calls should be wrapped in #ifdef DEBUG .. #endif.
2009-12-05llvmpipe: Tweak disassembly to match gdb.José Fonseca
Helps verifying udis86 output.
2009-12-05llvmpipe: Stop disassembling when an unsupported opcode is found.José Fonseca
Otherwise the terminal gets full of garbage.
2009-12-04mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array. (cherry picked from commit a11d60d14caf8efc07f70af63b57b33273f8cf9b)
2009-12-04progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.Vinson Lee
(cherry picked from commit 11905da8836822f7dd60c84b5eefc72e46c94b50)
2009-12-04progs/util: Fix memory leak if fail to load/compile shaderVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit c475079ef2d901ba4506ebd53e19419cd46793ab)
2009-12-04progs/fp: Add tri-inv.c to Makefile.Vinson Lee
2009-12-04llvmpipe: Port vertex sampler support from softpipe.José Fonseca
Just enough boilerplate code to avoid segfaulting.
2009-12-04llvmpipe: Ensure transfers are mapped.José Fonseca
This shouldn't happen but it does by some misterious reason. Fail the assertion but at least do not segfault on release builds.