summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300
AgeCommit message (Collapse)Author
2009-08-29r300: Swtcl prediction was still missing scissors.Pauli Nieminen
All that state stuff should really be in state atoms :/
2009-08-29r300: Add missing pre_emit_count to swtcl state size prediction.Pauli Nieminen
2009-08-29radeon: Fix swtcl emit pediction.Pauli Nieminen
Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.
2009-08-28radeon: fix scissors harder.Dave Airlie
this makes gnome-shell work on r300 for me
2009-08-28r300: Fix emit prediction to account scissor emitting correctly.Pauli Nieminen
2009-08-27r300: Cleanup reported native program limitsNicolai 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-27r300: Debug messages are written to stderr, so fflush thatNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-27radeon/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-27r300/compiler: Fix vertex program MAD emitNicolai 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-27r300/compiler: Fix bug in rc_find_free_temporaryNicolai 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-27radeon/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-26r300: r4xx and rs4xx also have lte discard regsAlex Deucher
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen
2009-08-25Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-25r300: fix condition logicMaciej Cencora
The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
2009-08-25r300: set proper CS section sizeMaciej Cencora
2009-08-25radeon/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-24r300: add support for getting Z pipe info from drmAlex Deucher
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-24Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-24r300: add support for EXT_framebuffer_blitMaciej Cencora
2009-08-24Merge 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-23r300: fix a typoMaciej Cencora
2009-08-23r300: minor optimizationMaciej Cencora
use properly implemented OUT_BATCH_TABLE where possible
2009-08-22r300: Fix debug output.Pauli Nieminen
2009-08-22r300: Fix dri1 not to emit state that is not supported in old drm.Pauli Nieminen
2009-08-22radeon/r300: Code clean up and logic fix.Pauli Nieminen
2009-08-22Fix r300 VBO support build on big endian.Michel Dänzer
2009-08-21r300: Remove calls to rcommonEnsureCmdBufSpace.Pauli Nieminen
All rendering is checked in r300PredictTryDrawPrimsSize which mamde these calls useless.
2009-08-21radeon: Improve state emit code.Pauli Nieminen
Trying to make understanding code easier with small refactoring and renaming.
2009-08-21r300: Add debug output to show how much was emited in TryDrawPrims.Pauli Nieminen
2009-08-21r300: 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-21r300: Handle possible fall back if space check fails.Pauli Nieminen
2009-08-21r300: 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-21r300: 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-18r300: Movde debug output from stdout to stderr in copiler.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18radeon: 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-18r300: fix the build on big endianAlex Deucher
2009-08-18r300: remove warning introduced with OQDave Airlie
2009-08-18r300: OQ reworkDave 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-18r300: fix missing BEGIN/END batchesDave Airlie
2009-08-18r300: fix big endian buildDave Airlie
2009-08-17r300: split vbo rendering with big drawarray caseJerome Glisse
Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536.
2009-08-16r300: disable ZTOP only when occlusion queries are usedMaciej Cencora
2009-08-15r300: enable ARB_occlusion_queryMaciej 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-15r300: temporary occlusion query hackMaciej Cencora
2009-08-15r300: clear not_flushed OQ list after flushMaciej Cencora
2009-08-15r300/oq: add some debugging infoMaciej Cencora
2009-08-15r300: add occlusion queries supportMaciej 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-15r300: fixup space checks since VBO codeDave Airlie
Hopefully this gets the ordering correct so the space checks don't fail.
2009-08-15r300: add just in case warn I don't think this can actually happenDave Airlie