summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
Commit message (Collapse)AuthorAgeFilesLines
* scons: Add aliases for several pipe drivers.José Fonseca2010-11-021-0/+2
|
* r600g: List recently added files in SConscript.José Fonseca2010-11-021-0/+2
|
* r600g: Silence uninitialized variable warnings.Vinson Lee2010-10-271-4/+4
|
* r600g: Destroy the blitter.Tilman Sauerbeck2010-10-271-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 Airlie2010-10-263-2/+17
|
* r600g: fix magic 0x1 ->flat shade enaDave Airlie2010-10-262-2/+2
|
* r600g: drop more common state handling codeDave Airlie2010-10-244-151/+80
|
* r600g: Also clear bc data when we're destroying a shader.Tilman Sauerbeck2010-10-243-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 Sauerbeck2010-10-243-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 handlingDave Airlie2010-10-244-172/+106
|
* r600g: Fixed r600_vertex_element leak.Tilman Sauerbeck2010-10-244-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 Airlie2010-10-216-339/+367
| | | | | no point duplicating code that doesn't touch hw, also make it easier to spot mistakes
* r600g: initial translate state supportDave Airlie2010-10-214-5/+250
|
* r600g: add texture tiling enable under a debug option.Dave Airlie2010-10-211-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 Airlie2010-10-211-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 Airlie2010-10-212-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 Airlie2010-10-214-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 Airlie2010-10-211-4/+26
|
* r600g: move to per-miplevel array mode.Dave Airlie2010-10-214-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 Airlie2010-10-211-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 Lee2010-10-201-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 Airlie2010-10-183-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 Airlie2010-10-181-2/+3
| | | | this makes readback with tiled back work better.
* r600g: attempt to cleanup depth blitDave Airlie2010-10-181-17/+4
| | | | cleanup what I'm nearly sure is unnecessary work in the depth blit code.
* r600g: depth needs to bound to dsDave Airlie2010-10-181-1/+1
|
* r600g: fix typo in tiling setup cb code.Dave Airlie2010-10-181-1/+1
|
* r600g: do proper tracking of views/samplers.Dave Airlie2010-10-183-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 stateDave Airlie2010-10-181-0/+5
|
* r600g: get tiling info from kernelDave Airlie2010-10-183-0/+10
|
* r600g: add defines for tilingDave Airlie2010-10-181-0/+4
|
* r600g: switch to a common formats.h file since they are in different regsDave Airlie2010-10-186-139/+121
|
* r600g: add evergreen ARL support.Dave Airlie2010-10-172-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 Airlie2010-10-153-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 translatorKeith Whitwell2010-10-151-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 linewidthKeith Whitwell2010-10-151-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 itDave Airlie2010-10-141-0/+3
|
* r600g: fixup typo in macro nameDave Airlie2010-10-141-1/+1
|
* r600g: fixup pos/face ena/address properlyDave Airlie2010-10-141-8/+17
|
* r600g: only pick centroid coordinate when asked.Dave Airlie2010-10-142-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 coordsFredrik Höglund2010-10-141-1/+1
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: drop unused context membersDave Airlie2010-10-141-2/+0
|
* r600g: fix stencil export for evergreen harderDave Airlie2010-10-132-3/+3
|
* r600g: fix relative addressing when splitting constant accessesStephan Schmid2010-10-131-0/+2
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: add missing eg reg definitionDave Airlie2010-10-131-0/+3
|
* r600g: evergreen add stencil export bitDave Airlie2010-10-131-0/+5
|
* r600g: use blitter for hw copy regionDave Airlie2010-10-131-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 longDave Airlie2010-10-132-11/+11
| | | | this changes size on 32/64 bit so is definitely no what you want to use here.
* r600g: fix transfer stride.Dave Airlie2010-10-131-0/+3
| | | | fixes segfaults
* r600g: remove bpt and start using pitch_in_bytes/pixels.Dave Airlie2010-10-134-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_bytesDave Airlie2010-10-134-14/+14
|