summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-14st/xorg: add some debugging helpersZack Rusin
2009-09-14r600: add span support for 1D tilesAlex Deucher
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*
2009-09-14r600: fix warningAlex Deucher
Noticed by rnoland on IRC.
2009-09-14st/mesa: minor whitespace, comment clean-upsBrian Paul
2009-09-14st/xorg: fix ureg_DECL_constant() parametersBrian Paul
This fixes the compilation errors reported in bug 23945 but someone more familiar with the code should review for correctness and close the bug report.
2009-09-14scons: Allow to use only the WINDDK headers.José Fonseca
2009-09-14scons: Allow to use MS's DXSDK headers with MinGW.José Fonseca
2009-09-14gallium: Add pipe_transfer_map/unmap inlines.José Fonseca
2009-09-14util: Add _BitScanForward intrinsic's declaration.José Fonseca
It is missing in some Microsoft DDKs.
2009-09-14intel: minor code clean-upsBrian Paul
2009-09-14intel: fix renderbuffer map/unmap regressionBrian Paul
Commit 36dd53a3cded9d003ec418732b7fc93c1476aa9b caused a few regressions because the glReadBuffer() buffer wasn't getting mapped when GL_READ_BUFFER != GL_DRAW_BUFFER.
2009-09-14intel: remove unneeded driver function assignmentsBrian Paul
These default swrast functions are already installed by _mesa_init_driver_functions().
2009-09-14progs/tests: exercise display lists and pixelstoreBrian Paul
2009-09-14gallium: Add Mac OS to pipe/p_thread.h.Vinson Lee
Mac OS also has POSIX threads.
2009-09-14configure: fix commentThierry Vignaud
2009-09-14mesa/st: remove dead commentKeith Whitwell
2009-09-14st/mesa: convert to new tgsi_ureg mechanism for shader emitKeith Whitwell
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
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-14util: Fix a1r5g5b5's format description.José Fonseca
2009-09-14g3dvl: update tgsi_opcode in order to build g3dvl libraryCooper Yuan
2009-09-13tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
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-12tgsi: implement saturationKeith Whitwell
Fix recent performance regression.
2009-09-12tgsi: add missing implementation of constant decl changeKeith Whitwell
2009-09-13r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan
2009-09-12ureg: add a mechanism to get the built tokens rather than a full shaderKeith Whitwell
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.
2009-09-12ureg: add generic emitters for tex and branch instructionsKeith Whitwell
Couldn't previously emit these except by calling the opcode-specific helper.
2009-09-12tgsi/ureg: give ureg_DECL_constant an explicit index parameterKeith Whitwell
Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier.
2009-09-12mesa: remove unused SATURATE_PLUS_MINUS_ONE flagKeith Whitwell
Never set in mesa. Remove from tgsi translation as well.
2009-09-12tgsi/ureg: VS inputs don't have any semantic tags, just an indexKeith Whitwell
Fix ureg_DECL_vs_input to reflect this and fix up all callers.
2009-09-12tgsi: free tokens on errorKeith Whitwell
2009-09-12tgsi: sanity check ureg programsKeith Whitwell
2009-09-12tgsi: add const qualifierKeith Whitwell
2009-09-12Use CFLAGS as HOST_CFLAGS by defaultDan Nicholson
Unless we're cross compiling, the HOST_CFLAGS should be the same as the normal CFLAGS. This allows the x86 and x86_64 asm to be built correctly with a native compiler using -m32/-m64. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
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-11i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.Eric Anholt
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.
2009-09-11r600: fix texcoords from constantsAndre Maasikas
with some minor updates from Richard.
2009-09-11docs: mention the new Gallium llvmpipe driverBrian Paul
2009-09-11llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul
2009-09-11Revert "r600: support tex coords from constants"Alex Deucher
This reverts commit 4099bb76148007f9ccb6c86838b2bf37ea42de56. Tex coord src has to be a GPR.
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-11r600: support tex coords from constantsAlex Deucher
Fixes neverball among other things.
2009-09-11r600: enable caching of vertex programsAndre Maasikas