summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: Compute derivatives.José Fonseca2009-09-131-4/+87
|
* llvmpipe: Remove dead references to pipe_winsys.José Fonseca2009-09-131-4/+1
|
* llvmpipe: Use const keyword for input array arguments.José Fonseca2009-09-134-11/+12
|
* llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵José Fonseca2009-09-131-134/+103
| | | | | | | registers. How I'm thankful for regular expressions -- just a couple of them were all that was needed to do this otherwise tiresome and bug prone change.
* llvmpipe: Translate more TGSI opcodes.José Fonseca2009-09-131-23/+116
| | | | | Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated.
* llvmpipe: Add a few more common arithmetic functions.José Fonseca2009-09-132-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é Fonseca2009-09-131-7/+7
| | | | meaning.
* tgsi: implement saturationKeith Whitwell2009-09-121-17/+26
| | | | Fix recent performance regression.
* tgsi: add missing implementation of constant decl changeKeith Whitwell2009-09-121-8/+61
|
* r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan2009-09-131-1/+0
|
* ureg: add a mechanism to get the built tokens rather than a full shaderKeith Whitwell2009-09-122-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 instructionsKeith Whitwell2009-09-122-11/+80
| | | | Couldn't previously emit these except by calling the opcode-specific helper.
* tgsi/ureg: give ureg_DECL_constant an explicit index parameterKeith Whitwell2009-09-123-4/+8
| | | | | Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier.
* tgsi/ureg: VS inputs don't have any semantic tags, just an indexKeith Whitwell2009-09-124-50/+44
| | | | Fix ureg_DECL_vs_input to reflect this and fix up all callers.
* tgsi: free tokens on errorKeith Whitwell2009-09-121-0/+3
|
* tgsi: sanity check ureg programsKeith Whitwell2009-09-121-0/+10
|
* tgsi: add const qualifierKeith Whitwell2009-09-122-2/+2
|
* r300g: There is no such thing as "texture stride"Nicolai Hähnle2009-09-126-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]>
* r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan2009-09-111-35/+33
| | | | it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
* llvmpipe: set dirty_render_cache in llvmpipe_clear()José Fonseca2009-09-111-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é Fonseca2009-09-119-36/+36
|
* softpipe: remove no-op softpipe_init_texture_funcs() functionBrian Paul2009-09-103-10/+0
|
* softpipe: remove unused #includes, move commentBrian Paul2009-09-101-7/+1
|
* util: remove unneeded #includesBrian Paul2009-09-101-6/+0
|
* softpipe: reformatting, clean-ups, commentsBrian Paul2009-09-102-15/+30
|
* util: minor clean-ups, reformattingBrian Paul2009-09-101-17/+12
|
* softpipe: remove unneeded #includesBrian Paul2009-09-102-3/+0
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-103-15/+46
|\
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-101-1/+3
| |\
| | * softpipe: minor indentation fixBrian Paul2009-09-101-1/+1
| | |
| | * softpipe: set dirty_render_cache in softpipe_clear()Brian Paul2009-09-101-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.
| * | tgsi: use new tgsi_call_record to handle execution mask stacksBrian Paul2009-09-102-14/+43
| | | | | | | | | | | | This fixes some issues when "return"ing from nested loops/conditionals.
| * | gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.Vinson Lee2009-09-101-1/+1
| | | | | | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
* | | st/xorg: rename ctx to pipe to match every other gallium state trackerZack Rusin2009-09-104-35/+35
| | | | | | | | | | | | plus it avoids the "ctx->ctx->" syntax
* | | st/xorg: temporarily disablie copiesZack Rusin2009-09-101-1/+2
| | |
* | | st/xorg: implement pipelines surface/texture copiesZack Rusin2009-09-102-7/+329
| | |
* | | st/xorg: unite finalization and stub out pipelined copiesZack Rusin2009-09-104-20/+50
| | |
* | | st/xorg: abstract flushing and syncing for the exa codeZack Rusin2009-09-102-5/+23
| | |
* | | st/xorg: disable solid fills until copies are accelerated as wellZack Rusin2009-09-102-1/+3
| | |
* | | st/xorg: implement exasolids with full pipeliningZack Rusin2009-09-104-32/+135
| | | | | | | | | | | | plus fix some small issues with the shaders
* | | st/xorg: start adding support for surface fillsZack Rusin2009-09-105-26/+66
| | |
* | | nv50: Fix tiling mode for lower mipmap levels.Marcin Kościelnicki2009-09-103-5/+8
| | |
* | | util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.Vinson Lee2009-09-101-1/+1
| | | | | | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
* | | llvmpipe: Fix alpha test.José Fonseca2009-09-101-26/+13
| | |
* | | llvmpipe: Mask out color channels not present in the color buffer.José Fonseca2009-09-101-5/+23
| | |
* | | llvmpipe: Fix sampling from depth textures. Respect texture compare func.José Fonseca2009-09-102-49/+122
| | | | | | | | | | | | Fixes Mesa shadowtex sample.
* | | llvmpipe: Skip blending when mask is zero.José Fonseca2009-09-102-13/+30
| | | | | | | | | | | | This increases quake3 timedemo fps another 10%.
* | | llvmpipe: Proper control flow builders.José Fonseca2009-09-103-60/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New control flow helper functions which keep track of all variables and generate the correct Phi functions. This re-enables skipping the fs execution of quads masked out by the rasterizer, early z testing, and kill opcode. This yields a performance improvement of around 20%.
* | | llvmpipe: Copy the texture target into the sampler static state.José Fonseca2009-09-101-0/+1
| | | | | | | | | | | | Hunk forgotten in previous commit.
* | | llvmpipe: Quick hack for 1D textures.José Fonseca2009-09-092-0/+4
| | |