Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Add forward declaration in u_transfer.h. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | |||||
* | r300g,u_blitter: use u_framebuffer | Marek Olšák | 2010-08-29 | 4 | -38/+6 |
| | | | | Removing another function duplication in u_blitter. | ||||
* | util: remove util_is_pot in favor of util_is_power_of_two | Marek Olšák | 2010-08-29 | 6 | -18/+8 |
| | | | | The function was duplicated. | ||||
* | i965: Add initial support for texturing to the new FS backend. | Eric Anholt | 2010-08-28 | 1 | -15/+128 |
| | | | | Fixes 11 piglit tests. | ||||
* | i965: Add disasm for gen5 sampler messages. | Eric Anholt | 2010-08-28 | 1 | -6/+19 |
| | |||||
* | i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.h | Cedric Vivier | 2010-08-28 | 1 | -5/+0 |
| | | | | | | | Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other brw_fs_*.cpp files. Bug #29855 | ||||
* | st/mesa: Include missing header in st_mesa_to_tgsi.c. | Vinson Lee | 2010-08-28 | 1 | -1/+2 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | softpipe: Include missing header in sp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | draw: Include missing header in draw_vs_llvm.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for completely type to pipe_screen. | ||||
* | llvmpipe: Include missing header in lp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | r300g: fix blitting between 2D NPOT mipmaps | Marek Olšák | 2010-08-28 | 4 | -23/+51 |
| | | | | | | | | | Even though MIP filtering is not supported, we can bind an arbitrary mipmap as the zero mipmap level. NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD. This fixes piglit/fbo-copyteximage. | ||||
* | r300g: fix min/max lod computation | Mathias Fröhlich | 2010-08-28 | 1 | -2/+2 |
| | |||||
* | r300g: set the correct value in PVS_NUM_CNTLRS | Marek Olšák | 2010-08-28 | 1 | -1/+1 |
| | | | | As per docs. | ||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-28 | 1 | -1/+0 |
| | |||||
* | glsl2: Decompose matrix comparison into vector operations | Ian Romanick | 2010-08-27 | 1 | -9/+97 |
| | |||||
* | trace: Don't try to dump the rgba array if null | Jakob Bornecrantz | 2010-08-28 | 1 | -1/+4 |
| | |||||
* | glsl: Rename a couple of common variable names in mat_op_to_vec. | Eric Anholt | 2010-08-27 | 1 | -16/+18 |
| | | | | | It was easy while typing implementations to accidentally overwrite the original expression or assignment variables. | ||||
* | glsl: Make mat_op_to_vec allocate out of the IR's parent. | Eric Anholt | 2010-08-27 | 1 | -32/+36 |
| | | | | | This will reduce memory consumption of compiled shaders by not dragging optimized-out children around. | ||||
* | i965: Set the pop count on BRK/CONT inside of an if statement in the FS. | Eric Anholt | 2010-08-27 | 1 | -4/+11 |
| | | | | | | | This is the same as 8de8c97275e9555183a7e8f2238143657bbe60b2 for the VS, and fixes glsl-fs-if-nested-loop and the mandelbrot demo. Bug #29498 | ||||
* | glsl: Regenerate for double destroy fix. | Eric Anholt | 2010-08-27 | 1 | -0/+1 |
| | |||||
* | glsl: Protect against double compiler-destroy. | Eric Anholt | 2010-08-27 | 1 | -0/+1 |
| | | | | | DRI was doing teardown when we close the last screen, then an atexit() was added to call it as well. | ||||
* | dri: Get prototype for _mesa_destroy_compiler(). | Eric Anholt | 2010-08-27 | 1 | -0/+1 |
| | | | | Bug #29665. | ||||
* | i965: Don't strip negate/abs flags when assigning uniform locations. | Eric Anholt | 2010-08-27 | 1 | -5/+5 |
| | | | | Fixes glsl-algebraic-sub-zero-4. | ||||
* | i965: Add missing handling for BRW_OPCODE_SEL. | Eric Anholt | 2010-08-27 | 1 | -0/+4 |
| | | | | Fixes 4 piglit tests about min, max, and clamp. | ||||
* | i965: Mask out higher bits of the result of BRW_CMP producing a boolean. | Eric Anholt | 2010-08-27 | 1 | -0/+6 |
| | | | | | When it says it sets the LSB, that's not just a hint as to where the result goes. Only the LSB is modified. Fixes 20 piglit cases. | ||||
* | i965: Fix the types of immediate integer values. | Eric Anholt | 2010-08-27 | 1 | -2/+2 |
| | | | | When we're trying to do integer ops, handing a float in doesn't help. | ||||
* | i965: Add translation for RNDD and RNDZ. | Eric Anholt | 2010-08-27 | 1 | -0/+7 |
| | | | | | | Fixes: glsl-fs-any. glsl1-integer division with uniform var | ||||
* | i965: Add support for ir_binop_mod using do_mod_to_fract. | Eric Anholt | 2010-08-27 | 1 | -0/+4 |
| | | | | Fixes glsl-fs-mod. | ||||
* | r600g: fix vbo size | Jerome Glisse | 2010-08-27 | 1 | -1/+1 |
| | | | | | | Silence the kernel, vbo size is size - 1. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | mesa: move null ptr check (fdo bug 29843) | Brian Paul | 2010-08-27 | 1 | -2/+2 |
| | |||||
* | mesa: Use the format info to identify packed depth/stencil formats. | Nick Bowler | 2010-08-27 | 1 | -6/+2 |
| | | | | | | | | | | | Due to a misunderstanding of the Z24_X8 and X8_Z24 formats, the earlier patch created depth/stencil wrappers for them. This broke swrast. Use the format info instead, which only identifies Z24_S8 and S8_Z24 as packed depth/stencil. It also has the advantage of being nicer code. Signed-off-by: Nick Bowler <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: use atexit() handler to release GLSL compiler memory | Brian Paul | 2010-08-27 | 1 | -0/+9 |
| | | | | | | | | This releases a bunch of memory that was showing up as leaks with valgrind. If atexit() isn't widely supported we may need to add some #ifdef tests around the call. | ||||
* | glsl2: restructure header file for C++ and C inclusion | Brian Paul | 2010-08-27 | 1 | -8/+28 |
| | | | | As it was, the header could not be cleanly #included by a C source. | ||||
* | glsl2: remove 'extern' keyword in .c file | Brian Paul | 2010-08-27 | 1 | -1/+1 |
| | |||||
* | i965: Fix swapped instructions in ir_unop_abs and ir_unop_neg. | Eric Anholt | 2010-08-27 | 1 | -2/+2 |
| | | | | Fixes glsl-fs-neg and 5 other tests. | ||||
* | i965: Add generate() handling for AND, OR, XOR. | Eric Anholt | 2010-08-27 | 1 | -0/+11 |
| | | | | 10 more piglit tests pass. | ||||
* | i965: Add support for if instructions in the new FS backend. | Eric Anholt | 2010-08-27 | 1 | -1/+61 |
| | | | | 20 more piglit tests pass. | ||||
* | i965: When encountering an unknown opcode in new FS backend, print its name. | Eric Anholt | 2010-08-27 | 3 | -14/+23 |
| | |||||
* | i965: Fix the maximum grf counting in the new FS backend. | Eric Anholt | 2010-08-27 | 1 | -1/+1 |
| | | | | | | glsl-algebraic-rcp-rsq managed to use 33 registers, and we claimed to only use 32, so the write to g32 would go stomping over the precious g0 of some other thread. | ||||
* | i965: Validate the IR tree after doing our custom optimization passes. | Eric Anholt | 2010-08-27 | 1 | -0/+2 |
| | | | | | | | This wouldn't catch the last failure fixed in them, because we don't validate assignments well (due to the fact that we've got a pretty glaring inconsistency in how we handle assignment writemasking), but it could catch other failure we may produce. | ||||
* | i965: Add a bit of support for matrices to the new FS. | Eric Anholt | 2010-08-27 | 1 | -11/+21 |
| | |||||
* | i965: Fix destination writemasking in the new FS. | Eric Anholt | 2010-08-27 | 1 | -6/+5 |
| | |||||
* | i965: Fix swizzling in vector splitting for the new FS backend. | Eric Anholt | 2010-08-27 | 1 | -0/+3 |
| | | | | | | | | We weren't smearing a component of a split RHS out to reach an unsplit LHS's writemask, so gl_FragColor (always unsplit) would often get uninitialized values. Fixes: glsl-algebraic-add-add-1 (and probably many others). | ||||
* | graw: fix the build (missing header) | Zack Rusin | 2010-08-27 | 1 | -0/+1 |
| | |||||
* | mesa: free the fallback texture object in free_shared_state() | Brian Paul | 2010-08-27 | 1 | -0/+4 |
| | |||||
* | mesa: fix double-underscore naming | Brian Paul | 2010-08-27 | 1 | -4/+4 |
| | |||||
* | llvmpipe: use util_iround in place of round | Keith Whitwell | 2010-08-27 | 1 | -1/+1 |
| | | | | Fix mingw build. | ||||
* | util: fix typo in MAX4 | Keith Whitwell | 2010-08-27 | 1 | -1/+1 |
| | | | | Thanks to Michal for spotting it. | ||||
* | llvmpipe: eliminate tri->dx, tri->dy values | Keith Whitwell | 2010-08-27 | 2 | -42/+39 |
| | | | | Use an internal struct for line setup information. | ||||
* | llvmpipe: point sprites rasterization | Hui Qi Tay | 2010-08-27 | 7 | -10/+93 |
| | | | | | Point sprites now done in the rasterizer setup code instead of going through the draw module. |