summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-31mesa: fix 32bit cross compilation on a 64bit machineMarc Dietrich
When cross compiling on a 64bit machine, gen_matypes.c is build for the host machine (64bit) but must generates code for the target machine (32bit). This causes wrong offsets all over the place and crashes googleearth on my machine. Solution is to add -m32 when cross compiling. Attached patch is compatible with linux-x86-32 and autoconf based builds.
2009-08-30glx/x11: Fix glXCreateGLXPixmap for direct rendering.Michel Dänzer
Fixes progs/xdemos/glxpixmap modified to use direct rendering.
2009-08-28util: Reset size to zero when failed to allocate buffer.José Fonseca
2009-08-27docs: fix selection/feedback culling bugBrian Paul
2009-08-27swrast: fix incorrect tri culling in selection/feedback mode.Brian Paul
See bug 16866.
2009-08-27mesa: direct program debug output to stderr instead of stdoutmarvin24
2009-08-27gallium/util: added support for SRGB formatsBrian Paul
Fixes glean/texture_srgb failure, bug #23449.
2009-08-27gallium/util: added cases for SRGB formatsBrian Paul
2009-08-26glsl: signal that the program needs to be re-translated when samplers changeBrian Paul
2009-08-26docs: document sampler array bug fixBrian Paul
2009-08-26progs/glsl: add special Makefile rule for samplers_arrayBrian Paul
2009-08-26progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul
Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
2009-08-26glsl: fix bug in sampler array indexingBrian Paul
Need to add the 'offset' parameter when indexing the parameter array. Before, if we were setting arrays of samplers, we were actually only setting the 0th sampler's value. Because of how progs/glsl/samplers.c is constructed, this wasn't showing up as a failure in the samplers_array output.
2009-08-24ARB prog: Set error instead of falling through with incorrect valueBrian Paul
If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect. (cherry picked from master, commit 4bccd693a72a0b42dffc849034263a68e779ca91)
2009-08-24docs: recent 7.5.1 bug fixesBrian Paul
2009-08-24xlib: fix single buffer window resize bugBrian Paul
When a single-buffered window was resized the new window size was never detected. This fix that, but there's still a bug which causes window contents corruption for certain window sizes...
2009-08-24vbo: fix divide by zero exceptionBrian Paul
Fixes bug 23489.
2009-08-24glsl: Silence gcc uninitialized variable warning.Vinson Lee
2009-08-21st/mesa: flush bitmap cache if Z value changesBrian Paul
When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <justin.dou@intel.com>
2009-08-20tgsi: check for SOA dependencies in SSE and PPC code generatorsBrian Paul
Fall back to interpreter for now. This doesn't happen very often.
2009-08-20tgsi: handle SOA dependencies for MOV/SWZBrian Paul
SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
2009-08-20tgsi: added tgsi_full_instruction::Flags fieldBrian Paul
Users of the parser can make use of this.
2009-08-18tgsi/ppc: we don't implement saturation modes yetBrian Paul
2009-08-18tgsi/sse: we don't implement saturation modes yetBrian Paul
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
2009-08-18mesa: when emitting vertex program fog, set yzw=0,0,1Brian Paul
Fixes piglit fp-fog failure with gallium.
2009-08-14progs/demos: print more info in fbotexture.cBrian Paul
2009-08-14gallium: Always map for READ flag when DISCARD is not set.José Fonseca
This prevents the driver from discarding a buffer when the whole buffer is mapped for writing, but only a portion is effectively written. This is a temporary fix, because WRITE shouldn't imply DISCARD. The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout the code, and will go only into master.
2009-08-14trace: Remove space next to the class attribute of the trace.José Fonseca
2009-08-14python/retrace: Open bz2 files correctly.José Fonseca
2009-08-14docs: docs: document new --with-max-width/height config optionsBrian Paul
2009-08-14Add a FAQ about internal buffer sizes.Brian Paul
(cherry picked from master, commit 9a8781bd24730374e14568f67f7db8a9cc444bb4)
2009-08-14Add configure options for MAX_WIDTH/HEIGHT.Brian Paul
This adds two --with configure options for setting defines for MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define these in CFLAGS manually, but this way users don't need to know about internal Mesa details. Patch updated by BrianP to set DEFINES, not CFLAGS. (cherry picked from master, commit 7085dce750f478312a47f474330d63cc900a8448)
2009-08-14Allow external settings of MAX_WIDTH/HEIGHT.Brian Paul
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f)
2009-08-14mesa: move assertions in test_attachment_completeness()Brian Paul
Put the assertions after the error checks.
2009-08-13mesa: fix some invalid memory readsBrian Paul
We were passing the address of a float to functions that would deref the pointer as an array.
2009-08-13progs/tests: hack a PBO/dlist testBrian Paul
2009-08-13mesa: fix warnings about locals hiding function paramsBrian Paul
2009-08-13mesa: add missing PBO mapping code in unpack_image()Brian Paul
2009-08-13main: fix some potential memory leaksBrian Paul
Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
2009-08-13mesa: fix some potential uninitialized memory referencesBrian Paul
2009-08-13glsl: fix some uninitialized pointersBrian Paul
2009-08-13draw: cope with more primitives in draw_pipeline_runKeith Whitwell
This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
2009-08-07dri: Fix problems with unitialized values in dri screen object.Pauli Nieminen
This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-06util: fix incorrect assertionBrian Paul
Check that the dest surface/format is renderable.
2009-08-06util: include u_surface.h, added commentBrian Paul
2009-08-06util: use util_same_surface() to compare surface pointersBrian Paul
2009-08-06util: added util_same_surface() helper functionBrian Paul
2009-08-06Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane
2009-08-05docs:fix glBlitFramebuffer() for GalliumBrian Paul
2009-08-05st/mesa: implement BlitFramebuffer() for depth/stencil (incomplete)Brian Paul
We now handle the case of blitting Z+stencil to/from combined Z/stencil surfaces. But Z-only or stencil-only and separate depth/stencil surfaces are not yet implemented.