summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-09-15nv50: handle CEIL and TRUNC opcodesChristoph Bumiller
2009-09-15nv50: handle SEQ, SGT, SLE, SNE opcodesChristoph Bumiller
2009-09-15nv50: SIN and COS use src0.w for dst.wChristoph Bumiller
2009-09-15nv50: use broadcast TEMP reg in tx_insnChristoph Bumiller
Makes some opcode cases nicer and might reduce the total nr of TEMPs required, or save some MOVs.
2009-09-15nv50: add nv50_tgsi_insn to handle swizzles safelyChristoph Bumiller
2009-09-15nv50: add functions for swizzle resolutionChristoph Bumiller
We're going to try to reorder the scalar ops of a vector instr to accomodate swizzles that would otherwise require us to emit to an additional TEMP first (like MOV R0.xy, R0.zx).
2009-09-15nv50: extend insn src mask functionChristoph Bumiller
Extend its usage to avoiding e.g. emission of negation instructions in tx_insn for sources we don't need.
2009-09-14nv50: Fix m2mf positions.Marcin Kościelnicki
2009-09-14llvmpipe: Make lp_type a regular union.José Fonseca
Union not worth the hassle of violating C99 or adding a name to the structure.
2009-09-13llvmpipe: Compute derivatives.José Fonseca
2009-09-13llvmpipe: Remove dead references to pipe_winsys.José Fonseca
2009-09-13llvmpipe: Use const keyword for input array arguments.José Fonseca
2009-09-13llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵José Fonseca
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.
2009-09-13llvmpipe: Translate more TGSI opcodes.José Fonseca
Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated.
2009-09-13llvmpipe: Add a few more common arithmetic functions.José Fonseca
We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world.
2009-09-13llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵José Fonseca
meaning.
2009-09-13r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan
2009-09-12r300g: There is no such thing as "texture stride"Nicolai Hähnle
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 <nhaehnle@gmail.com>
2009-09-11r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
2009-09-11llvmpipe: set dirty_render_cache in llvmpipe_clear()José Fonseca
Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers.
2009-09-11llvmpipe: Update status in README and TODO/FIXME comments throughout the code.José Fonseca
2009-09-10softpipe: remove no-op softpipe_init_texture_funcs() functionBrian Paul
2009-09-10softpipe: remove unused #includes, move commentBrian Paul
2009-09-10softpipe: reformatting, clean-ups, commentsBrian Paul
2009-09-10softpipe: remove unneeded #includesBrian Paul
2009-09-10Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-10Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-10softpipe: minor indentation fixBrian Paul
2009-09-10softpipe: set dirty_render_cache in softpipe_clear()Brian Paul
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.
2009-09-10nv50: Fix tiling mode for lower mipmap levels.Marcin Kościelnicki
2009-09-10llvmpipe: Fix alpha test.José Fonseca
2009-09-10llvmpipe: Mask out color channels not present in the color buffer.José Fonseca
2009-09-10llvmpipe: Fix sampling from depth textures. Respect texture compare func.José Fonseca
Fixes Mesa shadowtex sample.
2009-09-10llvmpipe: Skip blending when mask is zero.José Fonseca
This increases quake3 timedemo fps another 10%.
2009-09-10llvmpipe: Proper control flow builders.José Fonseca
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%.
2009-09-10llvmpipe: Copy the texture target into the sampler static state.José Fonseca
Hunk forgotten in previous commit.
2009-09-09llvmpipe: Quick hack for 1D textures.José Fonseca
2009-09-09llvmpipe: Fix depth mask computation.José Fonseca
Fixes depth test for 24bit depth formats.
2009-09-09llvmpipe: Include zsbuf's format in the fragment shader key.José Fonseca
2009-09-09llvmpipe: Debug function to check stack alignment.José Fonseca
Doing alignment check in locus is redundant, as gcc alignment assumptions will optimize away the check.
2009-09-09i915g: Add buffer write callbackJakob Bornecrantz
2009-09-09i915g: Reorg vbuf code a bitJakob Bornecrantz
2009-09-09i915g: Keep vertex buffers in a fifoJakob Bornecrantz
2009-09-07scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.Vinson Lee
Ubuntu 8.10 has llvm-config version 2.2, which doesn't have nativecodegen. This triggers an exception.
2009-09-07llvmpipe: Silent debug statement.José Fonseca
2009-09-07llvmpipe: Better abs for floating points.José Fonseca
2009-09-07llvmpipe: Code generate the texture sampling inside the shader.José Fonseca
Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different.
2009-09-07llvmpipe: Texture sampling code generation primitives.José Fonseca
Only supports single level 2d textures, with neareast and bilinear filtering for now.
2009-09-07llvmpipe: Convenience function to obtain the integer type with same bitdepth ↵José Fonseca
of an arbitrary type.
2009-09-07llvmpipe: Utility functions for linear and bilinear interpolation.José Fonseca