summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
Commit message (Collapse)AuthorAgeFilesLines
* r600g: remove old assert from new codepathDave Airlie2010-09-291-2/+0
| | | | this fixes draw-elements-base-vertex
* r600g: add initial vertex translate support.Dave Airlie2010-09-294-3/+239
|
* r600g: add evergreen texture border support to new pathDave Airlie2010-09-291-1/+4
|
* r600g: add back evergreen name.Dave Airlie2010-09-291-1/+3
|
* r600g: Cleaned up index buffer reference handling in the draw module.Tilman Sauerbeck2010-09-283-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 formatJerome Glisse2010-09-282-6/+12
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: suspend/resume occlusion query around clear/copyJerome Glisse2010-09-282-0/+10
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix remaining piglit issue in new designJerome Glisse2010-09-282-8/+32
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: use ptr for blit depth uncompress functionJerome Glisse2010-09-284-1/+48
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: on evergreen the centroid isn't set in this register.Dave Airlie2010-09-282-2/+0
|
* r600g: fix db flush breaking config stateDave Airlie2010-09-281-9/+9
|
* r600g: fix routing btw vertex & pixel shaderJerome Glisse2010-09-273-2/+18
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix pointsprite & resource unbindingJerome Glisse2010-09-272-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 onceJerome Glisse2010-09-272-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 drawingJerome Glisse2010-09-272-3/+5
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Fixed two texture surface leaks in r600_blit_uncompress_depth().Tilman Sauerbeck2010-09-271-0/+3
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: add evergreen texture resource properly.Dave Airlie2010-09-272-8/+13
| | | | adding sampler border looks impossible with current design, another day, another corner case not worked out.
* r600g: Silence uninitialized variable warnings.Vinson Lee2010-09-261-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 pathJerome Glisse2010-09-262-11/+53
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: move around variables to share depth uncompression codeJerome Glisse2010-09-263-12/+11
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: set ENABLE_KILL on evergreen tooBas Nieuwenhuizen2010-09-261-0/+8
|
* r600g: set ENABLE_KILL in the shader state in the new designBas Nieuwenhuizen2010-09-261-0/+8
|
* r600g: disable early cull optimization when occlusion query runningJerome Glisse2010-09-261-0/+1
| | | | | | | | | | When occlusion query are running we want to have accurate fragment count thus disable any early culling optimization GPU has. Based on work from Bas Nieuwenhuizen <[email protected]> Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Disable unused variables.Vinson Lee2010-09-251-1/+1
| | | | | | | | | The variables are used only in currently disabled code. Fixes this GCC warning. r600_context.c: In function 'r600_flush': r600_context.c:76: warning: unused variable 'dname' r600_context.c:75: warning: unused variable 'dc'
* r600g: Remove unused variable.Vinson Lee2010-09-251-1/+1
| | | | | | Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format'
* r600g: Remove unused variable.Vinson Lee2010-09-251-1/+0
| | | | | | Fixes this GCC warning. r600_screen.c: In function 'r600_screen_create': r600_screen.c:239: warning: unused variable 'family'
* r600g: fix vertex resource & polygon offsetJerome Glisse2010-09-253-34/+127
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add eg db count control register.Dave Airlie2010-09-252-9/+11
|
* r600g: make index bias fix for evergreenDave Airlie2010-09-251-1/+1
|
* r600g: add eg poly mode code.Dave Airlie2010-09-252-1/+23
|
* r600g: Silence 'control reaches end of non-void function' warning.Vinson Lee2010-09-241-0/+3
| | | | | | Fixes this GCC warning. r600_hw_states.c: In function 'r600_translate_fill': r600_state_inlines.h:136: warning: control reaches end of non-void function
* r600g: Remove unused variable.Vinson Lee2010-09-241-1/+0
| | | | | | Fixes this GCC warning. eg_hw_states.c: In function 'eg_resource': eg_hw_states.c:525: warning: unused variable 'r'
* r600g: Disable unused variables.Vinson Lee2010-09-241-1/+1
| | | | | | | | | The variables are only used in currently disabled code. Fixes this GCC warning. r600_state2.c: In function 'r600_flush2': r600_state2.c:613: warning: unused variable 'dname' r600_state2.c:612: warning: unused variable 'dc'
* r600g: Remove unused variable.Vinson Lee2010-09-241-1/+0
| | | | | | Fixes this GCC warning. r600_buffer.c: In function 'r600_buffer_transfer_map': r600_buffer.c:141: warning: unused variable 'rctx'
* r600g: Remove unnecessary header.Vinson Lee2010-09-241-1/+0
|
* r600g: bring over fix from old path to new pathJerome Glisse2010-09-243-24/+173
| | | | | | | | | | Up to 2010-09-19: r600g: fix tiling support for ddx supplied buffers 9b146eae2521d8e5f6d3cbefa4f6f7737666313a user buffer seems to be broken... new to fix that. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix evergreen new pathJerome Glisse2010-09-242-8/+6
| | | | | | glxgears seems to work, had somelockup but now they seems to have vanish. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix reg definitionJerome Glisse2010-09-241-1/+3
| | | | | | Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix evergreen new pathJerome Glisse2010-09-242-165/+256
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fixup some evergreen register definitionsJerome Glisse2010-09-242-56/+56
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix compilation after change to evergreend.hJerome Glisse2010-09-241-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: evergreen fix for new designJerome Glisse2010-09-243-41/+36
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: break alu clause earlierAndre Maasikas2010-09-241-2/+3
| | | | we still have constants to add and next int may need also 6 slots
* r600g: fix polygon modeDave Airlie2010-09-242-1/+20
| | | | this fixes glean'pointSprite test.
* r600g: fixup sprite coord enable.Dave Airlie2010-09-241-1/+2
| | | | this fixes piglit glsl-fs-pointcoord
* r600g: fix typo in r700 alu emitDave Airlie2010-09-241-1/+1
|
* r600g: fixup VP->FP output->input routing.Dave Airlie2010-09-244-2/+19
| | | | | | We need to map the TGSI semantics to each other using the hw semantic ids. this fixes glsl-kwin-blur and glsl-routing.
* r600g: fixup tex wrapping.Dave Airlie2010-09-242-8/+8
| | | | the clamp edge/clamp cases were reversed.
* r600g: drop index_offset parameter to index buffer translate.Dave Airlie2010-09-241-17/+13
| | | | r600 doesn't need this as we always have working index bias
* r600g: fix draw-elements and draw-elements-base-vertexDave Airlie2010-09-243-6/+8
|