Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Add a few more common arithmetic functions. | José Fonseca | 2009-09-13 | 2 | -0/+111 |
| | | | | | We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world. | ||||
* | llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵ | José Fonseca | 2009-09-13 | 1 | -7/+7 |
| | | | | meaning. | ||||
* | tgsi: implement saturation | Keith Whitwell | 2009-09-12 | 1 | -17/+26 |
| | | | | Fix recent performance regression. | ||||
* | tgsi: add missing implementation of constant decl change | Keith Whitwell | 2009-09-12 | 1 | -8/+61 |
| | |||||
* | r300g: delete unused flag due to commit: 09b566e1610 | Cooper Yuan | 2009-09-13 | 1 | -1/+0 |
| | |||||
* | ureg: add a mechanism to get the built tokens rather than a full shader | Keith Whitwell | 2009-09-12 | 2 | -0/+30 |
| | | | | | | Previously ureg would always call the driver's create-shader function. This allows the caller the opportunity to hold onto the tokens if it needs to reuse them, eg. to create an internal draw shader. | ||||
* | ureg: add generic emitters for tex and branch instructions | Keith Whitwell | 2009-09-12 | 2 | -11/+80 |
| | | | | Couldn't previously emit these except by calling the opcode-specific helper. | ||||
* | tgsi/ureg: give ureg_DECL_constant an explicit index parameter | Keith Whitwell | 2009-09-12 | 3 | -4/+8 |
| | | | | | Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier. | ||||
* | mesa: remove unused SATURATE_PLUS_MINUS_ONE flag | Keith Whitwell | 2009-09-12 | 2 | -3/+0 |
| | | | | Never set in mesa. Remove from tgsi translation as well. | ||||
* | tgsi/ureg: VS inputs don't have any semantic tags, just an index | Keith Whitwell | 2009-09-12 | 4 | -50/+44 |
| | | | | Fix ureg_DECL_vs_input to reflect this and fix up all callers. | ||||
* | tgsi: free tokens on error | Keith Whitwell | 2009-09-12 | 1 | -0/+3 |
| | |||||
* | tgsi: sanity check ureg programs | Keith Whitwell | 2009-09-12 | 1 | -0/+10 |
| | |||||
* | tgsi: add const qualifier | Keith Whitwell | 2009-09-12 | 2 | -2/+2 |
| | |||||
* | r300g: There is no such thing as "texture stride" | Nicolai Hähnle | 2009-09-12 | 6 | -24/+47 |
| | | | | | | | | | Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work. | Eric Anholt | 2009-09-11 | 5 | -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 constants | Andre Maasikas | 2009-09-11 | 1 | -40/+52 |
| | | | | with some minor updates from Richard. | ||||
* | Revert "r600: support tex coords from constants" | Alex Deucher | 2009-09-11 | 1 | -17/+45 |
| | | | | | | This reverts commit 4099bb76148007f9ccb6c86838b2bf37ea42de56. Tex coord src has to be a GPR. | ||||
* | r300g: only allocate one BO for vertex buffers, default size is 64*1024 | Cooper Yuan | 2009-09-11 | 1 | -35/+33 |
| | | | | it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on | ||||
* | r600: support tex coords from constants | Alex Deucher | 2009-09-11 | 1 | -45/+17 |
| | | | | Fixes neverball among other things. | ||||
* | r600: enable caching of vertex programs | Andre Maasikas | 2009-09-11 | 6 | -62/+110 |
| | |||||
* | llvmpipe: set dirty_render_cache in llvmpipe_clear() | José Fonseca | 2009-09-11 | 1 | -0/+1 |
| | | | | | | Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers. | ||||
* | llvmpipe: Update status in README and TODO/FIXME comments throughout the code. | José Fonseca | 2009-09-11 | 9 | -36/+36 |
| | |||||
* | i965: Enable loops in the VS. | Eric Anholt | 2009-09-10 | 1 | -15/+38 |
| | | | | | | Passes piglit glsl-vs-loop testcase. Bug #20171 | ||||
* | mesa: nicer vertex setup | Brian Paul | 2009-09-10 | 1 | -128/+138 |
| | |||||
* | st/mesa: use st_context() helper | Brian Paul | 2009-09-10 | 1 | -17/+17 |
| | |||||
* | softpipe: remove no-op softpipe_init_texture_funcs() function | Brian Paul | 2009-09-10 | 3 | -10/+0 |
| | |||||
* | softpipe: remove unused #includes, move comment | Brian Paul | 2009-09-10 | 1 | -7/+1 |
| | |||||
* | util: remove unneeded #includes | Brian Paul | 2009-09-10 | 1 | -6/+0 |
| | |||||
* | softpipe: reformatting, clean-ups, comments | Brian Paul | 2009-09-10 | 2 | -15/+30 |
| | |||||
* | util: minor clean-ups, reformatting | Brian Paul | 2009-09-10 | 1 | -17/+12 |
| | |||||
* | softpipe: remove unneeded #includes | Brian Paul | 2009-09-10 | 2 | -3/+0 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-10 | 9 | -67/+154 |
|\ | |||||
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-10 | 1 | -1/+3 |
| |\ | |||||
| | * | softpipe: minor indentation fix | Brian Paul | 2009-09-10 | 1 | -1/+1 |
| | | | |||||
| | * | softpipe: set dirty_render_cache in softpipe_clear() | Brian Paul | 2009-09-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer. | ||||
| * | | intel: disable intel_stencil_drawpixels() for now | Brian Paul | 2009-09-10 | 1 | -0/+16 |
| | | | | | | | | | | | | It doesn't work reliably even when all the prerequisite checks are made. | ||||
| * | | Fix merge fail | Ian Romanick | 2009-09-10 | 1 | -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 | ||||
| * | | tgsi: use new tgsi_call_record to handle execution mask stacks | Brian Paul | 2009-09-10 | 2 | -14/+43 |
| | | | | | | | | | | | | This fixes some issues when "return"ing from nested loops/conditionals. | ||||
| * | | mesa: need to set all stencil bits to 0 before setting the 1 bits | Brian Paul | 2009-09-10 | 1 | -0/+9 |
| | | | | | | | | | | | | Plus, check for pixel transfer stencil index/offset. | ||||
| * | | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Ian Romanick | 2009-09-10 | 2 | -1/+6 |
| |\| | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_context.c | ||||
| | * | intel: add B43 chipset support | Zhenyu Wang | 2009-09-10 | 2 | -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 Anholt | 2009-09-10 | 1 | -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 Paul | 2009-09-10 | 1 | -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]. | ||||
| * | | gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h. | Vinson Lee | 2009-09-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f. | ||||
| * | | radeon: Change debugging code to use macros instead of inline functions. | Pauli Nieminen | 2009-09-10 | 2 | -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 Nieminen | 2009-09-09 | 1 | -1/+3 |
| | | | |||||
* | | | st/xorg: rename ctx to pipe to match every other gallium state tracker | Zack Rusin | 2009-09-10 | 4 | -35/+35 |
| | | | | | | | | | | | | plus it avoids the "ctx->ctx->" syntax | ||||
* | | | st/xorg: temporarily disablie copies | Zack Rusin | 2009-09-10 | 1 | -1/+2 |
| | | | |||||
* | | | st/xorg: implement pipelines surface/texture copies | Zack Rusin | 2009-09-10 | 2 | -7/+329 |
| | | | |||||
* | | | st/xorg: unite finalization and stub out pipelined copies | Zack Rusin | 2009-09-10 | 4 | -20/+50 |
| | | |