summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600
AgeCommit message (Collapse)Author
2009-10-22r600: set barrier for tex inst if dst is used earlier, might overwrite it ↵Andre Maasikas
otherwise
2009-10-22r600: need to export something from PSAndre Maasikas
Also avoids empty shader for "END" - seems to be somewhat valid fp Maybe this can be done differently in the future (fake FRAG_RESULT_COLOR already in Map_Fragment_Program() or is there a way to program the chip to not hang in case of no exports.
2009-10-22r600: add beginnings of ARL instructionAndre Maasikas
2009-10-19r600: Fix size calculation for 24 bit depthRobert Noland
size was being calculated based on 3 bytes per pixel with 24 bit depth instead of 4 bytes. This caused corruption in the bottom 25% of objects. This finishes fixing the menu/text corruption in compiz/kde4. Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported.Robert Noland
Report unsupported attributes while I'm here. Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: cleanup in r600_cs_process_relocs().Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: fix tfp1 bo sizeAndre Maasikas
Setting the wrong bo size resulting in an incomplete read cache flush when reading the texture. This fixes the compiz text corruption. [agd5f: take hw pitch alignment into account]
2009-10-15r600: implement ProgramStringNotifyAndre Maasikas
need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-15r600: LIT dst.y gets value from src.xAndre Maasikas
seems I overlooked this when removing hardcoded swizzles for this one previously
2009-10-15r600: DPH adds w comp of second operand, so set first one to 1 insteadAndre Maasikas
2009-10-15r600: fixup KIL instruction a bitAndre Maasikas
- KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
2009-10-15r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas
makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: user correct alpha blend factorAndre Maasikas
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: clear position enable bit when when wpos is not used by FPAndre Maasikas
Makes doom3 alot nicer..
2009-10-09radeon: fix scissor regressionAlex Deucher
fixes fdo bug 24248
2009-09-24radeon: Fix scissors for r600 KMS.Pauli Nieminen
Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive.
2009-09-24r600: add support for CUBE textures, also TXPAndre Maasikas
seems to work here ...
2009-09-24r600: fix typo in the last commitAlex Deucher
128 gprs, 256 reg-based consts
2009-09-24r600: various cleanupsAlex Deucher
- max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-24r600: fix some issues with LIT instructionAndre Maasikas
- MUL_LIT is ALU.Trans instruction - some Trans instructions can take 3 arguments - don't clobber dst.x, use dst.z as temp, it'll get written correct value in last insn - respect source swizzles
2009-09-24r600: fix point sizesAlex Deucher
registers takes radius
2009-09-24r600: fix polygon offsetAlex Deucher
2009-09-24r600: support position_invariant programsAndre Maasikas
2009-09-24r600: add span support for 1D tilesAlex Deucher
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-24r600: fix warningAlex Deucher
Noticed by rnoland on IRC.
2009-09-24r600: fix texcoords from constantsAndre Maasikas
with some minor updates from Richard.
2009-09-24r600: enable caching of vertex programsAndre Maasikas
2009-09-24r600: check if textures are actually enabled before submissionAlex Deucher
noticed by taiu on IRC.
2009-09-24r600: fix ftp for dri1Alex Deucher
We use t->bo for dri1 since r600 uses CS for dri1.
2009-09-24r600: don't setup hardware state if TFPDave Airlie
if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
2009-09-24r600: fix dri2 clippingAlex Deucher
2009-09-04r600: fix Elts handlingAlex Deucher
Patch from taiu on IRC. fixes bug 23585
2009-09-03r600: rework cb/db setupAlex Deucher
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
2009-09-03r600: make sure the active vertex shader bo is re-added to persistent list.Alex Deucher
2009-09-03r600: visual depth has no meaning here.Dave Airlie
fbos get angry when this happens.
2009-09-03r600: make sure the active shader bo is re-added to persistent list.Dave Airlie
2009-08-31r600: Add more trace debug output to rendering pipeline.Pauli Nieminen
2009-08-31r600: Convert to shared debug code and add a few new debug messages.Pauli Nieminen
There is only a few functions that have debugging enabled now.
2009-08-31radeon: Add common debugging functions.Pauli Nieminen
These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight.
2009-08-28r600: fix scissor also.Dave Airlie
I forgot about r600 being here.
2009-08-26r600: fix two sided stencilAlex Deucher
2009-08-26r600: add missing radeon_cs_space_set_flush callAlex Deucher
fixes crash in etracer reported by kdekorte on IRC
2009-08-26r600: make reloc_chunk size dynamicAlex Deucher
2009-08-26r600: fix memory leakAlex Deucher
2009-08-26r600: Update vertex fetch shader if necessaryCooper Yuan
2009-08-25radeon/r600: Fix remaining warnings when building 64 bit binary.Pauli Nieminen
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-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-24r600: code cleanupAlex Deucher