Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: move r300_transfer to separate files | Marek Olšák | 2010-03-07 | 6 | -84/+171 |
| | |||||
* | r300g: disable emitting the HWTCL-related state when SWTCL is in use | Marek Olšák | 2010-03-07 | 4 | -5/+12 |
| | | | | Now SWTCL renders at least "something", we're close... | ||||
* | r300g: resurrect r300_emit_vertex_buffer for SWTCL | Marek Olšák | 2010-03-07 | 1 | -2/+28 |
| | | | | Taken over from c9928ac3ee5dc0d10127388f9312779a6c59da7c. | ||||
* | r300g: validate buffers when using SWTCL | Marek Olšák | 2010-03-07 | 1 | -3/+5 |
| | |||||
* | r300g: share the VS-output-mapping state with SWTCL | Marek Olšák | 2010-03-07 | 4 | -148/+96 |
| | | | | And associated cleanups. | ||||
* | r300g: abort if FS compilation fails on non-debug builds | Marek Olšák | 2010-03-07 | 1 | -0/+1 |
| | |||||
* | r300g: minor cleanups after the no-rhw merge | Marek Olšák | 2010-03-06 | 2 | -9/+5 |
| | |||||
* | r300g: clamp vertex max index according to currently bound buffers | Marek Olšák | 2010-03-06 | 1 | -1/+1 |
| | |||||
* | r300g: Fix indexbuf upper limits. | Corbin Simpson | 2010-03-04 | 1 | -1/+6 |
| | | | | | | | Wine tends to pessimistically use ~0 for its max index, but r300s only can go up to 2^24-1, causing the kernel checker to freak out. Civ4 is marginally improved now. Still crashes, but not as bad. | ||||
* | r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support. | José Fonseca | 2010-03-03 | 1 | -2/+0 |
| | |||||
* | r300g: Use a macro to consolidate general state handling. | Corbin Simpson | 2010-03-02 | 1 | -10/+11 |
| | | | | My God, I've reinvented R300_STATECHANGE. Forgive me. :C | ||||
* | Merge branch 'gallium-format-cleanup' | José Fonseca | 2010-03-02 | 4 | -51/+47 |
|\ | |||||
| * | r300: Rename pipe formats. | José Fonseca | 2010-03-02 | 4 | -48/+48 |
| | | |||||
| * | r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM. | José Fonseca | 2010-03-01 | 1 | -2/+0 |
| | | | | | | | | PIPE_FORMAT_R8G8B8A8_SNORM already listed. | ||||
| * | r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. | José Fonseca | 2010-03-01 | 1 | -2/+2 |
| | | |||||
| * | r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM. | José Fonseca | 2010-03-01 | 1 | -2/+0 |
| | | | | | | | | | | | | This format is not actually used by any state tracker. Probably the reverse notation was mean, which would make it identical to PIPE_FORMAT_X8B8G8R8_SNORM. | ||||
* | | Merge branch 'gallium-no-rhw-position' | Michal Krol | 2010-03-02 | 5 | -43/+28 |
|\ \ | |/ |/| | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c | ||||
| * | r300: Save viewport and clip states before invoking blitter. | Michal Krol | 2010-03-01 | 3 | -0/+10 |
| | | |||||
| * | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. | Michal Krol | 2010-02-22 | 4 | -43/+18 |
| | | | | | | | | Needs testing. | ||||
* | | r300g: atomize texture and sampler states | Marek Olšák | 2010-02-28 | 9 | -135/+153 |
| | | |||||
* | | r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT) | Marek Olšák | 2010-02-28 | 7 | -66/+101 |
| | | | | | | | | | | | | | | | | | | | | | | Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder. | ||||
* | | r300g: put validating buffers after flushing | Marek Olšák | 2010-02-28 | 3 | -53/+37 |
| | | | | | | | | Also cleaning up the nasty validation process. | ||||
* | | r300g: use the atom size directly during emission | Marek Olšák | 2010-02-28 | 4 | -30/+31 |
| | | |||||
* | | r300g: atomize invalidation of texture caches | Marek Olšák | 2010-02-28 | 5 | -8/+11 |
| | | |||||
* | | r300g: atomize PVS flush | Marek Olšák | 2010-02-28 | 5 | -27/+29 |
| | | | | | | | | The first non-state atom. It's better and cleaner to have it. | ||||
* | | r300g: add size parameter to the atom emit functions | Marek Olšák | 2010-02-28 | 5 | -28/+47 |
| | | | | | | | | | | Maintaining a closer relationship between the atom size and what's passed in BEGIN_CS. | ||||
* | | r300g: move the emission of GA_POINT_MINMAX into emit_fb_state | Marek Olšák | 2010-02-27 | 3 | -23/+7 |
| | | | | | | | | | | The only practical limits are the ones derived from the currently-set framebuffer state. | ||||
* | | r300g: put the emission of R300_US_OUT_FMT_UNUSED back | Marek Olšák | 2010-02-27 | 2 | -2/+7 |
| | | | | | | | | It wasn't such a good idea to remove it. :/ | ||||
* | | r300g: mark rasterizer_state as dirty only when it's not NULL | Marek Olšák | 2010-02-27 | 1 | -1/+1 |
| | | |||||
* | | r300g: always emit the correct max vertex index to avoid DRM errors | Marek Olšák | 2010-02-27 | 3 | -2/+13 |
| | | | | | | | | Fixing bizarre reports that a vertex buffer is not large enough. | ||||
* | | r300g: remove pointless "while" | Marek Olšák | 2010-02-27 | 1 | -1/+1 |
| | | |||||
* | | 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]> | ||||
* | | 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 | ||||
* | | r300: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | 2010-02-24 | 2 | -16/+4 |
| | | |||||
* | | r300g: fix texture swizzling for the SRGB formats | Marek Olšák | 2010-02-24 | 1 | -4/+20 |
| | | |||||
* | | r300g: fix draw_elements for "start" != 0 | Marek Olšák | 2010-02-23 | 1 | -7/+2 |
|/ | | | | Reported-by: Andre Maasikas <[email protected]> | ||||
* | 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. | ||||
* | 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. | ||||
* | r300g: fix rendering into the L8 and A8 texture formats | Marek Olšák | 2010-02-19 | 1 | -2/+2 |
| | | | | RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component. | ||||
* | Revert "r300g: remove L8_UNORM from colorbuffer formats" | Corbin Simpson | 2010-02-19 | 1 | -0/+1 |
| | | | | | | | | This reverts commit fc427d23439a2702068209957f08990ea29fe21b. At least xorg uses this, and just because something is not used in OpenGL is *never* a valid reason to remove functionality from Gallium. If something lacks a test, go add a test, don't remove features. | ||||
* | r300g: remove L8_UNORM from colorbuffer formats | Marek Olšák | 2010-02-19 | 1 | -1/+0 |
| | | | | Not renderable in OpenGL anyway. | ||||
* | r300g: add support for all missing non-FP sampler formats | Marek Olšák | 2010-02-18 | 3 | -124/+234 |
| | | | | | The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported. |