summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-022-0/+365
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
| * demos: added progs/glsl/samplers.c to test all available texture samplersBrian Paul2009-01-012-0/+365
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-301-16/+28
|\| | | | | | | | | | | Conflicts: src/mesa/main/config.h
| * demos: minor fixes to twoside.c glsl demoBrian Paul2008-12-301-16/+28
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2008-12-221-5/+5
|\ \ | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/Makefile
| * | Ignore new tests executables.José Fonseca2008-12-211-5/+20
| | |
| * | scons: Build progs.José Fonseca2008-12-124-0/+281
| | | | | | | | | | | | | | | | | | | | | | | | Just demos and trivial dirs for starters. Conflicts: .gitignore
* | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-191-0/+8
|\ \ \ | | |/ | |/|
| * | demos: all glutDestroyWindow() upon exit to test query object clean-upBrian Paul2008-12-181-2/+3
| | |
| * | demos: add test of vertex-only and fragment-only shader programsBrian Paul2008-12-172-0/+200
| | |
| * | util: check for frag/vertShader=0 before attachingBrian Paul2008-12-171-2/+7
| | |
* | | mesa: s/CC/APP_CC/ in progs/glsl/MakefileBrian Paul2008-12-191-5/+5
| | |
* | | demos: all glutDestroyWindow() upon exit to test query object clean-upBrian Paul2008-12-181-2/+3
| | |
* | | demos: add test of vertex-only and fragment-only shader programsBrian Paul2008-12-182-0/+200
| | |
* | | util: check for frag/vertShader=0 before attachingBrian Paul2008-12-181-2/+7
| | |
* | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-162-46/+136
|\| |
| * | demos: updated tests/floattex.c (doesn't work just yet).Brian Paul2008-12-152-46/+136
| | |
* | | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-154-0/+284
|\| |
| * | Fix silly type mismatch error in multinoise demo.Gary Wong2008-12-131-4/+8
| | |
| * | Add "multinoise" demo, to test 1/2/3/4 dimensional noise.Gary Wong2008-12-133-0/+279
| | |
| * | Ensure p.w is initialised in noise demo.Gary Wong2008-12-131-0/+1
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-103-0/+272
|\ \ \ | | |/ | |/|
| * | mesa: more trivial testsKeith Whitwell2008-12-103-0/+272
| | |
* | | fix conflict breakageAlan Hourihane2008-12-081-4/+0
| | |
* | | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-082-1/+292
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: progs/glsl/Makefile
| * | demos: added simple vertex shader texture test.Brian2008-12-032-1/+287
| | | | | | | | | | | | Draw a quadmesh where Z coord is taken from a texture map.
* | | mesa: Update some .gitignore files.Younes Manton2008-12-022-0/+17
| | |
* | | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-281-3/+12
|\| |
| * | demos: press SPACE to toggle fbo_firecube animationBrian Paul2008-11-261-3/+12
| | |
* | | remove some redundant rules from prev mergeBrian Paul2008-11-241-7/+0
| | |
* | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-241-0/+7
|\| | | | | | | | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * | added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shaderBrian Paul2008-11-212-0/+193
| | | | | | | | | | | | Fragment's red/greenb/blue is a function gl_FragCoord.xyz
* | | 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.