summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: added cases for SRGB formatsBrian Paul2009-08-271-0/+10
|
* glsl: signal that the program needs to be re-translated when samplers changeBrian Paul2009-08-261-4/+15
|
* docs: document sampler array bug fixBrian Paul2009-08-261-0/+1
|
* progs/glsl: add special Makefile rule for samplers_arrayBrian Paul2009-08-261-1/+3
|
* progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul2009-08-261-4/+12
| | | | | Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
* glsl: fix bug in sampler array indexingBrian Paul2009-08-261-3/+7
| | | | | | | | | 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.
* ARB prog: Set error instead of falling through with incorrect valueBrian Paul2009-08-241-0/+3
| | | | | | | | | | | | | | 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)
* docs: recent 7.5.1 bug fixesBrian Paul2009-08-241-0/+2
|
* xlib: fix single buffer window resize bugBrian Paul2009-08-241-0/+1
| | | | | | 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...
* vbo: fix divide by zero exceptionBrian Paul2009-08-241-1/+1
| | | | Fixes bug 23489.
* glsl: Silence gcc uninitialized variable warning.Vinson Lee2009-08-241-1/+1
|
* st/mesa: flush bitmap cache if Z value changesBrian Paul2009-08-211-5/+11
| | | | | | | 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 <[email protected]>
* tgsi: check for SOA dependencies in SSE and PPC code generatorsBrian Paul2009-08-202-0/+8
| | | | Fall back to interpreter for now. This doesn't happen very often.
* tgsi: handle SOA dependencies for MOV/SWZBrian Paul2009-08-202-14/+40
| | | | | | | | | | | | | | | | | | | | | | 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.
* tgsi: added tgsi_full_instruction::Flags fieldBrian Paul2009-08-202-0/+3
| | | | Users of the parser can make use of this.
* tgsi/ppc: we don't implement saturation modes yetBrian Paul2009-08-181-0/+5
|
* tgsi/sse: we don't implement saturation modes yetBrian Paul2009-08-181-0/+4
| | | | Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
* mesa: when emitting vertex program fog, set yzw=0,0,1Brian Paul2009-08-181-0/+2
| | | | Fixes piglit fp-fog failure with gallium.
* progs/demos: print more info in fbotexture.cBrian Paul2009-08-141-4/+24
|
* gallium: Always map for READ flag when DISCARD is not set.José Fonseca2009-08-141-0/+7
| | | | | | | | | | 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.
* trace: Remove space next to the class attribute of the trace.José Fonseca2009-08-141-1/+1
|
* python/retrace: Open bz2 files correctly.José Fonseca2009-08-141-1/+1
|
* docs: docs: document new --with-max-width/height config optionsBrian Paul2009-08-141-0/+2
|
* Add a FAQ about internal buffer sizes.Brian Paul2009-08-141-0/+13
| | | | (cherry picked from master, commit 9a8781bd24730374e14568f67f7db8a9cc444bb4)
* Add configure options for MAX_WIDTH/HEIGHT.Brian Paul2009-08-141-0/+15
| | | | | | | | | | | 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)
* Allow external settings of MAX_WIDTH/HEIGHT.Brian Paul2009-08-141-2/+7
| | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f)
* mesa: move assertions in test_attachment_completeness()Brian Paul2009-08-141-5/+7
| | | | Put the assertions after the error checks.
* mesa: fix some invalid memory readsBrian Paul2009-08-131-18/+57
| | | | | We were passing the address of a float to functions that would deref the pointer as an array.
* progs/tests: hack a PBO/dlist testBrian Paul2009-08-131-0/+18
|
* mesa: fix warnings about locals hiding function paramsBrian Paul2009-08-132-6/+6
|
* mesa: add missing PBO mapping code in unpack_image()Brian Paul2009-08-131-7/+21
|
* main: fix some potential memory leaksBrian Paul2009-08-131-112/+85
| | | | | Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
* mesa: fix some potential uninitialized memory referencesBrian Paul2009-08-132-2/+2
|
* glsl: fix some uninitialized pointersBrian Paul2009-08-131-2/+2
|
* draw: cope with more primitives in draw_pipeline_runKeith Whitwell2009-08-131-22/+55
| | | | | | | | 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)
* dri: Fix problems with unitialized values in dri screen object.Pauli Nieminen2009-08-071-1/+1
| | | | | | 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 <[email protected]>
* util: fix incorrect assertionBrian Paul2009-08-061-1/+1
| | | | Check that the dest surface/format is renderable.
* util: include u_surface.h, added commentBrian Paul2009-08-061-0/+2
|
* util: use util_same_surface() to compare surface pointersBrian Paul2009-08-061-3/+3
|
* util: added util_same_surface() helper functionBrian Paul2009-08-061-0/+17
|
* Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane2009-08-061-0/+1
|
* docs:fix glBlitFramebuffer() for GalliumBrian Paul2009-08-051-0/+1
|
* st/mesa: implement BlitFramebuffer() for depth/stencil (incomplete)Brian Paul2009-08-051-29/+80
| | | | | | 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.
* mesa: generate GL_INVALID_OPERATION for missing z/stencil when blittingBrian Paul2009-08-051-2/+6
| | | | | | If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent, report an error.
* st/mesa: fix Y inversion and optimize st_BlitFramebuffer()Brian Paul2009-08-051-3/+25
| | | | | | | | | Need to check for Y inversion separately for src/dest buffers. If both the src and dest regions are upside down, make them right-side up for a better chance at a fast path. progs/tests/copypixrate -blit is much faster now.
* util: added comment/question about blit clippingBrian Paul2009-08-051-0/+1
|
* mesa: make _mesa_clip_blit() a shared functionBrian Paul2009-08-053-180/+187
|
* util: added util_blit_pixels() overlap testBrian Paul2009-08-051-2/+34
| | | | A comment alluded to this. Now it's checked.
* util: fix util_blit_pixels() test for surface_copy() pathBrian Paul2009-08-051-16/+24
| | | | | | For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit
* util: reformatting and commentsBrian Paul2009-08-051-3/+10
|