Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | scons: Add aliases for several pipe drivers. | José Fonseca | 2010-11-02 | 1 | -0/+2 |
| | |||||
* | r600g: List recently added files in SConscript. | José Fonseca | 2010-11-02 | 1 | -0/+2 |
| | |||||
* | r600g: Silence uninitialized variable warnings. | Vinson Lee | 2010-10-27 | 1 | -4/+4 |
| | |||||
* | r600g: Destroy the blitter. | Tilman Sauerbeck | 2010-10-27 | 1 | -0/+2 |
| | | | | | | This fix got lost in the state rework merge. Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | r600g: add assembler support for all the kcache fields. | Dave Airlie | 2010-10-26 | 3 | -2/+17 |
| | |||||
* | r600g: fix magic 0x1 ->flat shade ena | Dave Airlie | 2010-10-26 | 2 | -2/+2 |
| | |||||
* | r600g: drop more common state handling code | Dave Airlie | 2010-10-24 | 4 | -151/+80 |
| | |||||
* | r600g: Also clear bc data when we're destroying a shader. | Tilman Sauerbeck | 2010-10-24 | 3 | -1/+39 |
| | | | | | | | [airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Added r600_pipe_shader_destroy(). | Tilman Sauerbeck | 2010-10-24 | 3 | -2/+16 |
| | | | | | | | Not yet complete. Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: merge more of the common r600/evergreen state handling | Dave Airlie | 2010-10-24 | 4 | -172/+106 |
| | |||||
* | r600g: Fixed r600_vertex_element leak. | Tilman Sauerbeck | 2010-10-24 | 4 | -18/+10 |
| | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: start splitting out common code from eg/r600. | Dave Airlie | 2010-10-21 | 6 | -339/+367 |
| | | | | | no point duplicating code that doesn't touch hw, also make it easier to spot mistakes | ||||
* | r600g: initial translate state support | Dave Airlie | 2010-10-21 | 4 | -5/+250 |
| | |||||
* | r600g: add texture tiling enable under a debug option. | Dave Airlie | 2010-10-21 | 1 | -0/+7 |
| | | | | | | At the moment you need kernel patches to have texture tiling work with the kernel CS checker, so once they are upstream and the drm version is bumped we can make this enable flip the other way most likely. | ||||
* | r600g: add texture tiling alignment support. | Dave Airlie | 2010-10-21 | 1 | -5/+60 |
| | | | | | this sets things up to align stride/height with tile sizes, it also adds support for the 2D/1D array mode cross over point. | ||||
* | r600g: introduce a per-driver resource flag for transfers. | Dave Airlie | 2010-10-21 | 2 | -2/+5 |
| | | | | this is to be used to decide not to tile a surface being used for transfers. | ||||
* | r600g: add r600 surface to store the aligned height. | Dave Airlie | 2010-10-21 | 4 | -20/+36 |
| | | | | | we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height. | ||||
* | r600g: start adding hooks for aligning width/height for tiles. | Dave Airlie | 2010-10-21 | 1 | -4/+26 |
| | |||||
* | r600g: move to per-miplevel array mode. | Dave Airlie | 2010-10-21 | 4 | -12/+23 |
| | | | | | | Since the hw transitions from 2D->1D sampling below the 2D macrotile size we need to keep track of the array mode per level so we can render to it using the CB. | ||||
* | r600g: all non-0 mipmap levels need to be w/h aligned to POT. | Dave Airlie | 2010-10-21 | 1 | -5/+13 |
| | | | | this adds a new minify function to the driver to ensure this. | ||||
* | r600g: Ensure r600_src is initialized in tgsi_exp function. | Vinson Lee | 2010-10-20 | 1 | -1/+1 |
| | | | | | | | | | | Silences these GCC warnings. r600_shader.c: In function 'tgsi_exp': r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function | ||||
* | r600g: retrieve tiling info from kernel for shared buffers. | Dave Airlie | 2010-10-18 | 3 | -4/+7 |
| | | | | we need to know if the back is tiled so we can blit from it properly. | ||||
* | r600g: fix transfer function for tiling. | Dave Airlie | 2010-10-18 | 1 | -2/+3 |
| | | | | this makes readback with tiled back work better. | ||||
* | r600g: attempt to cleanup depth blit | Dave Airlie | 2010-10-18 | 1 | -17/+4 |
| | | | | cleanup what I'm nearly sure is unnecessary work in the depth blit code. | ||||
* | r600g: depth needs to bound to ds | Dave Airlie | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | r600g: fix typo in tiling setup cb code. | Dave Airlie | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | r600g: do proper tracking of views/samplers. | Dave Airlie | 2010-10-18 | 3 | -16/+44 |
| | | | | | we need to do pretty much what r300g does in for this, this fixes some issues seen while working on tiling. | ||||
* | r600g: set tiling bits in hw state | Dave Airlie | 2010-10-18 | 1 | -0/+5 |
| | |||||
* | r600g: get tiling info from kernel | Dave Airlie | 2010-10-18 | 3 | -0/+10 |
| | |||||
* | r600g: add defines for tiling | Dave Airlie | 2010-10-18 | 1 | -0/+4 |
| | |||||
* | r600g: switch to a common formats.h file since they are in different regs | Dave Airlie | 2010-10-18 | 6 | -139/+121 |
| | |||||
* | r600g: add evergreen ARL support. | Dave Airlie | 2010-10-17 | 2 | -9/+38 |
| | | | | | | Thanks to Alex Deucher for pointing out the FLT to int conversion is necessary and writing an initial patch, this brings about 20 piglits, and I think this is the last piece to make evergreen and r600 equal in terms of features. | ||||
* | r600g: evergreen interpolation support. | Dave Airlie | 2010-10-15 | 3 | -22/+149 |
| | | | | | | | | | | | | | | On evergreen, interpolation has moved into the fragment shader, with the interpolation parmaters being passed via GPRs and LDS entries. This works out the number of interps required and reserves GPR/LDS storage for them, it also correctly routes face/position values which aren't interpolated from the vertex shader. Also if we noticed nothing is to be interpolated we always setup perspective interpolation for one value otherwise the GPU appears to lockup. This fixes about 15 piglit tests on evergreen. | ||||
* | r600g: handle absolute modifier in shader translator | Keith Whitwell | 2010-10-15 | 1 | -5/+4 |
| | | | | | | | This was being classed as unsupported in one place but used in others. Enabling it seems to work fine. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: emit hardware linewidth | Keith Whitwell | 2010-10-15 | 1 | -1/+4 |
| | | | | | | | Tested with demos/pixeltest - line rasterization doesn't seem to be set up for GL conventions yet, but at least width is respected now. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: select linear interpolate if tgsi input requests it | Dave Airlie | 2010-10-14 | 1 | -0/+3 |
| | |||||
* | r600g: fixup typo in macro name | Dave Airlie | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | r600g: fixup pos/face ena/address properly | Dave Airlie | 2010-10-14 | 1 | -8/+17 |
| | |||||
* | r600g: only pick centroid coordinate when asked. | Dave Airlie | 2010-10-14 | 2 | -1/+4 |
| | | | | TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though. | ||||
* | r600g: Fix texture sampling with swizzled coords | Fredrik Höglund | 2010-10-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: drop unused context members | Dave Airlie | 2010-10-14 | 1 | -2/+0 |
| | |||||
* | r600g: fix stencil export for evergreen harder | Dave Airlie | 2010-10-13 | 2 | -3/+3 |
| | |||||
* | r600g: fix relative addressing when splitting constant accesses | Stephan Schmid | 2010-10-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add missing eg reg definition | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | |||||
* | r600g: evergreen add stencil export bit | Dave Airlie | 2010-10-13 | 1 | -0/+5 |
| | |||||
* | r600g: use blitter for hw copy region | Dave Airlie | 2010-10-13 | 1 | -2/+31 |
| | | | | | at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate. | ||||
* | r600g: drop all use of unsigned long | Dave Airlie | 2010-10-13 | 2 | -11/+11 |
| | | | | this changes size on 32/64 bit so is definitely no what you want to use here. | ||||
* | r600g: fix transfer stride. | Dave Airlie | 2010-10-13 | 1 | -0/+3 |
| | | | | fixes segfaults | ||||
* | r600g: remove bpt and start using pitch_in_bytes/pixels. | Dave Airlie | 2010-10-13 | 4 | -12/+20 |
| | | | | | this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats. | ||||
* | r600g: rename pitch in texture to pitch_in_bytes | Dave Airlie | 2010-10-13 | 4 | -14/+14 |
| |