summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600
AgeCommit message (Collapse)Author
2009-12-05radeon/r200/r600: fix drivers for changes in ↵Alex Deucher
433f0a82f5a4696e6b0c4061f645485ec8079bb4
2009-11-29r600 : clena up a bit for last commit.Richard Li
2009-11-29r600 : add read port allocation for uniform;Richard Li
mapping ps input based on vs output; fix bugs including constants updating for vs.
2009-11-25r600: add ARB_texture_non_power_of_two support.Dave Airlie
This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24r600 : reset stack flag with one channel only.Richard Li
2009-11-24r600 : fix stack depth setting bug.Richard Li
2009-11-24radeon/r200/r300/r600: make bo mapping be explicitDave Airlie
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-22r600 : add support for shader instruction trunc and discard.Richard Li
2009-11-23r600: hopefully fix segfault.Dave Airlie
2009-11-23r600: fix inline issuesDave Airlie
2009-11-22r600 : add stack depth calculation, enable CF pop.Richard Li
2009-11-22r600 : use cf for all pop now, left optimization for future.Richard Li
2009-11-20r600 : eliminate Wondows line ending for test code.Richard Li
2009-11-20Merge remote branch 'origin/mesa_7_7_branch'Dave Airlie
2009-11-19r600 : Clean up a bit test code mess.Richard Li
2009-11-19r600 : change shader pop method for now.Richard Li
2009-11-19r600 : check in shader code test enable flag: if flagRichard Li
R600_ENABLE_GLSL_TEST defined, IL shader code will goto r600 assembler. The test base is /mesa/progs/glsl/brick, and changes shader code in CH06-brick.frag/vert to test different logic op combination. (if,else,while,function,...). The stack depth code is not in yet, so it is hard coded now. So complex code would not run (such as things like 8 loops embeded loop in loop).
2009-11-18r600 : update PS and VS emit count for loop constants.Richard Li
2009-11-18r600 : add some defsRichard Li
2009-11-18r600 : Initial version of glsl fc.Richard Li
2009-11-18r600: disable compressed texture supportAlex Deucher
It's not implemented yet. fixes fdo bug 24047
2009-11-18Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora
2009-11-18r600: align for mipmap tree changesMaciej Cencora
2009-11-16r600: don't force Z orderAlex Deucher
Let the hw decide (early vs late Z) fixes fdo bug 25092 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-09r600/r700: typo, fix mask of DB_ALPHA_TO_MASKJerome Glisse
2009-11-09r600: don't emit htile regsAlex Deucher
These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
2009-11-09r600: rework DB render setupAlex Deucher
- consolidate DB render setup - only enable perfect ZPASS counts and cull disable when OQ is active - enable early Z
2009-11-09r600: don't emit htile regsAlex Deucher
These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
2009-11-09r600: add missing ZPASS setup bits for r7xx+Alex Deucher
2009-11-04r600: rework draw functionsAlex Deucher
Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-04r600: fix count prediction for IB caseAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-02r600: implement LOG op in compilerPierre Ossman
2009-11-02r600: implement EXP op in compilerPierre Ossman
2009-10-30r600: remove duplicate lineAlex Deucher
2009-10-30r600: fill in some missing tex formatsAlex Deucher
This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-30r600: fix a warning, update commentsAlex Deucher
2009-10-30r600: use AUTO_INDEX for draw - saves cmd buffer spaceAndre Maasikas
also seems we can use INDX_OFFSET if start != 0
2009-10-29r600: remove the no rrb messagesAlex Deucher
2009-10-29r600: Add support for ARB_depth_clampAlex Deucher
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-28r600: add occlusion query supportAlex Deucher
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-25mesa: choose texture format in core mesa, not driversBrian Paul
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
2009-10-23mesa: Enable remap table in core.Chia-I Wu
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-23r600: remove duplicate stride settingAndre Maasikas
Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
2009-10-23r600: for position invariant programs reading vert_pos is not always known ↵Andre Maasikas
at this point
2009-10-23r600: remove remains of old tnl pipelineAlex Deucher
2009-10-23r600: fix render size predictionAlex Deucher
2009-10-23r600: remove old tnl pipelineAlex Deucher
2009-10-23r600: clean up context creationAlex Deucher
Make it more consistent with other radeon drivers.
2009-10-22Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa