summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-16docs: document GLSL float parsing bug fixBrian Paul
2009-10-16mesa: use C locale for _mesa_strtod()Brian Paul
_mesa_strtod() is used for shader/program parsing where the decimal point character is always '.' Use strtod_l() with a "C" locale to ensure correct string->double conversion when the actual locale uses another character such as ',' for the decimal point. Fixes bug 24531.
2009-10-15Use the right pitch when rendering to a textureOwen Taylor
We need to get the pitch from the texture level we are rendering to, rather than just using the base texel width.
2009-10-15r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported.Robert Noland
Report unsupported attributes while I'm here. Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: cleanup in r600_cs_process_relocs().Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15radeon: return EINVAL for 0 length buffers.Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: fix tfp1 bo sizeAndre Maasikas
Setting the wrong bo size resulting in an incomplete read cache flush when reading the texture. This fixes the compiz text corruption. [agd5f: take hw pitch alignment into account]
2009-10-15r600: implement ProgramStringNotifyAndre Maasikas
need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-15r600: LIT dst.y gets value from src.xAndre Maasikas
seems I overlooked this when removing hardcoded swizzles for this one previously
2009-10-15r600: DPH adds w comp of second operand, so set first one to 1 insteadAndre Maasikas
2009-10-15r600: fixup KIL instruction a bitAndre Maasikas
- KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
2009-10-15r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas
makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: user correct alpha blend factorAndre Maasikas
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: clear position enable bit when when wpos is not used by FPAndre Maasikas
Makes doom3 alot nicer..
2009-10-15mesa: regenerated lex.yy.c w/ _mesa_strtod()Brian Paul
2009-10-15mesa: Use _mesa_strtod in the lexer for assembly shadersNeil Roberts
See bug 24531.
2009-10-14progs/Makefile: remove extra quotingBrian Paul
This reverts part of commit 115edf24a9128b79dfa5f30482c990e2cb898357 and fixes the error: "/bin/sh: line 0: test: too many arguments".
2009-10-13Fix build when PROGRAM_DIRS is empty.Tom Fogal
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set to the empty string (as can happen when building only OSMesa), a 'for' loop will lack anything to iterate over, causing a parse error. This fixes the issue by making sure SUBDIRS is the null string when PROGRAM_DIRS is, and wrapping the for loops in if's, causing them only to execute if there are directories to iterate over.
2009-10-13ac: Fix AIX shared library builds.Tom Fogal
AIX uses ".a" for both static and shared library extensions.
2009-10-11i965: Fix the last valid address setting for the index buffer.Eric Anholt
Again, last valid address, not first invalid address. Fixes regression in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches and caused piglit draw_elements_base_vertex to fail.
2009-10-11i965: Fix the bounds emitted in the vertex buffer packets.Eric Anholt
It's the address of the last valid byte, not the address of the first invalid byte. This should also fix problems with rendering with the new sanity checks in the kernel.
2009-10-10softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul
This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
2009-10-09radeon: fix scissor regressionAlex Deucher
fixes fdo bug 24248
2009-10-09docs: fix aux buffer bug 24426Brian Paul
2009-10-09st/mesa: create aux buffers according to visualBrian Paul
Fixes bug 24426 for gallium.
2009-10-09mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul
Fixes bug 24426.
2009-10-08mesa: regenerated gl_mangle.h fileBrian Paul
2009-10-07gallium/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul
See bug 24321.
2009-10-07mesa/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul
See bug 24321.
2009-10-07mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()Brian Paul
They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
2009-10-07shader_api: Fix bounds checking of glUniform and glUniformMatrixNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2009-10-07prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-07docs: fix glXQueryDrawable() bugsBrian Paul
2009-10-07mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07progs/xdemos: test glXQueryDrawable()Brian Paul
2009-10-07progs/xdemos: fix swapped parameters to CreatePbuffer()Brian Paul
2009-10-07swrast: s/GLfloat/GLuint/ in bzero()Brian Paul
2009-10-07swrast: add missing returnsBrian Paul
2009-10-07progs/test: Fix MSVC build.Vinson Lee
2009-10-07mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-07gallium/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-05intel: use driReadDrawable in do_copy_texsubimage()Brian Paul
2009-10-05intel: use driReadDrawable, not driDrawable in do_blit_readpixels()Brian Paul
2009-10-05intel: remove a buffer equality test in _mesa_make_current()Brian Paul
Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
2009-10-05Fix building of GLSL demos which use M_PIJon TURNEY
Some <math.h> files do not define M_PI, in which case, provide our own definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-10-05Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer
Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
2009-10-04r200: remove subpixel offset from viewportFrederic Crozat
Fixes bug fdo 20340 for r200.
2009-10-03r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle
The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>