summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-04-21intel: Clean up chipset name and gen num for IronlakeZhenyu Wang
Rename old IGDNG to Ironlake, and set 'gen' number for Ironlake as 5, so tracking the features with generation num instead of special is_ironlake flag. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-20mesa: better, smaller error handling code for glGet*()Brian Paul
get.o is about 17% smaller.
2010-04-20mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul
Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
2010-04-20mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul
We no longer support CI-mode color buffers so this is always an error.
2010-04-20i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt
Fixes hang with "gst-launch-0.10 videotestsrc ! video/x-raw-rgb ! glupload ! gleffects effect=heat ! glimagesink" which uses 2 samplers pointing at GL_TEXTURE1 and GL_TEXTURE2, and piglit glsl-fs-sampler-numbering.
2010-04-20i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt
Bug #27348
2010-04-20gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-19glapi: GL 3.x xml fileBrian Paul
Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19mesa: unmap the immediate mode VB before destroying itBrian Paul
Fixes failed assertion from fd.o bug 27713. The assertion was added with the new resource/transfer changes. This patch could apply to the 7.8 branch but it's not essential.
2010-04-19mesa/st: Update for index bias interface change.José Fonseca
2010-04-19st/mesa: invert scissor rect depending on FB orientationBrian Paul
Fixes fd.o bug 27715
2010-04-19mesa: Fix build with gcc 3.3.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Let this build with gcc 3.3Matthieu Herrb
Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth
This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19mesa: Use __OpenBSD__ to check for OpenBSD.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19Merge branch '7.8'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie
2010-04-18st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/Brian Paul
2010-04-18st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/Brian Paul
2010-04-18st/mesa: remove st_texture_object::pipe fieldBrian Paul
Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view().
2010-04-18st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/Brian Paul
2010-04-19r300/compiler: lower CEILMarek Olšák
2010-04-19r300/compiler: enable branch emulation for vertex shadersMarek Olšák
2010-04-19r300/compiler: optimize CMP for vertex shaders a bitMarek Olšák
2010-04-19r300/compiler: Use memory_pool_array_reserve in deadcode eliminationNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emitNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: enable branch emulation for R500 fragment programsMarek Olšák
2010-04-19r300/compiler: Implement branch emulation for R300 fragment programsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-18mesa: Restore comment too.José Fonseca
2010-04-18glsl: Fix handling of OPCODE_PRINT for no registers case.Vinson Lee
A register file value is unsigned so could never be -1. A value of 0 also aliased to PROGRAM_TEMPORARY. If an OPCODE_PRINT has no registers to print, set the register file value to PROGRAM_UNDEFINED and check for that value when executing this instruction.
2010-04-17i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.Vinson Lee
2010-04-17r300/compiler: Remove unnecessary header.Vinson Lee
2010-04-16r300/compiler: Add radeon_program_tex.c to SCons build.Vinson Lee
This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5.
2010-04-17r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák
2010-04-17r300/compiler: replace mirrored-repeat emulation with a faster versionMarek Olšák
Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering.
2010-04-17r300/compiler: add handy definitions for XYZ0 and smeared half swizzlingMarek Olšák
2010-04-16r300/compiler: make ARB_shadow_ambient optionalMarek Olšák
This saves constant register space for r300g, which doesn't need this feature.
2010-04-16r300/compiler: restore r500-specific bits of TEX transformationsMarek Olšák
2010-04-16st/mesa: add prototype for st_bufferobj_validate_usage()Brian Paul
2010-04-16savage: call _mesa_meta_init/free()Tormod Volden
Fixes crash when using _mesa_CopyTexImage2D. Bug #27652. Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-16st/mesa: Remove NULL check of pointer that could not be NULL.Vinson Lee
cbuf has been dereferenced twice earlier in the same if-block. It is either not NULL or a crash has already occurred.
2010-04-16r300/compiler: Fix texture instruction readmasks.Corbin Simpson
No immediate benefit, it was just bugging me.
2010-04-16r300/compiler: Fix magic numbers in readmasks.Corbin Simpson
2010-04-16r300/compiler: Oops, this slipped through.Corbin Simpson
2010-04-16r300/compiler: Save Q for mirror and repeat.Corbin Simpson