summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-08-131-1/+0
| | | | Remove unnecessary header swrast_setup.h.
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-08-121-1/+1
| | | | | Remove ss_context.h. Include mtypes.h for GLcontext symbol.
* swrast: Clean up header file inclusion in ss_context.h.Vinson Lee2010-08-121-2/+1
| | | | | Remove mtypes.h and swrast_setup.h. Include glheader.h for GL symbols.
* mesa: Include missing header in programopt.h.Vinson Lee2010-08-121-0/+1
| | | | Include mtypes.h for GLcontext and gl_register_file symbols.
* r300g: do not support separate depth/stencil clear in the driverMarek Olšák2010-08-131-3/+1
| | | | It doesn't work well with Hyper-Z, so put the burden on the state tracker.
* r300g: fix fastfill when color and Z clear are invoked separatelyMarek Olšák2010-08-132-2/+2
| | | | This always restores the previous depth clear value after CBZB clear.
* r600g: update shader capsMarek Olšák2010-08-131-5/+13
| | | | | | Sent on ML by Владимир. These values are what fglrx returns.
* r300g: disable depth clamp for nowMarek Olšák2010-08-131-1/+1
| | | | | | | It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518
* mesa: fpclassify is available with MinGW.Vinson Lee2010-08-121-3/+3
| | | | This patch fixes the MinGW build.
* r600g: fix warning in the winsysDave Airlie2010-08-131-1/+1
|
* r600g: fix memory leaks running gears.Dave Airlie2010-08-132-0/+6
| | | | | I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed.
* translate_test: Fix compilation with MSVC.Vinson Lee2010-08-121-1/+2
|
* scons: Add main/querymatrix.c to SCons build.Vinson Lee2010-08-121-0/+1
| | | | | Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to make but not to SCons.
* glsl: print to stderr like other program printing codeBrian Paul2010-08-121-8/+8
|
* mesa: Fix FreeBSD build with llvm enabled.Vinson Lee2010-08-121-1/+1
| | | | | On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
* translate_test: fix compilation on non-POSIX platformsLuca Barbieri2010-08-121-5/+19
| | | | Use a kludgy function based on rand() instead of drand48()
* translate_test: improveLuca Barbieri2010-08-121-6/+60
| | | | | | | 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
* Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil"Marek Olšák2010-08-123-3/+49
| | | | This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
* r600: add support for draw_elements_base_vertexAndre Maasikas2010-08-123-26/+30
| | | | | use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
* mesa: Clean up header file inclusion in prog_uniform.h.Vinson Lee2010-08-121-2/+1
| | | | | | Remove mtypes.h. Remove prog_statevars.h. Include glheader.h for GL symbols.
* mesa: Include missing headers in prog_print.h.Vinson Lee2010-08-121-0/+10
| | | | | | | Include stdio.h for FILE symbol. Include glheader.h for GL symbols. Include mtypes.h for GLcontext symbol. Add forward declarations.
* mesa: Include missing header in prog_optimize.h.Vinson Lee2010-08-121-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* r600g: fix typo in stencil translate.Dave Airlie2010-08-121-1/+1
| | | | fixes piglit stencil-twoside and stencil-wrap
* r600g: fix provoking-vertex piglit test.Dave Airlie2010-08-121-8/+12
|
* r600g: improve texture format checker.Dave Airlie2010-08-124-12/+263
| | | | | | | | | 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 <[email protected]>
* u_blitter: unify clear_depth_stencil and flush_depth_stencilMarek Olšák2010-08-123-49/+3
| | | | No need to enable depth test for clear.
* scons: Fix freebsd8 build.Vinson Lee2010-08-112-2/+8
|
* scons: Add freebsd8 to list of accepted platforms.Vinson Lee2010-08-111-1/+1
|
* r300/compiler: remove an unused variableMarek Olšák2010-08-121-1/+0
|
* translate_test: fix segfault on x86-64Luca Barbieri2010-08-111-2/+6
|
* u_staging: remove useless inline keywordLuca Barbieri2010-08-111-1/+1
|
* translate_test: fix, reindent, and improveLuca Barbieri2010-08-111-137/+204
| | | | | | | 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
* translate: allow clients to ask for supported output formatsLuca Barbieri2010-08-113-0/+88
| | | | | | | | | | | | | 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.
* auxiliary: Make u_staging.c MSVC compatible.Vinson Lee2010-08-111-3/+5
| | | | Fixes MSVC build.
* translate: Add translate_test.c to SCons.Vinson Lee2010-08-111-1/+2
| | | | | This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1, which added translate_test.c to make.
* auxiliary: Add u_staging.c to SCons build.Vinson Lee2010-08-111-0/+1
| | | | | This is a follow-up to commit b85c71d4e1e4ed788be834dff5b7b3c0cd0402ac which added u_staging.c to make.
* r300/compiler: Implement the CONT opcode.Tom Stellard2010-08-115-8/+21
|
* r300/compiler: Handle loops in the register allocator.Tom Stellard2010-08-111-4/+34
|
* r600g: accept empty frag prog shaderJerome Glisse2010-08-113-3/+17
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add src negation supportJerome Glisse2010-08-111-0/+1
| | | | | | Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <[email protected]>
* gallivm: Fix and enable the extra Newton/Raphson step in lp_build_rcp().José Fonseca2010-08-111-2/+2
| | | | Thanks to Michal for spotting this.
* r600g: add point/sprite rendering supportJerome Glisse2010-08-113-14/+149
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* Revert "translate_generic: return NULL instead of assert(0) if format not ↵Luca Barbieri2010-08-111-6/+9
| | | | | | | | | | | 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.
* translate_generic: fix broken A8R8G8B8_UNORM outputLuca Barbieri2010-08-111-3/+9
| | | | | | | translate was attempting to output A8R8G8B8_UNORM as if it were R8G8B8A8_UNORM. Now the tests just added pass.
* translate: add testsuiteLuca Barbieri2010-08-112-1/+172
| | | | | Currently only checks all possible format conversions, and doesn't attempt to test whether multiple buffers/elements or indices work.
* translate_generic: return NULL instead of assert(0) if format not supportedLuca Barbieri2010-08-111-9/+6
| | | | This gives the caller a chance to recover (or crash anyway otherwise).
* auxiliary: fix util_framebuffer_copyLuca Barbieri2010-08-111-2/+4
| | | | | | | | | util_framebuffer_copy was attempting to copy all elements of the source framebuffer state. However, this breaks if the user does not zero initialize the structure. Instead, only copy the elements up to nr_cbufs, and clear elements up to dst->nr_cbufs, if the destination was larger than the source.
* gallivm: Use lp_build_div instead of lp_build_mul + lp_build_rcp.José Fonseca2010-08-111-2/+1
| | | | | | | Single divide, so let lp_build_div decide how to implement this. This will save a multiplication in architectures which don't have a RCP intrinsic.
* gallivm: Use unsigned shift in lp_build_minify.José Fonseca2010-08-111-1/+1
| | | | Texture dimensions are unsigned.
* llvmpipe: Debug code to dump interpolation coefficients.José Fonseca2010-08-111-1/+29
|