summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-02-17radeon: fixup destroy texture object exit path and update LRUDave Airlie
the destroy path was doing bad things with structure names, make it do less bad things, use container_of instead
2009-02-17radeon: remove leftover debugDave Airlie
2009-02-17radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie
this is just more code cleanup for old dead code
2009-02-17r200: align with r100 codeDave Airlie
2009-02-17radeon: fix not emitting texture state correctlyDave Airlie
this is whole texture dirty bit is probably not needed with the current codebase, need to revisit
2009-02-17radeon: steal miptree optimisation from intel codebaseDave Airlie
This replaces a miptree if it won't distrub anything else.
2009-02-17radeon: move YUV on first texunit check after hw state is setupDave Airlie
2009-02-17dri/radeon: export a function to cleanup a texture object.Dave Airlie
The radeon legacy code want to cleanup not free the texture obj, so export a function to do that and wrap it.
2009-02-16radeon: fix texcompress2 test.Dave Airlie
this makes compressed subimages work properly.
2009-02-16radeon: fix compressed tex subimage unpack parameterDave Airlie
2009-02-15radeon: add cflags to decide whether to link libdrm_radeon or not.Dave Airlie
You don't need libdrm_radeon for the legacy driver to build, only for the experimental mm/cs paths.
2009-02-14radeon-common: Fix crash in glGetTexImageNicolai Haehnle
Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Fix crash in cubemap tree creationNicolai Haehnle
The mip tree creation would crash if the first baselevel image to be uploaded was not the positive-x image. Found with Sauerbraten, also added a regression test to Piglit. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Redirect constant TEX coordinatesNicolai Haehnle
R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Fix R300_CMD_SCRATCH on big endian.Michel Dänzer
2009-02-14radeon: remove unused radeon_compat.cDave Airlie
2009-02-14r200: fixup cube emit debugDave Airlie
2009-02-14r200: fix another cmdbuf sizing issueDave Airlie
2009-02-14radeon: check for valid bo in release arraysDave Airlie
2009-02-14radeon: remove old cube codeDave Airlie
2009-02-17glsl: added --params option to stand-alone GLSL compilerBrian Paul
Prints program parameter info
2009-02-17intel: Fix tri clear to do FBO color attachments as well.Eric Anholt
This is a 2% win in fbo_firecube, and would avoid a sw fallback for masked clears.
2009-02-17i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.Eric Anholt
Noticed this with the fbotexture demo.
2009-02-17intel: Clean up several 965 memory leaks on context destroy.Eric Anholt
2009-02-16i965: tell GLSL compiler to emit code using condition codesBrian Paul
The default for EmitCondCodes got flipped when gallium-0.2 was merged. This fixes GLSL if/else/endif regressions. Drivers that use GLSL should always explicitly set the flag to be safe.
2009-02-14r300: Redirect constant TEX coordinatesNicolai Haehnle
R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-13i965: rewrite the code for handling shader subroutine callsBrian Paul
Previously, the prog_instruction::Data field was used to map original Mesa instructions to brw instructions in order to resolve subroutine calls. This was a rather tangled mess. Plus it's an obstacle to implementing dynamic allocation/growing of the instruction buffer (it's still a fixed size). Mesa's GLSL compiler emits a label for each subroutine and CAL instruction. Now we use those labels to patch the subroutine calls after code generation has been done. We just keep a list of all CAL instructions that needs patching and a list of all subroutine labels. It's a simple matter to resolve them. This also consolidates some redundant post-emit code between brw_vs_emit.c and brw_wm_glsl.c and removes some loops that cleared the prog_instruction::Data fields at the end. Plus, a bunch of new comments.
2009-02-13i965: add missing break for OPCODE_RET caseBrian Paul
This doesn't effect correctness, but we were emitting an extraneous ADD.
2009-02-13i965: the return value of translate_insn() is never used. Make it void.Brian Paul
2009-02-13i965: minor clean-upsBrian Paul
2009-02-13i965: code clean-ups, comments, and minor refactoringBrian Paul
2009-02-13i965: updated commentsBrian Paul
2009-02-13intel: turn on GL_ARB_shading_language_120Brian Paul
It's done in the Mesa GLSL compiler. The only part of it that might matter in drivers is the centroid sampling option for MSAA.
2009-02-13i965: more reformatting/clean-upBrian Paul
2009-02-13i965: s/__inline/INLINE/Brian Paul
2009-02-13i965: formatting and indentation fixesBrian Paul
2009-02-13i965: fix inconsistant indentation in brw_wm.cBrian Paul
2009-02-14radeon/r300: fix warningsDave Airlie
2009-02-14radeon: add initial cubemap support appears to workDave Airlie
2009-02-13radeon/r200: make setTexOffset work againDave Airlie
2009-02-13radeon/r200: fix set tex offset functionsDave Airlie
2009-02-13radeon: revert unneeded change to texturing codeDave Airlie
2009-02-13radeon: fix compressed texture upload on all radeonsDave Airlie
tested on r200, texcmp works. May need more verification
2009-02-13r200: update with changes from r100 driver for texture stateDave Airlie
2009-02-13r200: port over state emit fix from r100Dave Airlie
2009-02-13r200: fixup some CS emission sizesDave Airlie
2009-02-13r200: use correct finish interfaceDave Airlie
2009-02-13radeon: fixup include orderingDave Airlie
2009-02-13Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: configure.ac src/mesa/drivers/dri/r200/r200_context.c src/mesa/drivers/dri/r300/r300_render.c
2009-02-13r300: fix warning about mesa_lock_context_textureDave Airlie