summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
2010-04-24dri: Remove unnecessary header.Vinson Lee
2010-04-23Merge remote branch 'origin/7.8'Jerome Glisse
2010-04-23r600: don't enable depth test if there is no depth bufferJerome Glisse
If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-04-23Merge branch '7.8'Michel Dänzer
2010-04-22i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt
Fixes assertion failure in fbo-generatemipmap-npot.
2010-04-22i965: Fix scissoring when width or height is 0.Eric Anholt
We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
2010-04-22radeon: 9800 SE has only one quadpipeTormod Volden
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes
Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
2010-04-22DRI2: add config query extensionJesse Barnes
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-22Merge branch '7.8'Brian Paul
Conflicts: src/mesa/state_tracker/st_format.c
2010-04-22r300: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-21radeon: fix warningMarek Olšák
2010-04-21intel: Add Sandybridge mobile chipset idZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
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-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-19Merge branch '7.8'Jesse Barnes
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-19r300c/r300g: add 3155 rv380 pci idDave Airlie
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-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-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-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
2010-04-16r300/compiler: Split off texture fixes to their own file.Corbin Simpson
Yes, I'm fully aware this generates subpar code on r500.
2010-04-16drisw: Move pointer dereferences to after NULL checks.Vinson Lee
2010-04-16r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g.
2010-04-15r300/compiler: kill off RC_WRAP_CLAMPMarek Olšák
A variant thereof might be later reintroduced for the mirrored-clamp modes.