Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-28 | radeon: fix scissors harder. | Dave Airlie | |
this makes gnome-shell work on r300 for me | |||
2009-08-28 | r300: Fix emit prediction to account scissor emitting correctly. | Pauli Nieminen | |
2009-08-27 | r300: Cleanup reported native program limits | Nicolai Hähnle | |
The fragment program native limits are actually higher on R4xx as reported by Alex Deucher, but using those requires some bit-twiddling changes to program handling. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-08-27 | r300: Debug messages are written to stderr, so fflush that | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-08-27 | radeon/r200/r300: Fix swtcl prediction to work after primitie change. | Pauli Nieminen | |
Swtcl calls flush everytime primitive changes so prediction has to made again after flushing. | |||
2009-08-27 | r300/compiler: Fix vertex program MAD emit | Nicolai Hähnle | |
Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-08-27 | r300/compiler: Fix bug in rc_find_free_temporary | Nicolai Hähnle | |
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 <nhaehnle@gmail.com> | |||
2009-08-27 | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. | Pauli Nieminen | |
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed. | |||
2009-08-26 | r300: r4xx and rs4xx also have lte discard regs | Alex Deucher | |
2009-08-25 | radeon: Fix all compiler warnings. | Pauli Nieminen | |
2009-08-25 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict | |||
2009-08-25 | r300: fix condition logic | Maciej Cencora | |
The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf. | |||
2009-08-25 | r300: set proper CS section size | Maciej Cencora | |
2009-08-25 | radeon/r200/r300/r600: Warn if we emit more than prediction was. | Pauli Nieminen | |
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. | |||
2009-08-24 | r300: add support for getting Z pipe info from drm | Alex Deucher | |
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict | |||
2009-08-24 | r300: add support for EXT_framebuffer_blit | Maciej Cencora | |
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h | |||
2009-08-23 | r300: fix a typo | Maciej Cencora | |
2009-08-23 | r300: minor optimization | Maciej Cencora | |
use properly implemented OUT_BATCH_TABLE where possible | |||
2009-08-22 | r300: Fix debug output. | Pauli Nieminen | |
2009-08-22 | r300: Fix dri1 not to emit state that is not supported in old drm. | Pauli Nieminen | |
2009-08-22 | radeon/r300: Code clean up and logic fix. | Pauli Nieminen | |
2009-08-22 | Fix r300 VBO support build on big endian. | Michel Dänzer | |
2009-08-21 | r300: Remove calls to rcommonEnsureCmdBufSpace. | Pauli Nieminen | |
All rendering is checked in r300PredictTryDrawPrimsSize which mamde these calls useless. | |||
2009-08-21 | radeon: Improve state emit code. | Pauli Nieminen | |
Trying to make understanding code easier with small refactoring and renaming. | |||
2009-08-21 | r300: Add debug output to show how much was emited in TryDrawPrims. | Pauli Nieminen | |
2009-08-21 | r300: Predict emit size for next rendering operation. | Pauli Nieminen | |
We do flush for cmd buffer in case there isn't enough space left for whole rendering operation. This protects dma regions from getting released in middle of state emit. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | r300: Handle possible fall back if space check fails. | Pauli Nieminen | |
2009-08-21 | r300: Delay allocation of dma regions in TryDrawprims. | Pauli Nieminen | |
This makes it easier to predict size of next rendering operation so we can do early flush. | |||
2009-08-21 | r300: Clean emit code. | Pauli Nieminen | |
This fixes some state atom check functions from returing wrong emit size. There is emit code cleanup so that emit function selection is done in init time instead of runtime. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-18 | r300: Movde debug output from stdout to stderr in copiler. | Pauli Nieminen | |
Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-18 | radeon: Optimize memory handling for dma operations. | Pauli Nieminen | |
We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-18 | r300: fix the build on big endian | Alex Deucher | |
2009-08-18 | r300: remove warning introduced with OQ | Dave Airlie | |
2009-08-18 | r300: OQ rework | Dave Airlie | |
Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530. | |||
2009-08-18 | r300: fix missing BEGIN/END batches | Dave Airlie | |
2009-08-18 | r300: fix big endian build | Dave Airlie | |
2009-08-17 | r300: split vbo rendering with big drawarray case | Jerome Glisse | |
Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536. | |||
2009-08-16 | r300: disable ZTOP only when occlusion queries are used | Maciej Cencora | |
2009-08-15 | r300: enable ARB_occlusion_query | Maciej Cencora | |
Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS. | |||
2009-08-15 | r300: temporary occlusion query hack | Maciej Cencora | |
2009-08-15 | r300: clear not_flushed OQ list after flush | Maciej Cencora | |
2009-08-15 | r300/oq: add some debugging info | Maciej Cencora | |
2009-08-15 | r300: add occlusion queries support | Maciej Cencora | |
TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS | |||
2009-08-15 | r300: fixup space checks since VBO code | Dave Airlie | |
Hopefully this gets the ordering correct so the space checks don't fail. | |||
2009-08-15 | r300: add just in case warn I don't think this can actually happen | Dave Airlie | |
2009-08-15 | radeon: enable vertex splitting for IBs | Dave Airlie | |
Based on Maciej's code, just fixed up the alignments for INDX_BUFFER ut2004 runs AS-Convoy | |||
2009-08-15 | Merge branch 'vbo_clean' | Maciej Cencora | |
Conflicts: src/mesa/drivers/dri/r300/r300_draw.c | |||
2009-08-15 | r300: mark VBO buffer objects as persistent | Maciej Cencora | |