summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-17r300: don't emit vap index offset on r5xx hw when using csJerome Glisse
vap index offset is programmed to 0 by the kernel, it would add work to kernel checker to allow userspace programming of this so it's now disallowed with CS on KMS.
2009-06-17GLX: attempt to fix glean makeCurrent test cases.Dave Airlie
Two parts to this: One we don't keep pointers to possibly freed memory anymore once we unbind the drawables from the context. Brian I need to figure out what the comment you made there, can we get a glean/piglit test so we can fix it properly? If the new gc is the same as the oldGC, we call the unbind even though we just bound it in that function. doh.
2009-06-17radeon: fix warnings in wrapper with libdrmDave Airlie
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-16i965: fix bugs in projective texture coordinatesBrian Paul
For the TXP instruction we check if the texcoord is really a 4-component atttibute which requires the divide by W step. This check involved the projtex_mask field. However, the projtex_mask field was being miscalculated because of some confusion between vertex program outputs and fragment program inputs. 1. Rework the size_masks calculation so we correctly set bits corresponding to fragment program input attributes. 2. Rename projtex_mask to proj_attrib_mask since we're interested in more than just texcoords (generic varying vars too). 3. Simply the indexing of the size_masks and proj_attrib_mask fields. 4. The tracker::active[] array was mis-dimensioned. Use MAX_PROGRAM_TEMPS instead of a magic number. 5. Update comments, add new assertions. With these changes the Lightsmark demo/benchmark renders correctly, until we eventually hit a GPU lockup...
2009-06-16softpipe: fix out of bounds quad rasterization bugBrian Paul
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
2009-06-16i965: handle OPCODE_SWZ in the glsl pathRoland Scheidegger
glsl compiler will not generate OPCODE_SWZ, and as a first step it would be translated away to a MOV anyway (why?), but later internally this opcode is generated (for EXT_texture_swizzling).
2009-06-16mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
2009-06-16mesa: fix REMAINDER() macroBrian Paul
The results were incorrect for some negative values of A. See bug 21872.
2009-06-16gallium: Avoid atomic ops / locking when src is dst.José Fonseca
2009-06-16progs/wgl: Quit after displaying usage for -h option.José Fonseca
2009-06-16progs/wgl: Use appropriate types to silence msvc warnings.José Fonseca
2009-06-16progs/wgl: Fix assertion failure in wglthreads' texture creation.José Fonseca
2009-06-15docs: minor relnotes clean-upBrian Paul
2009-06-15Merge branch 'arb_map_buffer_range'Brian Paul
Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h
2009-06-15intel: Release fb backing regions in intelDestroyBuffer()Shuang He
Fixes memory leak when destroying framebuffers.
2009-06-15python/tests: Add is_depth_stencil_format utility function.José Fonseca
2009-06-15python/tests: Cleanup texture_sample.José Fonseca
2009-06-15mesa: Always return a value.José Fonseca
2009-06-15mesa: Use appropriate float/integer types.José Fonseca
2009-06-15mesa: Use type modifier for float constants.José Fonseca
2009-06-15mesa: Use integer type with appropriate sign.José Fonseca
2009-06-15rtasm: Use 32bit constant.José Fonseca
As we're only using 32bit bitmasks.
2009-06-15gallium: Ensure assert macro is defined before being used in p_thread.hJosé Fonseca
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-06-15mesa: revert some recent VBO buffer object refcounting changesBrian Paul
Reverts part of commit d7ea9ddf5824556e47decac7ba200f37cf1e552f. We were calling _mesa_reference_buffer_object() on some heap-allocated memory that was uninitialized and could trigger an assertion. We can actually go back to "looser" ref counting of the Null/default buffer object in these cases.
2009-06-15mesa: regenerated gl_mange.h fileBrian Paul
2009-06-15enable ARB_half_float_pixel for intel driversRoland Scheidegger
2009-06-15intel: fix (cosmetic) typo flag used twiceRoland Scheidegger
2009-06-15progs/tests: Use opaque colors.José Fonseca
Transparency is not relevant for this example, and leads to distraction due to different results in alpha visuals, when capturing images to disk.
2009-06-15dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom
depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-15Merge branch 'mesa_7_5_branch'Thomas Hellstrom
Conflicts: progs/util/extfuncs.h
2009-06-15gallium: Fix segfault and valgrind error introduced with commit ↵Thomas Hellstrom
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-15r300: fix 3D texturesMaciej Cencora
2009-06-12i965: interpolate colors with perspective correction by defaultBrian Paul
...rather than with linear interpolation. Modern hardware should use perspective-corrected interpolation for colors (as for texcoords). glHint(GL_PERSPECTIVE_CORRECTION_HINT, mode) can be used to get linear interpolation if mode = GL_FASTEST.
2009-06-12mesa: use larger initial refcount for NullBufferObjBrian Paul
Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
2009-06-12mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul
2009-06-12mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul
2009-06-12tests: added persp_hint.c testBrian Paul
Test the effect of GL_PERSPECTIVE_CORRECTION_HINT on color interpolation.
2009-06-13add some info to relnotes on radeonDave Airlie
2009-06-12r300: add support for EXT_texture_sRGBMaciej Cencora
Tested with glean/texture_srgb and wine/d3d9 tests on RV535
2009-06-12set/mesa: enable GL_NV_texture_env_combine4Brian Paul
This is handled entirely in core Mesa where the combiner state is converted into a fragment program.
2009-06-12tests: added arbgpuprog, for compile-testing ARB vertex/fragment programsBrian Paul
2009-06-12st/mesa: additional debug code (disabled)Brian Paul
2009-06-12demos: update fbotexture.c to use EXT or ARB functions exclusivelyBrian Paul
When the -arb option is specified we use GL_ARB_framebuffer_object intead of GL_EXT_framebuffer_object. For some vendors' OpenGL it's important to call the ARB entrypoints instead of the EXT entrypoints to get correct behaviour. Use some function pointer tricks to do this (instead of GLEW).
2009-06-12util: additional function pointersBrian Paul
2009-06-12progs/rbug: Add binary to bmp converter programJakob Bornecrantz
2009-06-12Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-12mesa: Enable uploads of only depth to z24s8 texturesJakob Bornecrantz
2009-06-12Disable SGI_swap_control extension for DRI2Owen W. Taylor
We currently don't have support for SGI_swap_control for direct contexts with DRI2, so disable reporting the extension. Reporting the extension, and then having glXSwapIntervalSGI() "succeed" but do nothing can confuse applications. https://bugs.freedesktop.org/show_bug.cgi?id=22123