Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeonsi: fix stupid bug added in commit ↵ | Christian König | 2012-08-30 | 1 | -7/+8 |
| | | | | | | | 07838603b9a69c05911edbcd351bfce5ad9b5a2c Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon/llvm: Declare the interpolation intrinsics as ReadOnly | Tom Stellard | 2012-08-29 | 1 | -2/+2 |
| | | | | | This signals to the Dead Code Elimination pass that it is safe to remove these instructions when they are dead. | ||||
* | radeonsi: Don't write to the PA_SC_RASTER_CONFIG register. | Michel Dänzer | 2012-08-28 | 1 | -1/+0 |
| | | | | | | | It should be initialized by the kernel as necessary. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> | ||||
* | radeonsi: Use FP16 shader export format when necessary / possible. | Michel Dänzer | 2012-08-27 | 4 | -17/+110 |
| | | | | | | | | | Fixes piglit fbo-blending-formats. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Refactor initialization of shader export intrinsic arguments. | Michel Dänzer | 2012-08-27 | 1 | -36/+48 |
| | | | | | | | | | In preparation for extending this code, which would make it rather unwieldy in its current place. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Maintain cache of pixel shader variants according to contxt state. | Michel Dänzer | 2012-08-27 | 6 | -59/+210 |
| | | | | | | | | | Mostly inspired by r600g commit 4acf71f01ea1edb253cd38cc059d4af1a2a40bf4 ('r600g: cache shader variants instead of rebuilding v3'). Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Drop extraneous semicolons from pm4 state macro definitions. | Michel Dänzer | 2012-08-27 | 1 | -3/+3 |
| | | | | | | | | Could cause build failures if trying to use the macros in certain constructs. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: remove old tilling handling | Christian König | 2012-08-24 | 3 | -279/+31 |
| | | | | | | | | | Just use the functionality provided by the surface manager instead. This fixes just another bunch of piglit tests. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: rework vertex format handling | Christian König | 2012-08-22 | 1 | -10/+58 |
| | | | | | | | Preventing piglit's draw-vertices test from hanging the GPU. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix SPI_PS_INPUT_ENA handling | Christian König | 2012-08-22 | 1 | -3/+14 |
| | | | | | | | | We need to enable at least one interpolation mode, otherwise the GPU will hang. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: Handle NULL sampler views getting passed in by the state tracker. | Michel Dänzer | 2012-08-21 | 2 | -5/+14 |
| | | | | | | | | Don't dereference NULL pointers, and if all views are NULL, don't generate an invalid PM4 packet which locks up the GPU. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> | ||||
* | radeonsi: Fix symbol conflicts with r600g. | Michel Dänzer | 2012-08-16 | 10 | -268/+254 |
| | | | | | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50389 Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Fix memory leaks if returning early from some state functions. | Michel Dänzer | 2012-08-16 | 2 | -12/+14 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Fix LLVM context leak. | Michel Dänzer | 2012-08-16 | 1 | -0/+1 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: move ps sampler state into PM4 stream | Christian König | 2012-08-15 | 1 | -17/+7 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: move ps sampler views into PM4 stream | Christian König | 2012-08-15 | 1 | -22/+7 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: move vertex state descriptors into PM4 stream | Christian König | 2012-08-15 | 1 | -27/+9 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: add shader data infrastructure | Christian König | 2012-08-15 | 3 | -2/+40 |
| | | | | | | | | With this we can embed data for the shaders (like resource descriptors) into the PM4 stream. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon/llvm: Add live-in registers during DAG lowering | Tom Stellard | 2012-08-15 | 1 | -2/+3 |
| | | | | | | Psuedo instructions emulating live-in registers have been removed and their corresponding intrinsics are now being lowered during DAG lowering. | ||||
* | radeonsi: fix build breakage after u_blitter changes | Marek Olšák | 2012-08-15 | 1 | -3/+3 |
| | |||||
* | radeonsi: move drawing into new state handling | Christian König | 2012-08-11 | 4 | -103/+72 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: move sync handling into new state handler | Christian König | 2012-08-11 | 10 | -172/+100 |
| | | | | | | So we can remove all the old atom handling. Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: separate and disable streamout for now | Christian König | 2012-08-11 | 10 | -241/+301 |
| | | | | | | I have my doubts that this code still works on SI. Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: remove ps_partial_flush | Christian König | 2012-08-11 | 4 | -28/+1 |
| | | | | | | Not needed any more. Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: remove r6xx_flush_and_inv atom | Christian König | 2012-08-11 | 2 | -9/+0 |
| | | | | | | It is not used any more. Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: move init state to new state handling | Christian König | 2012-08-11 | 5 | -22/+6 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: add support for PKT3 cmds to new state handling | Christian König | 2012-08-11 | 2 | -9/+30 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: cleanup shader headers | Christian König | 2012-08-11 | 6 | -40/+97 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: If pixel shader compilation fails, use a dummy shader. | Michel Dänzer | 2012-08-08 | 4 | -1/+25 |
| | | | | | | | Otherwise we're likely to hang the GPU. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: fix memory leak and/or segfaults | Christian König | 2012-08-08 | 1 | -1/+1 |
| | | | | | | | | Fix a stupid typo that could lead to memory leaks and/or segfaults. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: fix build failure after blitter changes | Marek Olšák | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | radeonsi: Properly initialize si_shader_ctx.radeon_bld | Tom Stellard | 2012-08-02 | 1 | -0/+1 |
| | |||||
* | radeonsi: Handle TGSI TXP opcode. | Michel Dänzer | 2012-08-02 | 1 | -2/+24 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeonsi: fix TEX writemask | Christian König | 2012-08-02 | 1 | -2/+2 |
| | | | | | | | | | Using the writemask in the sampler results in packet VGPRS. For now just sample all components and let llvm chose the right one. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix shader param and color count | Christian König | 2012-08-02 | 1 | -5/+6 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix texture loads from sampler > 0 | Christian König | 2012-08-02 | 1 | -2/+2 |
| | | | | | | | | | The backend is multiplying the offset by the numbers of elements anyway, so doing it twice just makes everything crash. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: disable tiling until we fixed all bugs | Christian König | 2012-08-02 | 1 | -0/+2 |
| | | | | | | | Currently there are more important things to worry about. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix db and stencil setup v2 | Christian König | 2012-07-30 | 3 | -67/+58 |
| | | | | | | | | v2: fix tiling for small pitches, that finally makes glxgears and readPixSanity work Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix stencil op mapping | Christian König | 2012-07-30 | 1 | -40/+34 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix assertion in si_bind_vs_sampler | Christian König | 2012-07-30 | 1 | -1/+1 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix shader binding | Christian König | 2012-07-30 | 1 | -2/+8 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix dummy export in shaders v2 | Christian König | 2012-07-30 | 1 | -0/+19 |
| | | | | | | | v2: add assertion for vertex shader Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix vertex buffer and elements | Christian König | 2012-07-30 | 4 | -64/+74 |
| | | | | | | | | Let's just use the T# descriptors until we get a fetch shader. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: fix shader size and handling | Christian König | 2012-07-30 | 1 | -13/+13 |
| | | | | | | | | We should always upload the shader here. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: rename r600_resource to si_resource | Christian König | 2012-07-30 | 15 | -94/+140 |
| | | | | | | | | | Also split it into seperate header and add some helper functions. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: Enable PIPE_SHADER_CAP_INTEGERS | Tom Stellard | 2012-07-27 | 1 | -1/+2 |
| | |||||
* | radeonsi: Add support for loading integers from constant memory | Tom Stellard | 2012-07-27 | 1 | -1/+3 |
| | |||||
* | radeonsi: remove old state handling | Christian König | 2012-07-24 | 8 | -690/+1 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: move everything else into the new handling | Christian König | 2012-07-24 | 7 | -289/+199 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | radeonsi: move format handling into si_state.c | Christian König | 2012-07-24 | 4 | -543/+109 |
| | | | | Signed-off-by: Christian König <[email protected]> |