summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-10gallium: Remove redundant sw and debug target helpersremove-redundant-helpersJakob Bornecrantz9-272/+1
2010-11-10graw: Use inline debug helper instead of non-inline versionJakob Bornecrantz4-5/+10
2010-11-10libgl-xlib: Use inline debug helper instead of non-inline versionJakob Bornecrantz3-21/+8
2010-11-10libgl-xlib: Use sw helper instead of roll your ownJakob Bornecrantz1-78/+12
2010-11-10graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz2-42/+4
2010-11-10galahad: Correct the name of the scons libraryJakob Bornecrantz1-1/+1
2010-11-10r600g: allow driver to work without submitting cmd to GPUJerome Glisse1-0/+2
For driver performance analysis it usefull to be able to disable as much as possible the GPU interaction so that one can profile the userspace only. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-10intel: Add a new B43 pci id.Robert Hooker2-1/+4
Signed-off-by: Robert Hooker <robert.hooker@canonical.com>
2010-11-10i965: re-enable gen6 IF statements in the fragment shader.Eric Anholt2-6/+1
IF statements were getting flattened while they were broken. With Zhenyu's last fix for ENDIF's type, everything appears to have lined up to actually work. This regresses two tests: glsl1-! (not) operator (1, fail) glsl1-! (not) operator (1, pass) but fixes tests that couldn't work before because the IFs couldn't be flattened: glsl-fs-discard-01 occlusion-query-discard (and, naturally, this should be a performance improvement for apps that actually use IF statements to avoid executing a bunch of code).
2010-11-10i965: Work around strangeness in swizzling/masking of gen6 math.Eric Anholt1-11/+58
Sometimes we swizzled in a different channel it looked like, and sometimes we swizzled in zero. Or something. Having looked at the output of another code generator for this chip, this is approximately what they do, too: use align1 math on temporaries, and then move the results into place. Fixes: glean/vp1-EX2 test glean/vp1-EXP test glean/vp1-LG2 test glean/vp1-RCP test (reciprocal) glean/vp1-RSQ test 1 (reciprocal square root) shaders/glsl-cos shaders/glsl-sin shaders/glsl-vs-masked-cos shaders/vpfp-generic/vp-exp-alias
2010-11-10meta: Handle bitmaps with alpha test enabled.Francisco Jerez1-6/+35
Acked-by: Brian Paul <brianp@vmware.com>
2010-11-10gallivm: implement indirect addressing over inputsZack Rusin1-3/+64
Instead of messing with the callers simply copy our inputs into a alloca array at the beginning of the function and then use it. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2010-11-10mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricapsRoland Scheidegger4-16/+3
DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
2010-11-10r200: fix r200 large pointsRoland Scheidegger2-7/+5
DD_POINT_SIZE got never set for some time now (as it was set only in ifdefed out code), which caused the r200 driver to use the point primitive mistakenly in some cases which can only do size 1 instead of point sprite. Since the logic to use point instead of point sprite prim is flaky at best anyway (can't work correctly for per-vertex point size), just drop this and always emit point sprites (except for AA points) - reasons why the driver tried to use points for size 1.0 are unknown though it is possible they are faster or more conformant. Note that we can't emit point sprites without point sprite cntl as that might result in undefined point sizes, hence need drm version check (which was unnecessary before as it should always have selected points). An alternative would be to rely on the RE point size clamp controls which could clamp the size to 1.0 min/max even if the SE point size is undefined, but currently always use 0 for min clamp. (As a side note, this also means the driver does not honor the gl spec which mandates points, but not point sprites, with zero size to be rendered as size 1.) This should fix recent reports of https://bugs.freedesktop.org/show_bug.cgi?id=702. This is a candidate for the mesa 7.9 branch.
2010-11-10egl_dri2: Fix __DRI_DRI2 version 1 support.Chia-I Wu1-1/+1
Correctly set __DRI_API_OPENGL flag.
2010-11-10r300g: turn magic numbers into names in the hyperz codeMarek Olšák1-12/+18
2010-11-10r300g: rename has_hyperz -> can_hyperzMarek Olšák5-11/+11
2010-11-10r300g: mention ATI in the renderer stringMarek Olšák1-25/+25
2010-11-10ws/r600: match bo_busy shared/fence logic in bo_waitKeith Whitwell1-8/+9
Fixes crash in piglit depthrange-clear.
2010-11-10mesa: Clean up header file inclusion in pixelstore.h.Vinson Lee1-1/+2
2010-11-10mesa: Clean up header file inclusion in pixel.h.Vinson Lee1-1/+6
2010-11-10Revert "i965: VS use SPF mode on sandybridge for now"Zhenyu Wang2-5/+1
This reverts commit 9c39a9fcb2c76897e9b5aff68ce197a411c4e25c. Remove VS SPF mode, conditional instruction works for VS now.
2010-11-10i965: fix dest type of 'endif' on sandybridgeZhenyu Wang1-1/+1
That should also be immediate value for type W.
2010-11-09i965: Add support for math on constants in gen6 brw_wm_glsl.c path.Eric Anholt1-4/+5
Fixes 10 piglit cases that were assertion failing.
2010-11-09ir_to_mesa: Refactor code for emitting DP instructionsIan Romanick1-45/+35
2010-11-09i965: Allow OPCODE_SWZ to put immediates in the first arg.Eric Anholt1-0/+1
Fixes assertion failure with texture swizzling in the GLSL path when it's triggered (such as gen6 FF or ARB_fp shadow comparisons). Fixes: texdepth texSwizzle fp1-DST test fp1-LIT test 3
2010-11-09glsl: Remove unnecessary "unused variable" warning suppression.Kenneth Graunke1-3/+0
The "instructions" variable -is- used, so the cast to void can go away.
2010-11-09intel: Add assert check for blitting alignment.Peter Clifton1-2/+3
Also fixup code comment to reflect that the GPU requires DWORD alignment, but in this case does not actually pass the value "in DWORDs" as I previously stated.
2010-11-09Revert "intel: Fix the client-side swapbuffers throttling."Eric Anholt1-5/+1
This reverts commit 76360d6abc9e0195bc5c373101ae616e68b2e6e6. On second thought, it turned out that sync objects also used the wait_rendering API like this, and would need the same treatment, and so wait_rendering itself is fixed in libdrm now.
2010-11-09intel: Fix the client-side swapbuffers throttling.Eric Anholt1-1/+5
We were asking for a wait to GTT read (all GPU rendering to it complete), instead of asking for all GPU reading from it to be complete. Prevents swapbuffers-based apps from running away with rendering, and produces a better input experience.
2010-11-09glsl: Fix incorrect gl_type of sampler2DArray and sampler1DArrayShadowIan Romanick1-2/+2
NOTE: this is a candidate for the 7.9 branch.
2010-11-09gallivm: Allocate TEMP/OUT arrays only once.José Fonseca1-36/+23
2010-11-09gallivm: implement indirect addressing of the output registersZack Rusin1-5/+105
2010-11-09winsys/xlib: Add cygwin to SConscript.Vinson Lee1-1/+1
Fixes SCons NameError exception on Cygwin.
2010-11-09r600: fix my pessimism about PIPE_TRANSFER_x flagsKeith Whitwell1-8/+5
For some reason I though we needed the _DISCARD flag to avoid readbacks, which isn't true at all. Now write operations should pipeline properly, gives a good speedup to demos/tunnel.
2010-11-09r600g: translate ARR instructionKeith Whitwell1-2/+13
2010-11-09r600g: attempt to turn on DXTn formatsKeith Whitwell3-4/+17
Seems to sort-of work for non-mipmapped textures. Better than just black anyway.
2010-11-09r600g: avoid recursion with staged uploadsKeith Whitwell1-0/+34
Don't use an intermediate for formats which don't support hardware blits under u_blitter.c, as these will recursively attempt to create a transfer.
2010-11-09mesa: no-op glBufferSubData() on size==0Brian Paul1-0/+3
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439 NOTE: this is a candidate for the 7.9 branch
2010-11-09softpipe: can't no-op depth test stage when occlusion query is enabledBrian Paul1-0/+1
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
2010-11-10st/dri: Add support for surfaceless current contexts.Chia-I Wu3-2/+7
Tested with Wayland.
2010-11-10docs: Update egl docs.Chia-I Wu1-25/+35
2010-11-10autoconf: Add --enable-gallium-egl.Chia-I Wu1-6/+22
This option comes handy when we want to build gallium DRI drivers but not st/egl.
2010-11-09mesa: Clean up header file inclusion in nvprogram.h.Vinson Lee1-1/+3
2010-11-09mesa: Clean up header file inclusion in multisample.h.Vinson Lee1-1/+3
2010-11-09mesa: Clean up header file inclusion in matrix.h.Vinson Lee1-1/+2
2010-11-09mesa: Clean up header file inclusion in lines.h.Vinson Lee1-1/+2
2010-11-09mesa: Clean up header file inclusion in light.h.Vinson Lee1-1/+6
2010-11-09mesa: Add missing header and forward declarations in dd.h.Vinson Lee1-1/+13
2010-11-09mesa: Clean up header file inclusion in image.h.Vinson Lee1-1/+3