summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-07-17R6xx/r7xx: warning fixesKevin DeKorte
patch from Kevin DeKorte with some minor fixes from me.
2009-07-17egl: Remove redundant DeletePending flag.Chia-I Wu
A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Use the link functions to manage resources.Chia-I Wu
This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17R6xx/r7xx: disable depth/stencil compression for nowAlex Deucher
2009-07-17R6xx/r7xx: add some missing state regsAlex Deucher
2009-07-16i965: Add missing state dependency of sf_unit on _NEW_BUFFERS.Eric Anholt
2009-07-16R6xx: fix rendering on r6xx/rs780 chipsAlex Deucher
You always need to emit a fetch shader (fs) even if you aren't using it. For now, just emit the fs with the vs address to make the kernel happy.
2009-07-16Warning fixesKevin DeKorte
2009-07-16R6xx/r7xx: remove unused functionAlex Deucher
Spotted by kdekorte on IRC
2009-07-16Restore vp input mapping, fix vtx stream missing problem.Richard Li
2009-07-16Fix more merge falloutAlex Deucher
2009-07-15R6xx/r7xx: warning fixesKevin DeKorte
2009-07-15R6xx/r7xx: fix missing vertex streamRichard Li
Somehow context->radeon.tcl.aos[j].bo is not null sometimes, but it is safe for now because it is only a pointer to dma.current so overwriting it would not hurt anything.
2009-07-15radeon bo: Fix merge fall outAlex Deucher
2009-07-15R6xx/r7xx: more Makefile fixesAlex Deucher
2009-07-15Fix r600 makefile for lastest CS changesAlex Deucher
2009-07-15Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher
into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
2009-07-15make sure ctx->Driver.Flush is valid before calling itAlex Deucher
2009-07-15Use memcpy directly in the common codeAlex Deucher
This alleviates the need for an additional symbol.
2009-07-15radeon: update span reading micro tile codeDave Airlie
tested on r500 with zreaddraw with Z buffer in all 3 modes
2009-07-15r300: emit z depth pitch reloc in preparation for tilingDave Airlie
2009-07-15radeon: r300 fix span reading for macro tiled buffers.Dave Airlie
this uses the correct formula for macro tiled buffers for readback
2009-07-15radeon: for tiling you really need to use GET/PUT VALUE not PTR.Dave Airlie
since the surfaces aren't linear you can't just use GET_PTR
2009-07-15i965: the offset of any branch/jump instruction is in unit of 64bits on IGDNGXiang, Haihao
2009-07-14R6xx/r7xx: implement memcpy buffer swapsAlex Deucher
This allows double buffered apps to run, but perfomance will be awful until we implement something faster. You must update to the latest kernel modules.
2009-07-15intel/radeon: add common metaops code.Dave Airlie
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
2009-07-14r6xx/r7xx: fix buffer aging bugAlex Deucher
We were using sparse indexing for aos, while the common code expected packed indexing.
2009-07-14R6xx/R7xx: no irqs yet.Alex Deucher
2009-07-15radeon: fix unsigned vs signed comparison in stencil code.Dave Airlie
This function takes a GLint not a GLuint, passing in -1 breaks internally.
2009-07-14intel: Fix ClearDepth to not be affected by DepthRange.Eric Anholt
Fixes new piglit depthrange-clear.c test.
2009-07-14intel: Set DepthRange in the metaops using RasterPos[2].Eric Anholt
RasterPos[2] is already sent through the window transform, which includes DepthRange handling. So make DepthRange for the metaops a noop. Fixes a failure in oglconform depthrange.c
2009-07-14intel: Flag _NEW_ARRAY state when doing array object binding in clears.Eric Anholt
This is just following bind_vertex_array()'s behavior.
2009-07-14Disable shader dumpsAlex Deucher
2009-07-14radeon: Differentiate 16 bpp destination formats.Michel Dänzer
Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
2009-07-14radeon: Invert front face winding when rendering to FBO.Michel Dänzer
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
2009-07-14R6xx/r7xx: Fix specular lighting issueCooper Yuan
2009-07-13Merge branch 'shaders_cleanup'Maciej Cencora
2009-07-13intel: Partially fix fallback detection for glCopyTexSubImage.Eric Anholt
Really, we should be checking that the MesaTexFormat for the read buffer and the texture match, but the previous code wasn't even doing that, so matching the cpp should be an improvement (and potentially fix some hangs!). The previous code also rejected GL_RGB even though blitting the alpha channel to the ignored channel of an x8r8g8b8 texture should be fine, which tripped up compiz's blur plugin.
2009-07-13r300: always assume all components are read by fragment programMaciej Cencora
Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: Fix fogcoord rewritingNicolai Hähnle
We only care about the actual fogcoord itself now, reducing the rewriting done for the vertex program. The rewriting of source operand swizzles in the fragment program takes care that fogcoord.yzw = 001. This should fix fogcoord rewriting entirely, which had been horribly broken in the face of dot-product instructions, and just broken (though not horribly so) in the face of almost every other instruction (the W component would be incorrect for most arithmetic instructions). Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: fix swizzle masking in getUsedComponentsMaciej Cencora
2009-07-13r300: minor fixMaciej Cencora
Split initializations becase the vars are of different type. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: move variables declarationsMaciej Cencora
2009-07-13r300: document r300_vertex_program_cont structureMaciej Cencora
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: document r300_fragment_program_cont structMaciej Cencora
2009-07-13r300: fix indentationMaciej Cencora
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: fix StrideB == 0 case when converting data formatMaciej Cencora
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: hw can handle per component negations in vertex shadersMaciej Cencora
Reported-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-07-13r300: fix WPOS for SWTCLMaciej Cencora
2009-07-13r300: removed unnecessary paramsMaciej Cencora
We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.