Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: Atomize vertex shader. | Corbin Simpson | 2010-02-24 | 8 | -60/+58 |
| | |||||
* | r300g: Move CALLOCs to correct place. | Corbin Simpson | 2010-02-24 | 1 | -8/+7 |
| | |||||
* | r300g: prevent CS overflow when emitting the draw packets | Marek Olšák | 2010-02-24 | 3 | -18/+55 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | llvmpipe: clean up rasterization threads upon context destruction | Brian Paul | 2010-02-24 | 2 | -0/+18 |
| | | | | Fixes glean hang, bug 26536. | ||||
* | r300g: remove invalid .PHONY line | Brian Paul | 2010-02-24 | 1 | -2/+0 |
| | | | | | The $(COMPILER_ARCHIVE) target is not a phony target. This solves the unconditional re-making of libr300.a | ||||
* | llvmpipe: more lp_rasterizer_task parameter passing | Brian Paul | 2010-02-24 | 4 | -114/+89 |
| | |||||
* | llvmpipe: pass fewer parameters to rasterization functions | Brian Paul | 2010-02-24 | 3 | -15/+9 |
| | |||||
* | llvmpipe: added some assertions | Brian Paul | 2010-02-24 | 1 | -0/+5 |
| | |||||
* | llvmpipe: SRGB textures not supported yet | Brian Paul | 2010-02-24 | 1 | -1/+0 |
| | |||||
* | llvmpipe: vertex shader textures not supported yet | Brian Paul | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | r300: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | 2010-02-24 | 2 | -16/+4 |
| | |||||
* | llvmpipe: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | 2010-02-24 | 2 | -7/+5 |
| | |||||
* | i915g: fix a comment | Brian Paul | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | llvmpipe: Fix breakeage. | José Fonseca | 2010-02-24 | 1 | -24/+13 |
| | | | | | | | Due to the u_format.csv changes the unrolled code generator was being used for formats it didn't support. Bring some bugfixes from u_format_access.py too. | ||||
* | llvmpipe: Handle correctly 24bit formats. | José Fonseca | 2010-02-24 | 1 | -44/+46 |
| | |||||
* | llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. | José Fonseca | 2010-02-24 | 1 | -4/+2 |
| | |||||
* | llvmpipe: add lp_tile_image.c to sources | Brian Paul | 2010-02-23 | 2 | -0/+2 |
| | |||||
* | llvmpipe: whole image tile/untile functions | Brian Paul | 2010-02-23 | 2 | -0/+183 |
| | |||||
* | llvmpipe: remove Z16 format override hack | Brian Paul | 2010-02-23 | 1 | -6/+0 |
| | |||||
* | llvmpipe: Z16 format is not supported | Brian Paul | 2010-02-23 | 1 | -0/+4 |
| | |||||
* | llvmpipe: added assertions to verify that scene is empty | Brian Paul | 2010-02-23 | 2 | -0/+5 |
| | |||||
* | llvmpipe: added some assertions | Brian Paul | 2010-02-23 | 1 | -0/+3 |
| | |||||
* | r300g: fix texture swizzling for the SRGB formats | Marek Olšák | 2010-02-24 | 1 | -4/+20 |
| | |||||
* | i965g: Add fallthrough comments in switch statement. | Vinson Lee | 2010-02-22 | 1 | -3/+3 |
| | | | | Silences warnings about missing break statements in static analysis. | ||||
* | r300g: fix draw_elements for "start" != 0 | Marek Olšák | 2010-02-23 | 1 | -7/+2 |
| | | | | Reported-by: Andre Maasikas <[email protected]> | ||||
* | svga: Upload user buffers only once. | José Fonseca | 2010-02-22 | 4 | -29/+46 |
| | |||||
* | svga: Fix the guest offset of piecewise buffer DMAs. | José Fonseca | 2010-02-22 | 3 | -7/+9 |
| | | | | | It was being erroneously set equal to the host offset, but it should be zero. | ||||
* | svga: Emit a scalar rcp in shadow maps. | José Fonseca | 2010-02-22 | 1 | -4/+4 |
| | | | | Small improvement in Lightsmark 2008. | ||||
* | svga: Don't emit zero writemasks. | José Fonseca | 2010-02-22 | 2 | -28/+39 |
| | | | | | | | | This fixes a regression with Lightsmark, where more compact TGSI from Mesa was causing a zero mask MOV to be emitted for shadow map compare, causing problems in some backends. Add a few more assertions to catch cases like this. | ||||
* | svga: Upload the dirty ranges instead of the whole buffer. | José Fonseca | 2010-02-22 | 1 | -45/+48 |
| | |||||
* | svga: Break uploads of big buffers into smaller pieces. | José Fonseca | 2010-02-22 | 2 | -22/+147 |
| | | | | | | Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we now avoid creating GMR buffers larger than 8MB to ensure progress given we have only a 16MB pool. | ||||
* | svga: Note ranges even when there is no hardware buffer around. | José Fonseca | 2010-02-22 | 1 | -5/+2 |
| | | | | | Not having a hardware buffer around doesn't change the fact that the range is dirty and needs to be uploaded eventually. | ||||
* | svga: Further cleanup/comment svga buffer code. | José Fonseca | 2010-02-22 | 2 | -112/+142 |
| | | | | Just cosmetic changes -- no behavior change. | ||||
* | svga: Temporarily create a sw vertex buf when failed to create a hw buf. | José Fonseca | 2010-02-22 | 1 | -7/+20 |
| | | | | | Many apps don't check the return of map buffer so it is better not to fail. | ||||
* | svga: Remove unused buffer download code. | José Fonseca | 2010-02-22 | 2 | -45/+0 |
| | | | | Unnecessary now that we never destroy buffer storage. | ||||
* | svga: Prevent buffer overflow in buffer ranges. | José Fonseca | 2010-02-22 | 1 | -8/+54 |
| | | | | | | | Do this by extending the nearest range to cover the new range. This fixes an access fault in Call of Duty which was doing many disjoint glBufferSubData calls. | ||||
* | svga: Fix PIPE_LOGICOP_INVERT. | José Fonseca | 2010-02-22 | 1 | -6/+1 |
| | | | | | | Actually the current XOR implementation is an INVERT. This fixes rectangle selection in Maya. | ||||
* | i965g: added missing texture cap queries | Brian Paul | 2010-02-22 | 1 | -0/+4 |
| | |||||
* | i915g: added missing texture cap queries | Brian Paul | 2010-02-22 | 1 | -0/+4 |
| | |||||
* | Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map" | Dave Airlie | 2010-02-22 | 14 | -600/+101 |
| | | | | | | | | | | This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: rebuild winsys/pipe buffer handling and add buffer map | Dave Airlie | 2010-02-22 | 14 | -101/+600 |
| | | | | | | | | | | | | | This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r3OOg: support rendering of more than 65535 vertices per draw call (almost) | Marek Olšák | 2010-02-22 | 2 | -29/+83 |
| | | | | | | | | | | The path for VAP_ALT_NUM_VERTICES is also in place (and tested) but not enabled by default due to the missing support of this reg in the upstream kernel. Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine. Am I missing something? Because of this, only draw_arrays can render more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES. | ||||
* | i965g: Fix memory leak. | Vinson Lee | 2010-02-21 | 1 | -1/+2 |
| | |||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-02-21 | 1 | -1/+0 |
| | |||||
* | r300g: precompute framebuffer register values | Marek Olšák | 2010-02-21 | 6 | -220/+250 |
| | |||||
* | r300g: add all missing colorbuffer formats | Marek Olšák | 2010-02-21 | 2 | -83/+165 |
| | |||||
* | r300g: make r300_translate_texformat private | Marek Olšák | 2010-02-21 | 3 | -235/+246 |
| | | | | | | Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported. | ||||
* | r300g: re-enable SRGB formats | Marek Olšák | 2010-02-21 | 1 | -1/+2 |
| | | | | Ouch. | ||||
* | i965g: Remove dead code. | Vinson Lee | 2010-02-21 | 1 | -2/+0 |
| | |||||
* | i965g: Fix assertions that were always true. | Vinson Lee | 2010-02-21 | 1 | -4/+10 |
| | | | | | | | | | The surface_format field is 9 bits wide which has a maximum value of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds the width of the surface_format field. This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID before assignment to the surface_format field. |