summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
2008-11-24added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shaderBrian Paul
Fragment's red/greenb/blue is a function gl_FragCoord.xyz
2008-11-24progs: Add ignoresJakob Bornecrantz
2008-11-21scons: Build progs.José Fonseca
Just demos and trivial dirs for starters.
2008-11-15Merge commit 'origin/master' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/prog_print.c
2008-11-15Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/drivers/dri/common/dri_util.c
2008-11-14trivial: more testsKeith Whitwell
2008-11-14mesa: fix buildAlan Hourihane
2008-11-12Add glsync demo program from jbarnes for testing vblank synchronization.Eric Anholt
2008-11-11Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
2008-11-11mesa: fix version check in dinoshade.cBrian Paul
2008-11-11CELL: two-sided stencil fixesRobert Ellison
With these changes, the tests/stencil_twoside test now works. - Eliminate blending from the stencil_twoside test, as it produces an unneeded dependency on having blending working - The spe_splat() function will now work if the register being splatted and the destination register are the same - Separate fragment code generated for front-facing and back-facing fragments. Often these are the same; if two-sided stenciling is on, they can be different. This is easier and faster than generating code that does both tests and merges the results. - Fixed a cut/paste bug where if the back Z-pass stencil operation were different from all the other operations, the back Z-fail results were incorrect.
2008-11-10undo accidental changes to multitex.frag shaderBrian Paul
2008-11-05use APP_CC, not CC for skinning demoBrian Paul
2008-11-05Merge commit 'origin/master' into gallium-0.2Alan Hourihane
2008-11-04added glsl/skinning.c test to test matrix blending/weightingBrian Paul
2008-11-04print err msg if unable to open shader fileBrian Paul
2008-11-04remove old debug glFlush/Finish calls from demosBrian Paul
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