summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* radeon: cleanup compile defines mess.Dave Airlie2009-09-169-88/+67
| | | | | I inherited this and really it stayed around far too long, make it nice and simple.
* radeon: oops remove debugging left on in previous patchDave Airlie2009-09-161-2/+0
|
* radeon: use txformat to decide to emit rect tex state.Dave Airlie2009-09-161-4/+8
| | | | This is more logical, and fixes a TFP issue.
* mesa: move generate mipmap callsBrian Paul2009-09-1510-177/+112
| | | | | | Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
* mesa: minor clean-upBrian Paul2009-09-151-3/+3
|
* mesa: remove last of gotosBrian Paul2009-09-151-62/+62
|
* mesa: more goto removalBrian Paul2009-09-151-142/+129
|
* mesa: remove some gotosBrian Paul2009-09-151-105/+96
| | | | This will make some subsequent changes easier...
* mesa: clean-up fbo debug codeBrian Paul2009-09-151-16/+23
|
* mesa: added GL_ARB_provoking_vertex (same as EXT version)Brian Paul2009-09-151-0/+1
|
* radeon: don't build non-r600 span code on r600Alex Deucher2009-09-151-1/+5
|
* r600: minor span cleanupsAlex Deucher2009-09-151-4/+3
|
* mesa: remove incorrect texture state checkBrian Paul2009-09-151-6/+0
| | | | | | | Fixes incorrectly textured bitmap text in engine demo. It's incorrect to test the texture enable bits here since they may have been changed by disabling the shader above. Optimization is still possible but will have to be reexamined.
* st/mesa: disable accidentally committed _mesa_print_program() callBrian Paul2009-09-151-1/+1
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-154-4/+47
|\
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-153-3/+46
| |\
| | * glsl: added some link debug code (disabled)Brian Paul2009-09-141-0/+15
| | |
| | * glsl: remove extra #version directives from concatenated shader sourcesBrian Paul2009-09-141-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | When we concatenate shaders to do our form of poor-man linking, if there's multiple #version directives, preprocessing fails. This change disables the extra #version directives by changing the first two chars to //. This should help with some Wine issues such as bug 23946.
| | * mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errorsVinson Lee2009-09-111-3/+3
| | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * | radeon: Remove structure allocation from iterator variable.Pauli Nieminen2009-09-111-1/+1
| | | | | | | | | | | | | | | dma_bo varaible is only used for iterating so allocating memory for it only causes memory leaks.
* | | ARB prog parser: regenerated fileBrian Paul2009-09-151-193/+197
| | |
* | | ARB prog parser: more detailed error message for out of bounds ADDR offsetsBrian Paul2009-09-151-4/+8
| | |
* | | r600: support position_invariant programsAndre Maasikas2009-09-151-12/+18
| | |
* | | r600: add span support for 1D tilesAlex Deucher2009-09-143-1/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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*
* | | r600: fix warningAlex Deucher2009-09-141-0/+1
| | | | | | | | | | | | Noticed by rnoland on IRC.
* | | st/mesa: minor whitespace, comment clean-upsBrian Paul2009-09-141-21/+9
| | |
* | | intel: minor code clean-upsBrian Paul2009-09-141-11/+8
| | |
* | | intel: fix renderbuffer map/unmap regressionBrian Paul2009-09-141-14/+14
| | | | | | | | | | | | | | | | | | Commit 36dd53a3cded9d003ec418732b7fc93c1476aa9b caused a few regressions because the glReadBuffer() buffer wasn't getting mapped when GL_READ_BUFFER != GL_DRAW_BUFFER.
* | | intel: remove unneeded driver function assignmentsBrian Paul2009-09-141-5/+0
| | | | | | | | | | | | | | | These default swrast functions are already installed by _mesa_init_driver_functions().
* | | mesa/st: remove dead commentKeith Whitwell2009-09-141-7/+0
| | |
* | | st/mesa: convert to new tgsi_ureg mechanism for shader emitKeith Whitwell2009-09-143-983/+625
| | | | | | | | | | | | | | | | | | | | | | | | | | | Should be easier to read and work with than the older ways of emitting TGSI tokens. Also, emit simpler TGSI than previously: - translate away source and dest extended modifiers - translate away the SWZ opcode
* | | mesa: remove unused SATURATE_PLUS_MINUS_ONE flagKeith Whitwell2009-09-122-3/+0
| | | | | | | | | | | | Never set in mesa. Remove from tgsi translation as well.
* | | i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.Eric Anholt2009-09-115-102/+126
| | | | | | | | | | | | | | | | | | | | | Previously, it was trying to mess around with the varying's WM setup data to produce a result. Along with not actually working when passed a varying, this wouldn't work if you did dFd[xy]() on a temporary. Instead, just calculate the derivative using the neighbors in the subspan.
* | | r600: fix texcoords from constantsAndre Maasikas2009-09-111-40/+52
| | | | | | | | | | | | with some minor updates from Richard.
* | | Revert "r600: support tex coords from constants"Alex Deucher2009-09-111-17/+45
| | | | | | | | | | | | | | | | | | This reverts commit 4099bb76148007f9ccb6c86838b2bf37ea42de56. Tex coord src has to be a GPR.
* | | r600: support tex coords from constantsAlex Deucher2009-09-111-45/+17
| | | | | | | | | | | | Fixes neverball among other things.
* | | r600: enable caching of vertex programsAndre Maasikas2009-09-116-62/+110
| | |
* | | i965: Enable loops in the VS.Eric Anholt2009-09-101-15/+38
| | | | | | | | | | | | | | | | | | Passes piglit glsl-vs-loop testcase. Bug #20171
* | | mesa: nicer vertex setupBrian Paul2009-09-101-128/+138
| | |
* | | st/mesa: use st_context() helperBrian Paul2009-09-101-17/+17
| | |
* | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-106-52/+108
|\| |
| * | intel: disable intel_stencil_drawpixels() for nowBrian Paul2009-09-101-0/+16
| | | | | | | | | | | | It doesn't work reliably even when all the prerequisite checks are made.
| * | Fix merge failIan Romanick2009-09-101-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | One of the conflicst from this merge was missed: commit 0c309bb494b6ee1c403442d1207743f749f95b6e Merge: c6c44bf d27d659 Author: Brian Paul <[email protected]> Date: Wed Sep 9 08:33:39 2009 -0600
| * | mesa: need to set all stencil bits to 0 before setting the 1 bitsBrian Paul2009-09-101-0/+9
| | | | | | | | | | | | Plus, check for pixel transfer stencil index/offset.
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchIan Romanick2009-09-102-1/+6
| |\| | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_context.c
| | * intel: add B43 chipset supportZhenyu Wang2009-09-102-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Zhenyu Wang <[email protected]> Signed-off-by: Ian Romanick <[email protected]> Hopefully this will be one of the last cherry-picks. (cherry picked from commit ca246dd186f9590f6d67038832faceb522138c20)
| * | i965: Fix relocation delta for WM surfaces.Eric Anholt2009-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was a regression in 0f328c90dbc893e15005f2ab441d309c1c176245. Bug #23688 Bug #23254 (cherry picked from commit 5604b27b9326ac542069a49ed9650c4b0d3e939a)
| * | mesa: in texenvprogram code, only do saturation when really needed.Brian Paul2009-09-101-8/+53
| | | | | | | | | | | | | | | For some env modes (like modulate or replace) we don't have to clamp because we know the results will be in [0,1].
| * | radeon: Change debugging code to use macros instead of inline functions.Pauli Nieminen2009-09-102-43/+27
| | | | | | | | | | | | | | | | | | Variadic functions can't be inlined which makes debugging to have quite large function overead. Only aleternative method is to use variadic macros which are inlined so compiler can optimize debugging to minimize overhead.
| * | radeon: Add more verbose error message for failed command buffer.Pauli Nieminen2009-09-091-1/+3
| | |