summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.Vinson Lee2010-04-171-1/+1
| | | | | Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic"
* r300g: various other cleanupsMarek Olšák2010-04-1812-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 functionsMarek Olšák2010-04-181-84/+36
|
* r300g: remove unused declarationsMarek Olšák2010-04-181-4/+0
|
* r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák2010-04-184-9/+18
| | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
* r300g: remove r300_transfer::ctxMarek Olšák2010-04-181-5/+1
|
* r300g: remove use of c++ keywordsMarek Olšák2010-04-184-15/+12
|
* r300g: always create microtiled zbuffer regardless of texture dimensionsMarek Olšák2010-04-181-2/+3
|
* r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák2010-04-171-1/+5
|
* r300/compiler: make ARB_shadow_ambient optionalMarek Olšák2010-04-161-6/+0
| | | | | This saves constant register space for r300g, which doesn't need this feature.
* r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák2010-04-161-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_CLAMPMarek Olšák2010-04-151-6/+0
| | | | A variant thereof might be later reintroduced for the mirrored-clamp modes.
* r300g: mask out the mirrored bit correctly in the registersMarek Olšák2010-04-151-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 modeMarek Olšák2010-04-151-1/+1
| | | | I guess this was a typo.
* r300g: add missing r300_state.hMarek Olšák2010-04-151-0/+30
| | | | I am very bad at this.
* r300g: disable the REPEAT NPOT fallback until it worksMarek Olšák2010-04-151-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 modesMarek Olšák2010-04-151-23/+29
| | | | These work just fine.
* r300g: pick a new fragment shader when either a sampler state or view is changedMarek Olšák2010-04-153-17/+24
|
* r300g: fix regression in texdepth.Dave Airlie2010-04-151-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 failsMarek Olšák2010-04-142-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 specificMarek Olšák2010-04-141-47/+34
|
* r300g: remove the CS compenstation for non-atomized statesMarek Olšák2010-04-141-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 leftoversMarek Olšák2010-04-142-7/+5
|
* r300g: atomize beginning occlusion queryMarek Olšák2010-04-147-17/+8
|
* r300g: atomize VS constant bufferMarek Olšák2010-04-147-25/+30
|
* r300g: emit VS immediates along with VS codeMarek Olšák2010-04-144-7/+37
|
* r300g: make setting up fragment depth output less hackishMarek Olšák2010-04-143-16/+18
|
* r300g: kill off r300_fragment_shader::shadow_samplers and friendsMarek Olšák2010-04-142-9/+0
|
* r300g: Silence uninitialized variable warning.Vinson Lee2010-04-131-0/+1
|
* r300g: add generating texture coordinates for point spritesMarek Olšák2010-04-135-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 Lee2010-04-121-2/+4
| | | | Fixes SCons build.
* r300/compiler: Implement texcoord repeat and mirror for NPOT.Corbin Simpson2010-04-111-25/+26
|
* r300g: Setup external state for wrap modes.Corbin Simpson2010-04-111-0/+26
|
* r300g: Cleanup fragment program external state setup.Corbin Simpson2010-04-111-18/+16
|
* r300g: atomize FS constant bufferMarek Olšák2010-04-126-41/+37
|
* r300g: atomize compiler's state variables for fragment shaderMarek Olšák2010-04-125-16/+15
|
* r300g: atomize fragment shaderMarek Olšák2010-04-1210-59/+98
|
* r300g: remove a false commentMarek Olšák2010-04-121-3/+0
|
* r300g: emit FS depth output config with FS codeMarek Olšák2010-04-121-19/+20
|
* r300g: FS constants emission reworkMarek Olšák2010-04-125-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 Lee2010-04-112-3/+0
|
* r300g: Initialize base.bind member variable.Vinson Lee2010-04-111-0/+1
| | | | The base.bind member variable was never initialized.
* r300g: Add r300_resource.c to SCons build.Vinson Lee2010-04-111-0/+1
| | | | | This was missed in commit 287c94ea4987033f9c99a2f91c5750c9083504ca, the gallium-resources branch merge.
* r300g: a fix for piglit/texrect-manyMarek Olšák2010-04-111-1/+4
| | | | Broken since 146879284c6b844f35afe3a3ef3330726afbe8ac.
* r300g: use a dummy replacement vertex shader if the shader compilation failsMarek Olšák2010-04-113-19/+51
|
* r300g: use a dummy replacement fragment shader if the shader compilation failsMarek Olšák2010-04-115-33/+80
| | | | Better than killing an application.
* r300g: revisit some assertions and fix potential failuresMarek Olšák2010-04-116-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 scissoringMarek Olšák2010-04-114-71/+29
| | | | Cliprects can be disabled, scissors can't. It maps nicely to hardware.
* r300g: fix mipmapped 3D texturesMarek Olšák2010-04-112-1/+26
| | | | This is a bug in the CS checker causing CS being rejected.
* r300g: support some exotic sampler formatsMarek Olšák2010-04-112-8/+17
|