summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shaderBrian Paul2008-11-242-0/+193
| | | | Fragment's red/greenb/blue is a function gl_FragCoord.xyz
* progs: Add ignoresJakob Bornecrantz2008-11-242-0/+3
|
* scons: Build progs.José Fonseca2008-11-214-0/+281
| | | | Just demos and trivial dirs for starters.
* Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-11-153-0/+275
|\ | | | | | | | | | | Conflicts: src/mesa/shader/prog_print.c
| * Add glsync demo program from jbarnes for testing vblank synchronization.Eric Anholt2008-11-123-0/+275
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-11-158-0/+1064
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * | trivial: more testsKeith Whitwell2008-11-148-0/+1064
| | |
* | | mesa: fix buildAlan Hourihane2008-11-141-2/+1
| | |
* | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-112-23/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
| * | mesa: fix version check in dinoshade.cBrian Paul2008-11-111-1/+1
| | |
| * | undo accidental changes to multitex.frag shaderBrian Paul2008-11-101-22/+2
| | |
* | | CELL: two-sided stencil fixesRobert Ellison2008-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | use APP_CC, not CC for skinning demoBrian Paul2008-11-051-2/+2
| | |
* | | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-0510-11/+341
|\| |
| * | added glsl/skinning.c test to test matrix blending/weightingBrian Paul2008-11-045-2/+340
| | |
| * | print err msg if unable to open shader fileBrian Paul2008-11-041-0/+1
| | |
| * | remove old debug glFlush/Finish calls from demosBrian Paul2008-11-044-9/+0
| | |
* | | CELL: stencil bug fixesRobert Ellison2008-10-301-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | move glut.h includeBrian Paul2008-10-281-1/+2
| | |
* | | mesa: use APP_CC compiler in progs/vp/Brian Paul2008-10-281-3/+3
| | |
* | | mesa: convert log/exp tests to ARB_v_pBrian Paul2008-10-282-8/+10
| | |
* | | mesa: don't continually redrawBrian Paul2008-10-281-1/+1
| | |
* | | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-10-272-16/+127
|\| |
| * | glxswapcontrol: added -fullscreen optionBrian Paul2008-10-161-14/+77
| | |
| * | glxgears: for fullscreen, disable window borders the right wayBrian Paul2008-10-161-2/+50
| | |
| * | Remove CVS keywords.Keith Whitwell2008-09-2126-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | mesa: more test options in progs/demos/textures.cBrian Paul2008-10-201-17/+87
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-10-171-10/+7
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: progs/trivial/tri.c
| * | mesa: redraw upon keypress in trivial/tri.cBrian Paul2008-10-171-9/+7
| | |
* | | mesa: revert accidental change to fslight.c demoBrian Paul2008-10-151-1/+1
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-157-0/+676
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * | trivial: more vp testsKeith Whitwell2008-10-145-0/+654
| | |
| * | vp: add simple vertex transform testKeith Whitwell2008-10-142-0/+22
| | |
* | | replace 1.0/sqrt() with inversesqrt()Brian Paul2008-10-101-1/+1
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-104-0/+314
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | trivial: add more vp testsKeith Whitwell2008-10-073-0/+210
| | |
| * | trivial: exercise vertprog sligtlyKeith Whitwell2008-10-072-0/+104
| | |
* | | mesa: toggle colormask values with r/g/b keys in tri-mask-tri.cBrian Paul2008-10-091-60/+63
| | | | | | | | | | | | Plus misc clean-up.
* | | mesa: simple multiple textures testBrian Paul2008-10-092-0/+305
| | |
* | | mesa: use the shaderutil.c helper functionsBrian Paul2008-10-072-84/+17
| | |
* | | Progs: hook the glsl identity example into the makefile.Stephane Marchesin2008-10-071-0/+1
| | |
* | | Progs: add a trivial glsl test, useful for gallium driver bringup/debug.Stephane Marchesin2008-10-071-0/+282
| | |
* | | link EGL demos with -lGLAlan Hourihane2008-09-261-8/+8
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-213-1/+6
|\| |
| * | mesa: Update ignores a bitJakob Bornecrantz2008-09-192-0/+2
| | |
| * | destroy window on exitBrian Paul2008-09-181-1/+4
| | |
* | | CELL: mark several transient files as .gitignoreRobert Ellison2008-09-182-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-183-5/+23
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/slang/slang_link.c
| * | progs/fp: Add a bit of local variable testing to fp-triJakob Bornecrantz2008-09-182-0/+13
| | |
| * | egl: print multisample infoBrian Paul2008-09-171-5/+10
| | |