Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: drop use_mem_constant. | Dave Airlie | 2010-10-05 | 6 | -11/+3 |
| | | | | since we plan on using dx10 constant buffers everywhere. | ||||
* | r600g: allow r600_bo to be a sub allocation of a big bo | Jerome Glisse | 2010-10-04 | 4 | -24/+33 |
| | | | | | | | Add bo offset everywhere needed if r600_bo is ever a sub bo of a bigger bo. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: rename radeon_ws_bo to r600_bo | Jerome Glisse | 2010-10-04 | 8 | -42/+42 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: the code to check whether a new vertex shader is needed was wrong | Dave Airlie | 2010-10-04 | 1 | -1/+3 |
| | | | | | | | this code was memcmp'ing two structs, but refcounting one of them afterwards, so any subsequent memcmp was never going to work. again this stops unnecessary uploads of vertex program, | ||||
* | r600g: Remove unnecessary headers. | Vinson Lee | 2010-10-01 | 2 | -3/+0 |
| | |||||
* | r600g: Remove unused variable. | Vinson Lee | 2010-10-01 | 1 | -1/+1 |
| | | | | | | Fixes this GCC warning. r600_shader.c: In function 'tgsi_split_literal_constant': r600_shader.c:818: warning: unused variable 'index' | ||||
* | r600g: indentation fixes | Jerome Glisse | 2010-10-01 | 5 | -58/+57 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: setup basic loop consts on r600 + evergreen. | Dave Airlie | 2010-10-01 | 4 | -0/+19 |
| | | | | this sets up a single loop constant like r600c does. | ||||
* | r600g: only set the Z export if shader exports it. | Dave Airlie | 2010-10-01 | 2 | -8/+10 |
| | |||||
* | r600g: fix evergreen draw-buffers | Dave Airlie | 2010-10-01 | 1 | -1/+1 |
| | | | | just a typo in the register headers. | ||||
* | r600g: add cb flushing for extra buffers + depth buffer on r600/evergreen | Dave Airlie | 2010-10-01 | 1 | -3/+12 |
| | |||||
* | r600g: fixup vertex format picking. | Dave Airlie | 2010-10-01 | 6 | -144/+407 |
| | | | | there are some vertex formats defined in r600c not in the docs. | ||||
* | r600g: add assembler support for other vtx fetch fields. | Dave Airlie | 2010-10-01 | 3 | -1/+11 |
| | | | | | this shouldn't change behaviour, just push the choice of what to do out to the shader. | ||||
* | r600g: realign evergreen code with r600 code. | Dave Airlie | 2010-10-01 | 1 | -3/+4 |
| | | | | fixes segfault in depth-tex-modes-glsl and OA startup. | ||||
* | r600g: add reloc for evergreen color attrib | Dave Airlie | 2010-10-01 | 1 | -1/+1 |
| | | | | we'll need this for color tiling on evergreen. | ||||
* | r600g: drop depth quirk on evergreen | Dave Airlie | 2010-10-01 | 1 | -15/+0 |
| | | | | none of the EG cards need the quirk. | ||||
* | r600g: add winsys support for CTL constants. | Dave Airlie | 2010-10-01 | 4 | -0/+13 |
| | | | | | These need to be emitted, we also need them to do proper vtx start, instead of abusing index offset. | ||||
* | r600g: fix evergreen depth flushing. | Dave Airlie | 2010-10-01 | 5 | -48/+98 |
| | | | | | although evergreen can apparantly sample direct from 24-bit, just make it work with the current method for now. | ||||
* | r600g: fix constant & literal src splitting, also fix mplayer gl2 shader | Jerome Glisse | 2010-09-30 | 1 | -16/+40 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use constant buffer instead of register for constant | Jerome Glisse | 2010-09-30 | 2 | -26/+26 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: return string for chip family | Dave Airlie | 2010-09-30 | 1 | -6/+25 |
| | | | | use same strings as r600c. | ||||
* | r600g: clean up some code from move to new paths. | Dave Airlie | 2010-09-30 | 7 | -42/+42 |
| | | | | mainly remove 2 suffix from function names | ||||
* | r600g: add L8A8 unorm. | Dave Airlie | 2010-09-30 | 1 | -0/+6 |
| | | | | fixes texEnv warnings. | ||||
* | r600g: port r300g fix for X* formats in texformat code | Dave Airlie | 2010-09-30 | 1 | -4/+14 |
| | |||||
* | r600g: more cleanup | Jerome Glisse | 2010-09-29 | 10 | -208/+225 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: Update SConscript. | Vinson Lee | 2010-09-29 | 1 | -4/+6 |
| | | | | Fixes SCons build. | ||||
* | r600g: cleanup | Jerome Glisse | 2010-09-29 | 10 | -1075/+914 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: Update SConscript. | Vinson Lee | 2010-09-29 | 1 | -7/+4 |
| | | | | | | This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882. Fixes SCons build. | ||||
* | r600g: delete old path | Jerome Glisse | 2010-09-29 | 22 | -4795/+70 |
| | | | | | | Lot of clean can now happen. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use a hash table instead of group | Jerome Glisse | 2010-09-29 | 3 | -467/+441 |
| | | | | | | | | Instead of creating group of register use a hash table to lookup into which block each register belongs. This simplify code a bit. Signed-off-by: Jerome Glisse <[email protected] | ||||
* | Revert "r600g: add initial vertex translate support." | Dave Airlie | 2010-09-29 | 4 | -239/+3 |
| | | | | | | | This reverts commit 914b669b082258fc05d0fec047b69949d88585c4. I didn't mean to commit this yet, will redo in new state system once we clean it up. | ||||
* | r600g: remove old assert from new codepath | Dave Airlie | 2010-09-29 | 1 | -2/+0 |
| | | | | this fixes draw-elements-base-vertex | ||||
* | r600g: add initial vertex translate support. | Dave Airlie | 2010-09-29 | 4 | -3/+239 |
| | |||||
* | r600g: add evergreen texture border support to new path | Dave Airlie | 2010-09-29 | 1 | -1/+4 |
| | |||||
* | r600g: add back evergreen name. | Dave Airlie | 2010-09-29 | 1 | -1/+3 |
| | |||||
* | r600g: Cleaned up index buffer reference handling in the draw module. | Tilman Sauerbeck | 2010-09-28 | 3 | -4/+14 |
| | | | | | | This fixes a buffer leak. Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | r600g: avoid rebuilding the vertex shader if no change to input format | Jerome Glisse | 2010-09-28 | 2 | -6/+12 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: suspend/resume occlusion query around clear/copy | Jerome Glisse | 2010-09-28 | 2 | -0/+10 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix remaining piglit issue in new design | Jerome Glisse | 2010-09-28 | 2 | -8/+32 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use ptr for blit depth uncompress function | Jerome Glisse | 2010-09-28 | 4 | -1/+48 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: on evergreen the centroid isn't set in this register. | Dave Airlie | 2010-09-28 | 2 | -2/+0 |
| | |||||
* | r600g: fix db flush breaking config state | Dave Airlie | 2010-09-28 | 1 | -9/+9 |
| | |||||
* | r600g: fix routing btw vertex & pixel shader | Jerome Glisse | 2010-09-27 | 3 | -2/+18 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix pointsprite & resource unbinding | Jerome Glisse | 2010-09-27 | 2 | -2/+4 |
| | | | | | | | | | | When asking to bind NULL resource assume it's unbinding so free resource and unreference assoicated buffer. Also fix pointsprite parameter. Fix glsl-fs-pointcoord & fp-fragment-position Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: build packet header once | Jerome Glisse | 2010-09-27 | 2 | -0/+18 |
| | | | | | | | | Build packet header once and allow to add fake register support so we can handle things like indexed set of register (evergreen sampler border registers for instance. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix index buffer drawing | Jerome Glisse | 2010-09-27 | 2 | -3/+5 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: Fixed two texture surface leaks in r600_blit_uncompress_depth(). | Tilman Sauerbeck | 2010-09-27 | 1 | -0/+3 |
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | r600g: add evergreen texture resource properly. | Dave Airlie | 2010-09-27 | 2 | -8/+13 |
| | | | | adding sampler border looks impossible with current design, another day, another corner case not worked out. | ||||
* | r600g: Silence uninitialized variable warnings. | Vinson Lee | 2010-09-26 | 1 | -0/+5 |
| | | | | | | | Fixes these GCC warnings. r600_shader.c: In function 'tgsi_tex': r600_shader.c:1611: warning: 'src2_chan' may be used uninitialized in this function r600_shader.c:1611: warning: 'src_chan' may be used uninitialized in this function | ||||
* | r600g: use depth decompression in new path | Jerome Glisse | 2010-09-26 | 2 | -11/+53 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> |