Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/r200/r300: Fix swtcl prediction to work after primitie change. | Pauli Nieminen | 2009-08-27 | 4 | -41/+86 |
| | | | | | Swtcl calls flush everytime primitive changes so prediction has to made again after flushing. | ||||
* | radeon: fix scissor calcs. | Dave Airlie | 2009-08-27 | 1 | -15/+20 |
| | | | | | | For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes. | ||||
* | i965: Increase assmebly shader program parameter limits | Ian Romanick | 2009-08-26 | 1 | -2/+2 |
| | | | | | Increase the number of native program parameters to the same values exposed by GLSL. | ||||
* | ARB prog: Change handling of program parameter limits | Ian Romanick | 2009-08-26 | 2 | -1/+29 |
| | | | | | | | | | | | | | | | | | Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490. | ||||
* | radeon: fix max indx/vertex emission due to state checker | Dave Airlie | 2009-08-27 | 2 | -2/+4 |
| | |||||
* | r300/compiler: Fix vertex program MAD emit | Nicolai Hähnle | 2009-08-27 | 1 | -6/+46 |
| | | | | | | | Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Fix bug in rc_find_free_temporary | Nicolai Hähnle | 2009-08-27 | 1 | -2/+8 |
| | | | | | | | Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | Merge branch 'fix_r300_swtcl' into push_master | Pauli Nieminen | 2009-08-27 | 6 | -26/+84 |
|\ | |||||
| * | radeon: Fix loop en condition so debug output doesn't flood meaningless values. | Pauli Nieminen | 2009-08-27 | 1 | -1/+1 |
| | | |||||
| * | radeon: Make RADEON_CMDBUF more fine grained. | Pauli Nieminen | 2009-08-27 | 1 | -2/+8 |
| | | |||||
| * | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. | Pauli Nieminen | 2009-08-27 | 5 | -23/+75 |
| | | | | | | | | | | We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed. | ||||
* | | i965: init the tex_units_used field | Brian Paul | 2009-08-26 | 1 | -0/+1 |
| | | |||||
* | | i965: fix incorrect tex unit in emit_tex() and emit_txb() | Brian Paul | 2009-08-26 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup. | ||||
* | | i965: clean-up tex target switches | Brian Paul | 2009-08-26 | 1 | -2/+10 |
|/ | |||||
* | i965: added texture unit sanity check | Brian Paul | 2009-08-26 | 1 | -0/+13 |
| | | | | | Check that all the textures needed by the current fragment program actually exist and are valid. | ||||
* | i965: keep track of which texture units the fragment shader accesses | Brian Paul | 2009-08-26 | 2 | -3/+18 |
| | | | | We'll use this for debug/sanity checking. | ||||
* | i965: clean up texture target switches | Brian Paul | 2009-08-26 | 1 | -2/+10 |
| | |||||
* | r600: fix two sided stencil | Alex Deucher | 2009-08-26 | 1 | -14/+4 |
| | |||||
* | r600: add missing radeon_cs_space_set_flush call | Alex Deucher | 2009-08-26 | 1 | -0/+3 |
| | | | | fixes crash in etracer reported by kdekorte on IRC | ||||
* | r600: make reloc_chunk size dynamic | Alex Deucher | 2009-08-26 | 2 | -5/+10 |
| | |||||
* | r600: fix memory leak | Alex Deucher | 2009-08-26 | 1 | -1/+2 |
| | |||||
* | r300: r4xx and rs4xx also have lte discard regs | Alex Deucher | 2009-08-26 | 1 | -1/+4 |
| | |||||
* | r600: Update vertex fetch shader if necessary | Cooper Yuan | 2009-08-26 | 3 | -6/+19 |
| | |||||
* | radeon/r100/r200: actually init the OQ support properly | Dave Airlie | 2009-08-26 | 3 | -0/+3 |
| | |||||
* | radeon/r200: OQ support for r200 in theory. | Dave Airlie | 2009-08-26 | 3 | -0/+30 |
| | | | | this is an untested port of the r100 OQ code | ||||
* | radeon: add r100 OQ support with kms. | Dave Airlie | 2009-08-26 | 4 | -0/+33 |
| | | | | | | This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs. | ||||
* | i965: add some texture unit/target assertions | Brian Paul | 2009-08-25 | 2 | -0/+10 |
| | |||||
* | r200: Add scissor to state atom list. | Pauli Nieminen | 2009-08-26 | 10 | -78/+119 |
| | | | | Scissors are jsut one of states that we have to emit so it should be in state list | ||||
* | radeon/r600: Fix remaining warnings when building 64 bit binary. | Pauli Nieminen | 2009-08-25 | 4 | -6/+9 |
| | |||||
* | r200: Addd missing parameter to debug output. | Pauli Nieminen | 2009-08-25 | 1 | -1/+1 |
| | |||||
* | r200: Fix commit size prediction. | Pauli Nieminen | 2009-08-25 | 1 | -1/+4 |
| | | | | Scissor are emited for every primitive so fix that in prediction. | ||||
* | radeon: Fix all compiler warnings. | Pauli Nieminen | 2009-08-25 | 13 | -43/+31 |
| | |||||
* | Revert "glx: Make drawables persistent untill they are changed by ↵ | Pauli Nieminen | 2009-08-25 | 1 | -80/+41 |
| | | | | | | | | | glXMakeCurrent" This commit was not mean to end in to master yet. It is still queston if this right design to fix the problem. This reverts commit 45e3be3c07f543f3f2869ba7750ba4695cd25122. | ||||
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | 2009-08-25 | 14 | -141/+189 |
|\ | | | | | | | r600_state_predict | ||||
| * | r300: fix condition logic | Maciej Cencora | 2009-08-25 | 1 | -1/+1 |
| | | | | | | | | The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf. | ||||
| * | r300: set proper CS section size | Maciej Cencora | 2009-08-25 | 1 | -1/+1 |
| | | |||||
| * | r300: add support for getting Z pipe info from drm | Alex Deucher | 2009-08-24 | 5 | -16/+36 |
| | | | | | | | | | | | | Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | r600: code cleanup | Alex Deucher | 2009-08-24 | 5 | -108/+74 |
| | | |||||
| * | radeon: fix fbo size calculation to after pitch | Dave Airlie | 2009-08-25 | 1 | -1/+2 |
| | | |||||
| * | r600: fix state emit sizes | Alex Deucher | 2009-08-24 | 3 | -14/+75 |
| | | |||||
* | | radeon/r200/r300/r600: Warn if we emit more than prediction was. | Pauli Nieminen | 2009-08-25 | 4 | -12/+44 |
| | | | | | | | | | | | | Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed. | ||||
* | | radeon: Add debug output to radeonCountStateEmitSize. | Pauli Nieminen | 2009-08-24 | 1 | -4/+17 |
| | | |||||
* | | r600: Fix indetion and add useful debug output. | Pauli Nieminen | 2009-08-24 | 1 | -9/+14 |
| | | |||||
* | | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | 2009-08-24 | 7 | -91/+85 |
|\| | | | | | | | r600_state_predict | ||||
| * | r300: add support for EXT_framebuffer_blit | Maciej Cencora | 2009-08-24 | 3 | -44/+44 |
| | | |||||
| * | r600: scissor updates for dri2 | Dave Airlie | 2009-08-24 | 1 | -14/+23 |
| | | | | | | | | Pulled from Dave's WIP patch. | ||||
| * | r600: switch to common cs functions | Dave Airlie | 2009-08-24 | 2 | -31/+14 |
| | | | | | | | | needed for dri2. Pulled from Dave's WIP patch. | ||||
| * | r600: map 16 VS outputs | Alex Deucher | 2009-08-24 | 1 | -0/+2 |
| | | | | | | | | Should cover everything exported from the VS | ||||
| * | r600: fix logic copy paste error | Alex Deucher | 2009-08-23 | 1 | -2/+2 |
| | | | | | | | | Spotted by airlied. | ||||
* | | r600: Improve emit prediction. | Pauli Nieminen | 2009-08-24 | 1 | -5/+13 |
| | |