Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic. | Vinson Lee | 2010-04-17 | 1 | -1/+1 |
| | | | | | Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic" | ||||
* | r300g: various other cleanups | Marek Olšák | 2010-04-18 | 12 | -86/+71 |
| | | | | | | It seems to me that the resource management code is the most blurry. Also some of my notes about fastfill are wrong, removing them too. | ||||
* | r300g: inline screen_buffer functions | Marek Olšák | 2010-04-18 | 1 | -84/+36 |
| | |||||
* | r300g: remove unused declarations | Marek Olšák | 2010-04-18 | 1 | -4/+0 |
| | |||||
* | r300g: add debugging options "notiling" and "noimmd" (for testing) | Marek Olšák | 2010-04-18 | 4 | -9/+18 |
| | | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!) | ||||
* | r300g: remove r300_transfer::ctx | Marek Olšák | 2010-04-18 | 1 | -5/+1 |
| | |||||
* | r300g: remove use of c++ keywords | Marek Olšák | 2010-04-18 | 4 | -15/+12 |
| | |||||
* | r300g: always create microtiled zbuffer regardless of texture dimensions | Marek Olšák | 2010-04-18 | 1 | -2/+3 |
| | |||||
* | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures | Marek Olšák | 2010-04-17 | 1 | -1/+5 |
| | |||||
* | r300/compiler: make ARB_shadow_ambient optional | Marek Olšák | 2010-04-16 | 1 | -6/+0 |
| | | | | | This saves constant register space for r300g, which doesn't need this feature. | ||||
* | r300/compiler: fix repeat wrap mode for TXP and NPOTs | Marek Olšák | 2010-04-16 | 1 | -2/+1 |
| | | | | | No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g. | ||||
* | r300/compiler: kill off RC_WRAP_CLAMP | Marek Olšák | 2010-04-15 | 1 | -6/+0 |
| | | | | A variant thereof might be later reintroduced for the mirrored-clamp modes. | ||||
* | r300g: mask out the mirrored bit correctly in the registers | Marek Olšák | 2010-04-15 | 1 | -12/+12 |
| | | | | | It was previously done wrong + now it shouldn't render garbage, so that the NPOT fallback can get in. | ||||
* | r300g: fix the MIRROR_CLAMP_TO_BORDER wrap mode | Marek Olšák | 2010-04-15 | 1 | -1/+1 |
| | | | | I guess this was a typo. | ||||
* | r300g: add missing r300_state.h | Marek Olšák | 2010-04-15 | 1 | -0/+30 |
| | | | | I am very bad at this. | ||||
* | r300g: disable the REPEAT NPOT fallback until it works | Marek Olšák | 2010-04-15 | 1 | -1/+2 |
| | | | | | It causes regressions. I haven't tested the MIRROR wrap modes, so not sure about that.. | ||||
* | r300g: do not use NPOT fallback for CLAMP wrap modes | Marek Olšák | 2010-04-15 | 1 | -23/+29 |
| | | | | These work just fine. | ||||
* | r300g: pick a new fragment shader when either a sampler state or view is changed | Marek Olšák | 2010-04-15 | 3 | -17/+24 |
| | |||||
* | r300g: fix regression in texdepth. | Dave Airlie | 2010-04-15 | 1 | -5/+7 |
| | | | | | | | | | texdepth stopped working when npot went in, this brings it back to life. < MostAwesomeDude> That looks like what I was going to do. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: fix possible crash when shader compilation fails | Marek Olšák | 2010-04-14 | 2 | -0/+6 |
| | | | | This hopefully fixes the crash in the FDO bug #27634, not the bug itself. | ||||
* | r300g: simplify get_shader_constant to be rc-constant-state specific | Marek Olšák | 2010-04-14 | 1 | -47/+34 |
| | |||||
* | r300g: remove the CS compenstation for non-atomized states | Marek Olšák | 2010-04-14 | 1 | -3/+0 |
| | | | | | Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS. | ||||
* | r300g: remove always_dirty flag and correct leftovers | Marek Olšák | 2010-04-14 | 2 | -7/+5 |
| | |||||
* | r300g: atomize beginning occlusion query | Marek Olšák | 2010-04-14 | 7 | -17/+8 |
| | |||||
* | r300g: atomize VS constant buffer | Marek Olšák | 2010-04-14 | 7 | -25/+30 |
| | |||||
* | r300g: emit VS immediates along with VS code | Marek Olšák | 2010-04-14 | 4 | -7/+37 |
| | |||||
* | r300g: make setting up fragment depth output less hackish | Marek Olšák | 2010-04-14 | 3 | -16/+18 |
| | |||||
* | r300g: kill off r300_fragment_shader::shadow_samplers and friends | Marek Olšák | 2010-04-14 | 2 | -9/+0 |
| | |||||
* | r300g: Silence uninitialized variable warning. | Vinson Lee | 2010-04-13 | 1 | -0/+1 |
| | |||||
* | r300g: add generating texture coordinates for point sprites | Marek Olšák | 2010-04-13 | 5 | -21/+85 |
| | | | | | | | | | | | | [airlied - Convert sprite coord index to a per-coord enable bit set the rasteriser block up correctly for point sprites. The inputs to the RS hw block change for sprite coords, so fix them up properly - this fixes piglit point-sprite test. ] Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: Move declaration before code. | Vinson Lee | 2010-04-12 | 1 | -2/+4 |
| | | | | Fixes SCons build. | ||||
* | r300/compiler: Implement texcoord repeat and mirror for NPOT. | Corbin Simpson | 2010-04-11 | 1 | -25/+26 |
| | |||||
* | r300g: Setup external state for wrap modes. | Corbin Simpson | 2010-04-11 | 1 | -0/+26 |
| | |||||
* | r300g: Cleanup fragment program external state setup. | Corbin Simpson | 2010-04-11 | 1 | -18/+16 |
| | |||||
* | r300g: atomize FS constant buffer | Marek Olšák | 2010-04-12 | 6 | -41/+37 |
| | |||||
* | r300g: atomize compiler's state variables for fragment shader | Marek Olšák | 2010-04-12 | 5 | -16/+15 |
| | |||||
* | r300g: atomize fragment shader | Marek Olšák | 2010-04-12 | 10 | -59/+98 |
| | |||||
* | r300g: remove a false comment | Marek Olšák | 2010-04-12 | 1 | -3/+0 |
| | |||||
* | r300g: emit FS depth output config with FS code | Marek Olšák | 2010-04-12 | 1 | -19/+20 |
| | |||||
* | r300g: FS constants emission rework | Marek Olšák | 2010-04-12 | 5 | -21/+156 |
| | | | | | * The constant buffer emission is separated from RC state variables emission. * The immediates are emitted with FS code. | ||||
* | r300g: Remove unnecessary headers. | Vinson Lee | 2010-04-11 | 2 | -3/+0 |
| | |||||
* | r300g: Initialize base.bind member variable. | Vinson Lee | 2010-04-11 | 1 | -0/+1 |
| | | | | The base.bind member variable was never initialized. | ||||
* | r300g: Add r300_resource.c to SCons build. | Vinson Lee | 2010-04-11 | 1 | -0/+1 |
| | | | | | This was missed in commit 287c94ea4987033f9c99a2f91c5750c9083504ca, the gallium-resources branch merge. | ||||
* | r300g: a fix for piglit/texrect-many | Marek Olšák | 2010-04-11 | 1 | -1/+4 |
| | | | | Broken since 146879284c6b844f35afe3a3ef3330726afbe8ac. | ||||
* | r300g: use a dummy replacement vertex shader if the shader compilation fails | Marek Olšák | 2010-04-11 | 3 | -19/+51 |
| | |||||
* | r300g: use a dummy replacement fragment shader if the shader compilation fails | Marek Olšák | 2010-04-11 | 5 | -33/+80 |
| | | | | Better than killing an application. | ||||
* | r300g: revisit some assertions and fix potential failures | Marek Olšák | 2010-04-11 | 6 | -31/+42 |
| | | | | | | | | * Turn some assertions to error messages. * At most 16 vertex elements can be set, others are ignored. * Rasterize at most 8 vertex-shader generic outputs, others are ignored. This includes fog and WPOS. * Unknown shader semantic names are ignored. | ||||
* | r300g: use cliprects for scissoring | Marek Olšák | 2010-04-11 | 4 | -71/+29 |
| | | | | Cliprects can be disabled, scissors can't. It maps nicely to hardware. | ||||
* | r300g: fix mipmapped 3D textures | Marek Olšák | 2010-04-11 | 2 | -1/+26 |
| | | | | This is a bug in the CS checker causing CS being rejected. | ||||
* | r300g: support some exotic sampler formats | Marek Olšák | 2010-04-11 | 2 | -8/+17 |
| |