summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
2008-10-30CELL: stencil bug fixesRobert Ellison
Two definitive bugs in stenciling were fixed. The first, reversed registers in the generated Select Bytes (selb) instruction, caused the stenciling INCR and DECR operations to fail dramatically, putting new values in where old values were supposed to be and vice versa. The second caused stencil tiles to not be read and written from main memory by the SPUs. A per-spu flag, spu.read_depth, was used to indicate whether the SPU should be reading depth tiles, and was set only when depth was enabled. A second flag, spu.read_stencil, was set when stenciling was enabled, but never referenced. As stenciling and depth are in the same tiles on the Cell, and there is no corresponding TAG_WRITE_TILE_STENCIL to complement TAG_WRITE_TILE_COLOR and TAG_WRITE_TILE_Z, I fixed this by eliminating the unused "spu.read_stencil", renaming "spu.read_depth" to "spu.read_depth_stencil", and setting it if either stenciling or depth is enabled. I also added an optimization to the fragment ops generation code, that avoids calculating stencil values and/or stencil writemask when the stencil operations are all KEEP.
2008-10-28move glut.h includeBrian Paul
2008-10-28mesa: use APP_CC compiler in progs/vp/Brian Paul
2008-10-28mesa: convert log/exp tests to ARB_v_pBrian Paul
2008-10-28mesa: don't continually redrawBrian Paul
2008-10-27Merge commit 'origin/master' into gallium-0.2Alan Hourihane
2008-10-20mesa: more test options in progs/demos/textures.cBrian Paul
2008-10-17Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: progs/trivial/tri.c
2008-10-17mesa: redraw upon keypress in trivial/tri.cBrian Paul
2008-10-16glxswapcontrol: added -fullscreen optionBrian Paul
2008-10-16glxgears: for fullscreen, disable window borders the right wayBrian Paul
2008-10-15mesa: revert accidental change to fslight.c demoBrian Paul
2008-10-15Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/main/context.c
2008-10-14trivial: more vp testsKeith Whitwell
2008-10-14vp: add simple vertex transform testKeith Whitwell
2008-10-10replace 1.0/sqrt() with inversesqrt()Brian Paul
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
2008-10-09mesa: toggle colormask values with r/g/b keys in tri-mask-tri.cBrian Paul
Plus misc clean-up.
2008-10-09mesa: simple multiple textures testBrian Paul
2008-10-07mesa: use the shaderutil.c helper functionsBrian Paul
2008-10-07Progs: hook the glsl identity example into the makefile.Stephane Marchesin
2008-10-07Progs: add a trivial glsl test, useful for gallium driver bringup/debug.Stephane Marchesin
2008-10-07trivial: add more vp testsKeith Whitwell
2008-10-07trivial: exercise vertprog sligtlyKeith Whitwell
2008-09-26link EGL demos with -lGLAlan Hourihane
2008-09-21Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
2008-09-21Remove CVS keywords.Keith Whitwell
Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
2008-09-19mesa: Update ignores a bitJakob Bornecrantz
2008-09-18CELL: mark several transient files as .gitignoreRobert Ellison
progs/demos: added new demo "fbo_firecube" progs/glsl: added new demo "pointcoord" src/gallium/drivers/cell/spu: added the g3d_spu executable, a Cell SPU executable file, which seems to be occasionally built as part of the cell driver src/glu/sgi: added "exptmp", a byproduct of the "mklib" process that sometimes gets deleted and sometimes not.
2008-09-18destroy window on exitBrian Paul
2008-09-18Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/slang/slang_link.c
2008-09-18Merge commit 'origin/master' into gallium-0.2Keith Whitwell
Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c
2008-09-18progs/fp: Add a bit of local variable testing to fp-triJakob Bornecrantz
2008-09-17egl: print multisample infoBrian Paul
2008-09-17cell: dump generated code if CELL_DEBUG=asmBrian Paul
2008-09-15add dlist-degenerate test caseKeith Whitwell
2008-09-13negate.txt - test negation of a src regBrian Paul
2008-09-13remove invalid XDestroyWindow() callGuillaume Melquiond
2008-09-13silence warningGuillaume Melquiond
2008-09-12Makefile was previously checked in with merge diffs still present. I just ↵Jonathan White
selected HEAD and removed the old.
2008-09-12simple add with swizzle and mul with swizzle testsBrian Paul
2008-09-12vp: add run scriptKeith Whitwell
2008-09-12Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: progs/fp/Makefile
2008-09-12fp: put test name in window title, add run scriptKeith Whitwell
2008-09-12use APP_CC, remove redundant targetKeith Whitwell
2008-09-11use APP_CCBrian Paul
2008-09-11trivial: remove stray merge conflictKeith Whitwell
2008-09-11demos: fix LIBS ref in makefileKeith Whitwell
2008-09-11Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: Makefile progs/demos/Makefile progs/glsl/Makefile progs/redbook/Makefile progs/samples/Makefile progs/tests/Makefile progs/trivial/Makefile progs/xdemos/Makefile src/gallium/Makefile src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/vbo/vbo_exec_draw.c
2008-09-11define new APP_CC configuration variable for building apps/demos/testsBrian Paul
For Cell, need to use different compilers for the libraries vs. the demos/tests to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"