summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-08-15r300g: rename dirty_zmask -> zmask_in_useMarek Olšák
2010-08-15r300g: do not clear with blitter if we clear just the ZMask RAMMarek Olšák
This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask.
2010-08-15r300g: do not use fastfill if ZMask RAM is not properly initializedMarek Olšák
z_fastfill -> dirty_zmask[level].
2010-08-15r300g: separate num_cs_end_dwords out from prepare_for_renderingMarek Olšák
2010-08-15gallium/docs: Add rbug to distributionJakob Bornecrantz
2010-08-15gallium/docs: Add a debugging sectionJakob Bornecrantz
2010-08-15gallium: Make printing info on debug builds default offJakob Bornecrantz
This commit silences the printing off most of the debug information when running debug builds. The big culprits are: the tgsi sanity checker that gets run on all shaders on debug; all the options; and finaly the cpu caps printer.
2010-08-14gallivm: Remove unnecessary header.Vinson Lee
2010-08-14scons: Fix r600g build.Vinson Lee
2010-08-14r600g: Remove unnecessary headers.Vinson Lee
2010-08-14r300g: Remove unnecessary header.Vinson Lee
2010-08-14u_cpu_detect: remove arch and little_endianLuca Barbieri
This logic duplicates the one in p_config.h, so remove it and adjust the only two places that were using it.
2010-08-14gallivm: Refactor the Newton-Rapshon steps, and disable once again.José Fonseca
It causes a very ugly corruption on the Earth's halo on Google Earth.
2010-08-14scons: Link talloc.José Fonseca
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13st/dri: make dri_drawable_validate_att staticGeorge Sapountzis
2010-08-13st/dri: move TFP code to dri_drawable.cGeorge Sapountzis
This is based on a patch by nobled <nobled@dreamwidth.org> and allows the TFP extension to be enabled for DRISW also. This patch does not enable TFP for DRISW though, because testing on xephyr segfaults here (for both classic and gallium): Program received signal SIGSEGV, Segmentation fault. 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788 788 ASSERT_OUTSIDE_BEGIN_END(ctx); (gdb) (gdb) where \#0 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788 \#1 0x0817a004 in __glXDisp_GenTextures () \#2 0x08168498 in __glXDispatch () \#3 0x0808b6ce in Dispatch () \#4 0x08084435 in main () The TFP code is generic except for the teximage call. We need to verify that DRISW correclty implements whatever hook teximage finally calls.
2010-08-13st/dri: Fix segmentation fault in sw driversnobled
2010-08-13st/dri: dri_drawable_get_format is shared between DRI2 and DRISWGeorge Sapountzis
2010-08-13scons: Build the new glsl2 code.José Fonseca
2010-08-13r300g: do not support separate depth/stencil clear in the driverMarek Olšák
It doesn't work well with Hyper-Z, so put the burden on the state tracker.
2010-08-13r300g: fix fastfill when color and Z clear are invoked separatelyMarek Olšák
This always restores the previous depth clear value after CBZB clear.
2010-08-13r600g: update shader capsMarek Olšák
Sent on ML by Владимир. These values are what fglrx returns.
2010-08-13r300g: disable depth clamp for nowMarek Olšák
It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518
2010-08-13r600g: fix warning in the winsysDave Airlie
2010-08-13r600g: fix memory leaks running gears.Dave Airlie
I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed.
2010-08-12translate_test: Fix compilation with MSVC.Vinson Lee
2010-08-12translate_test: fix compilation on non-POSIX platformsLuca Barbieri
Use a kludgy function based on rand() instead of drand48()
2010-08-12translate_test: improveLuca Barbieri
1. Generate random data specifically for float and doubles, so that they end up in [0, 1] range 2. Don't test useless conversions like SCALED <-> NORM 3. Poison the buffers before testing
2010-08-12gallium: Link DRI drivers with g++ and test with CXXJakob Bornecrantz
New shader compiler need libc++ runtime. This works already if we are using llvm so this just covers the !llvm case.
2010-08-12Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil"Marek Olšák
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
2010-08-12r600g: fix typo in stencil translate.Dave Airlie
fixes piglit stencil-twoside and stencil-wrap
2010-08-12r600g: fix provoking-vertex piglit test.Dave Airlie
2010-08-12r600g: improve texture format checker.Dave Airlie
This takes the r300g texture format checker and fixes it up for r600g, it passes glean texSwizzle, pixelformats, and texture_srgb tests, however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-12u_blitter: unify clear_depth_stencil and flush_depth_stencilMarek Olšák
No need to enable depth test for clear.
2010-08-11scons: Fix freebsd8 build.Vinson Lee
2010-08-11translate_test: fix segfault on x86-64Luca Barbieri
2010-08-11u_staging: remove useless inline keywordLuca Barbieri
2010-08-11translate_test: fix, reindent, and improveLuca Barbieri
1. Fix the segfault due to the reverted commit using the new interface 2. Reindent to Mesa 3 spaces style 3. Improve output and return success/failure with error code 4. Add much better support for testing translate_sse
2010-08-11translate: allow clients to ask for supported output formatsLuca Barbieri
Currently translate asserts on unsupported output formats, making it impossible to use for some purposes, such as testing whether it actually works on all formats it supports. Removing the assert was met with opposition, so this change allows clients to ask whether an output format is supported, and they are thus able to avoid attempting to use it. Since this is just an addition to the API, no adverse effect is possible, and it makes the testsuite work again.
2010-08-11auxiliary: Make u_staging.c MSVC compatible.Vinson Lee
Fixes MSVC build.
2010-08-11translate: Add translate_test.c to SCons.Vinson Lee
This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1, which added translate_test.c to make.
2010-08-11auxiliary: Add u_staging.c to SCons build.Vinson Lee
This is a follow-up to commit b85c71d4e1e4ed788be834dff5b7b3c0cd0402ac which added u_staging.c to make.
2010-08-11r300/compiler: Implement the CONT opcode.Tom Stellard
2010-08-11r600g: accept empty frag prog shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-11r600g: add src negation supportJerome Glisse
Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-11gallivm: Fix and enable the extra Newton/Raphson step in lp_build_rcp().José Fonseca
Thanks to Michal for spotting this.
2010-08-11r600g: add point/sprite rendering supportJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-11Revert "translate_generic: return NULL instead of assert(0) if format not ↵Luca Barbieri
supported" This reverts commit 16b45ca7cefb3432b4133fe9d0b1dbfe3f286131. José Fonseca asked for a revert. Note that the testsuite will now segfault since it attempts to test all possible formats.
2010-08-11translate_generic: fix broken A8R8G8B8_UNORM outputLuca Barbieri
translate was attempting to output A8R8G8B8_UNORM as if it were R8G8B8A8_UNORM. Now the tests just added pass.