summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r700_chip.c
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-15r600c: fix buffer height setting in dri2 caseAndre Maasikas
fbHeight is 0 in this case uncovered by changes in b0bc026c and should fix kernel rejecting command streams after that commit
2010-09-10r600c: oq updatesAlex Deucher
2010-08-26r600: fix vertex buffer size calculationAndre Maasikas
when we dont know max_index we cannot calculate vb size from count anymore - just use the bo size. Also added an assert to remind that we dont handle GL_INT GL_DOUBLE upload when we dont' know max_index - will fix later
2010-08-20evergreen : initial support driver code.richard
2010-08-12r600: add support for draw_elements_base_vertexAndre Maasikas
use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
2010-08-09radeon: Use MESA_FORMAT_SARGB8 for sRGB formatsHenri Verbeet
This can be supported on r600 without using the endian swapper, and is a better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV anyway.
2010-08-05r600: add new relocs for tiling supportAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-04-26r600: add support for more rendering formatsAlex Deucher
2010-02-24r600: proper fix for 15601835361e2fdd34b38b265cfc3007749ee24dAlex Deucher
PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush not for state. The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE are part of the render target state.
2010-02-12Revert "r600c: substract vbo offset to vbo size"Jerome Glisse
This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
2010-02-12r600c: substract vbo offset to vbo sizeJerome Glisse
To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
2010-02-12r600: be more exact in vb size calculationAndre Maasikas
to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
2010-02-12r600: support GL_SHORT attributesAndre Maasikas
normalized seems to work with this setting.
2010-01-30r600: Remove unnecessary headers.Vinson Lee
2010-01-22r600: enable draw_offsetAndre Maasikas
fixes some fbo cases (mipmaps, cube textures ..)
2010-01-18r6xx/r7xx: emit relocation for FRAG & TILE bufferJerome Glisse
FRAG & TILE buffer are unused but still they need to be associated with a valid relocation so that userspace can't try to abuse them to overwritte GART and then try to write anywhere in system memory.
2010-01-05r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas
R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
2009-12-15r600: fix typos for vert-texAndre Maasikas
at least i think this is how it was meant to work
2009-12-14r600 : add texture support for vertex shader.Richard Li
2009-12-11Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
2009-12-11Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
2009-12-09r600: fix state size prediction after dc0777d3Andre Maasikas
2009-12-08Merge branch 'mesa_7_7_branch'Andre Maasikas
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
2009-12-08Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas
2009-12-08r600: reorder state for render_target and blendAndre Maasikas
First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
2009-11-20Merge remote branch 'origin/mesa_7_7_branch'Dave Airlie
2009-11-18r600 : update PS and VS emit count for loop constants.Richard Li
2009-11-18r600 : Initial version of glsl fc.Richard Li
2009-11-18r600: align for mipmap tree changesMaciej Cencora
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: 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-10-29r600: remove the no rrb messagesAlex Deucher
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-23r600: remove remains of old tnl pipelineAlex Deucher
2009-10-23r600: fix render size predictionAlex Deucher
2009-09-25radeon: Fix newlines.Michal Krol
2009-09-24r600 : fix draw_prim bug: vertex fetcher setting.Richard Li
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: 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-22r600 : add draw_prim support.Richard Li
2009-09-14r600: 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-11r600: enable caching of vertex programsAndre Maasikas
2009-09-09r600: check if textures are actually enabled before submissionAlex Deucher
noticed by taiu on IRC.
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-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-24r600: fix state emit sizesAlex Deucher
2009-08-23r600: fix count for CB/DB target stateAlex Deucher
2009-08-22r600: make state emit more fine grainedAlex Deucher
Gives a nice speed boost in most apps since we only emit what state we need.