summaryrefslogtreecommitdiffstats
path: root/progs/trivial
Commit message (Collapse)AuthorAgeFilesLines
* 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-121-0/+163
| | | | | | | | | | | | | | | | Just demos and trivial dirs for starters. Conflicts: .gitignore
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-103-0/+272
|\|
| * mesa: more trivial testsKeith Whitwell2008-12-103-0/+272
| |
* | mesa: Update some .gitignore files.Younes Manton2008-12-021-0/+16
| |
* | scons: Build progs.José Fonseca2008-11-211-0/+163
| | | | | | | | Just demos and trivial dirs for starters.
* | 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
| |
* | 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.
* | 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
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-155-0/+654
|\| | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * trivial: more vp testsKeith Whitwell2008-10-145-0/+654
| |
* | 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.
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-09-182-1/+155
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c
| * | add dlist-degenerate test caseKeith Whitwell2008-09-152-0/+154
| | |
* | | trivial: remove stray merge conflictKeith Whitwell2008-09-111-3/+0
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-113-9/+204
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | define new APP_CC configuration variable for building apps/demos/testsBrian Paul2008-09-111-8/+8
| | | | | | | | | | | | | | | 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"
| * | press 'c' to toggle Z clear value between 0/1Brian Paul2008-09-111-4/+21
| | |
| * | press 'f' to cycle through depth test funcsBrian Paul2008-09-111-0/+26
| | |
| * | mesa: added test for very long fixed-function vertex programsBrian Paul2008-08-282-0/+152
| | |
* | | Merge branch 'gallium-0.1' into gallium-0.2Keith Whitwell2008-09-11111-209/+9055
|\| | | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
| * git: Updated .gitignore filesJakob Bornecrantz2008-06-161-0/+10
| |
| * trivial: Update clear-undefinedJakob Bornecrantz2008-06-131-0/+7
| |
| * trival: Added test for undefined context of bufferJakob Bornecrantz2008-06-132-0/+131
| |
| * trivial: add test for integer vertex arraysKeith Whitwell2008-06-112-0/+118
| |
| * trivial: add trifan testsKeith Whitwell2008-06-106-0/+706
| |
| * trivial: add poly-flat-clip testsKeith Whitwell2008-06-103-4/+150
| |
| * trivial: add tristrip-flat to makefileKeith Whitwell2008-06-101-0/+1
| |
| * add new binaries to ignore to make 'git status' cleanerZack Rusin2008-05-201-0/+4
| |
| * mesa: call glutDestroyWindow() on exit to help find mem leaksBrian Paul2008-05-161-1/+5
| |
| * trivial: simple edgeflag testKeith Whitwell2008-04-242-0/+142
| |
| * mesa: add dedicated point-wide-smooth test, restore original tri.c as tri-orig.cKeith Whitwell2008-04-234-14/+284
| |
| * mesa: add missing glPush/PopMatrix() callsBrian2008-04-041-0/+2
| |
| * mesa: add missing glPush/PopMatrix() callsBrian2008-04-041-0/+2
| |
| * mesa: call glColorMask(1,1,1,1) before glClear()Brian Paul2008-03-141-0/+4
| | | | | | | | | | Without this, second and subsequent redraws rendered incorrectly. Plus comments.
| * Added line smooth testBrian2008-02-252-0/+173
| |
| * Update git ignores.José Fonseca2008-02-251-0/+1
| |
| * gallium: new pgon-mode.c testBrian2008-02-142-0/+137
| | | | | | | | | | A two-triangle strip is drawn such that the first tri is front-facing and the second tri is back-facing. Use different front/back polygon modes.
| * gallium: Ignore generated files.José Fonseca2008-01-171-0/+101
| |
| * vp-tri: match vertex/color data of other testsKeith Whitwell2007-12-191-6/+6
| |
| * use a depth buffer temporarilyKeith Whitwell2007-12-191-2/+2
| |
| * set window size to 256x256Brian2007-12-101-3/+4
| |
| * gallium: more trivial testsKeith Whitwell2007-12-0947-33/+6201
| |
| * gallium: remove unneeded depth bufferKeith Whitwell2007-12-092-4/+4
| |