Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cell: make functions static | Brian Paul | 2010-07-26 | 1 | -3/+3 |
| | |||||
* | cell: fix segfault when freeing samplers | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: comment-out unneeded padding field | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | cell: added const qualifier | Brian Paul | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | util: fix unused function warning on non-x86 | Brian Paul | 2010-07-26 | 1 | -0/+3 |
| | |||||
* | st/egl: Fix debug line | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | util: fix CPU detection on OS X | nobled | 2010-07-26 | 1 | -6/+6 |
| | | | | | | s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN. Acked-by: Vinson Lee <[email protected]> | ||||
* | st/xorg: fix use-after-free | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | i965g: Enable llvm in dri driver if built | Jakob Bornecrantz | 2010-07-26 | 1 | -3/+8 |
| | |||||
* | i915g: Fix llvm build | nobled | 2010-07-26 | 1 | -1/+1 |
| | | | | Acked-by: Jakob Bornecrantz <[email protected]> | ||||
* | r600g: implememt the LIT instruction | Stephan Schmid | 2010-07-26 | 1 | -1/+119 |
| | |||||
* | util: fix another mutex leak in mempool | Marek Olšák | 2010-07-26 | 1 | -2/+1 |
| | | | | By fixing one, I introduced another. Crap. | ||||
* | util: fix mutex leaks in mempool | Marek Olšák | 2010-07-26 | 1 | -1/+2 |
| | |||||
* | r300g: fix macro substitution problem | Dave Airlie | 2010-07-26 | 1 | -2/+2 |
| | | | | | | isn't a problem yet, but have issues in hiz branch. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: implement D24X8 texture sampling for r3xx-r4xx | Marek Olšák | 2010-07-25 | 5 | -22/+34 |
| | | | | | | | | | Because the hw can't sample it, I reinterpret the format as G16R16 and sample the G component. This gives 16 bits of precision, which should be enough for depth texturing (surprisingly, the sampled values are exactly the same as in D16 textures). This also enables EXT_packed_depth_stencil on those old chipsets, finally. | ||||
* | r300g: make sure a texture is large enough for the CBZB clear | Marek Olšák | 2010-07-25 | 1 | -52/+49 |
| | | | | | | | The number of macrotiles in the Y direction must be even, otherwise memory corruption may happen (e.g. broken fonts). Basically, if we get a buffer in resource_from_handle, we can determine from the buffer size whether it's safe to use the CBZB clear or not. | ||||
* | r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT | Marek Olšák | 2010-07-25 | 6 | -11/+15 |
| | |||||
* | r300g: do not use TXPITCH_EN for power-of-two textures from the DDX | Marek Olšák | 2010-07-25 | 1 | -6/+14 |
| | | | | We were using TXPITCH_EN for textures from the DDX since ever, for nothing. | ||||
* | r300g: cleanup texture creation code | Marek Olšák | 2010-07-25 | 13 | -543/+733 |
| | | | | | | | | | | | | This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups. | ||||
* | r300g: reject resources from handles which are not large enough | Marek Olšák | 2010-07-25 | 5 | -11/+34 |
| | | | | | | | | The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs. | ||||
* | r300g: cleanup texture debug logging | Marek Olšák | 2010-07-25 | 3 | -18/+25 |
| | |||||
* | r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped textures | Marek Olšák | 2010-07-25 | 1 | -1/+5 |
| | | | | | I don't remember why the alignment was there, but it seems to be no longer needed. I guess it was a dirty fix for some other bug. | ||||
* | nvfx: Move declaration before code. | Vinson Lee | 2010-07-24 | 1 | -2/+3 |
| | |||||
* | util: Add PIPE_OS_CYGWIN to u_network. | Vinson Lee | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | r600g: first pass at texture support | Jerome Glisse | 2010-07-23 | 6 | -14/+152 |
| | | | | | | | This add texture support to the assembler, generated code is wrong (tested against working dump). Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: Fix SCons build. | Vinson Lee | 2010-07-23 | 1 | -5/+2 |
| | |||||
* | gallium: Fix build with llvm installed in non-standard location | Christopher James Halse Rogers | 2010-07-23 | 2 | -1/+5 |
| | | | | | | | | | | The es1, es2 and gl state trackers include draw_pipe.h, which includes the llvm headers if MESA_LLVM is true, so we also need to add the llvm seachpaths. Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled. Also fix xorg drivers, they didn't include LDFLAGS. | ||||
* | r600g: fix dp2, dp3, dp4 tokens | Jerome Glisse | 2010-07-23 | 1 | -23/+64 |
| | | | | | | We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add RSQ token support | Jerome Glisse | 2010-07-23 | 1 | -2/+28 |
| | | | | | | | Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: drop compiler stuff and switch over dumb tgsi assembler | Jerome Glisse | 2010-07-23 | 16 | -3323/+1277 |
| | | | | | | | | | | Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | draw: add small ybias factor for drawing wide points | Brian Paul | 2010-07-23 | 1 | -0/+1 |
| | | | | Fixes minor rasterization error detected by some tests. | ||||
* | softpipe: Check for NULL pointer in sp_destroy_tile_cache(). | Michal Krol | 2010-07-23 | 1 | -8/+10 |
| | |||||
* | softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache(). | Michal Krol | 2010-07-23 | 1 | -11/+13 |
| | |||||
* | nv50: implement depth clamp | Christoph Bumiller | 2010-07-23 | 4 | -10/+33 |
| | |||||
* | xorg/vmwgfx: Implement early mode pruning based on max fb size. | Thomas Hellstrom | 2010-07-23 | 3 | -4/+37 |
| | | | | | | | | | Also move some initialization from screen init to pre-init, now that it is possible. Also import a new vmwgfx drm (1.3) header. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Init the Gallium3D / libkms resources in pre-init. | Thomas Hellstrom | 2010-07-23 | 2 | -86/+75 |
| | | | | | | | | This makes it possible to prune modes already in pre-init. We also keep these resources alive across server generations, and they are implicitly closed on server exit. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Kill a couple of compilation warnings | Thomas Hellstrom | 2010-07-23 | 2 | -2/+2 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg vmwgfx/xorg: Add a pre-init customizer callback | Thomas Hellstrom | 2010-07-23 | 3 | -5/+19 |
| | | | | | | | | Add a customizer callback just before initial config setting, so that the customizer code can initialize the mode validator using the drm file-descriptor. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Add a possibility to prune modes and limit fb allocation size based ↵ | Thomas Hellstrom | 2010-07-23 | 3 | -0/+23 |
| | | | | | | on max fb size. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | llvmpipe: Partially fix resource texture from_handle | Jakob Bornecrantz | 2010-07-22 | 1 | -1/+35 |
| | |||||
* | llvmpipe: Don't align values already aligned | Jakob Bornecrantz | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | i915g: Rename winsys debug options | Jakob Bornecrantz | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | i915g: Allow wrapping with software pipes | Jakob Bornecrantz | 2010-07-22 | 2 | -3/+11 |
| | |||||
* | i915g: Set total_nblocksy in from_handle | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+1 |
| | |||||
* | i915g: Add some debug prints in texture code | Jakob Bornecrantz | 2010-07-22 | 1 | -6/+10 |
| | |||||
* | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+5 |
| | |||||
* | tgsi: Fix error message on invalid swizzle parse | Jakob Bornecrantz | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | draw: re-order optimization passes depending on LLVM version, 32/64-bit | Brian Paul | 2010-07-22 | 1 | -2/+15 |
| | | | | | This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test. | ||||
* | draw: added new assertions to clipping code | Brian Paul | 2010-07-22 | 1 | -1/+10 |
| | |||||
* | softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces | Brian Paul | 2010-07-21 | 1 | -20/+20 |
| | | | | | | And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil. |