summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.José Fonseca2008-11-241-0/+8
|
* mesa: Don't call fence_finish with a null fence.José Fonseca2008-11-241-2/+4
|
* scons: Fix toolchain selection.Michal Krol2008-11-201-3/+2
|
* scons: Support MinGW32 cross compiler.José Fonseca2008-11-204-10/+202
| | | | | | | | To build an alternative opengl32.dll with Gallium's software-rasterizer from a debian-based distribution run: sudo apt-get install mingw32 scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
* python/retrace: Dump constants.José Fonseca2008-11-201-2/+15
|
* python: Allow to read from buffers.José Fonseca2008-11-202-1/+31
|
* python/retrace: Fix formatting of shaders.José Fonseca2008-11-191-5/+11
|
* python/retrace: Ignore irrelevant calls.José Fonseca2008-11-191-0/+10
|
* python/retrace: Highlight the trace dump to help to visualize.José Fonseca2008-11-194-35/+185
|
* python/retrace: Use the usual BSD-style license.José Fonseca2008-11-193-54/+78
|
* gallium: Use costum log2 for all windows builds.José Fonseca2008-11-171-6/+8
|
* gallium: State when there are no memory leaks detected.José Fonseca2008-11-171-0/+6
|
* gallium: Make handle_table reentrant.José Fonseca2008-11-171-8/+26
| | | | | | | Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
* gallium: increase table size for fast log/pow functionsBrian Paul2008-11-142-4/+6
| | | | The various conformance tests pass now.
* util: Use OpenGL rasterization rules in blits and mipmap generation.Brian Paul2008-11-142-0/+2
|
* translate: pull in prefetch and other optimizations from draw_vs_aos.cKeith Whitwell2008-11-142-112/+204
|
* trivial: more testsKeith Whitwell2008-11-148-0/+1064
|
* util: Optimise log2().Michal Krol2008-11-121-1/+2
|
* util: Add log2() definition for MSC.Michal Krol2008-11-121-0/+5
|
* draw: Add missing include.Michal Krol2008-11-121-0/+1
|
* mesa: restore the negate flag of dots in build_lighting.Xiang, Haihao2008-11-111-0/+3
| | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
* gallium: fix comment again. A half-closed interval was intended.Brian2008-11-101-2/+2
| | | | Never saw the [a,b[ notation before.
* dri: alloc __DRIscreen object with calloc()Brian Paul2008-11-101-1/+1
| | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
* mesa: fix logic error in GLSL linker when looking for main() shadersBrian Paul2008-11-101-5/+10
|
* Mesa: fix number of buffers in st_draw_vbo().Pekka Paalanen2008-11-101-1/+1
| | | | | | | The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <[email protected]>
* gallium: fix typos in commentsBrian Paul2008-11-101-2/+2
|
* gallium: actually flip the coordinatesZack Rusin2008-11-101-1/+2
|
* util: Fix util_fast_pow/exp2/log2.Brian2008-11-092-69/+64
| | | | | | | | | | | | | | | | | | | | - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h
* gallium: _debug_vprintf() should be silent if DEBUG is not definedBrian2008-11-091-0/+2
|
* mesa: use _bfc0 instead of _col0 when building back face lighting.Brian Paul2008-11-071-3/+2
| | | | cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9
* gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.cBrian2008-11-061-1/+58
|
* mesa: update the shader programs->TexturesUsed array at link timeBrian Paul2008-11-063-4/+26
| | | | | | | | If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation.
* gallium: added st_print_shaders() function to help w/ debuggingBrian Paul2008-11-062-0/+20
|
* gallium: debug code to print vertex array data (disabled)Brian Paul2008-11-061-0/+89
|
* softpipe: debug code (disabled)Brian Paul2008-11-061-0/+8
|
* gallium: check execution mask in indirect register loadsBrian2008-11-051-0/+23
| | | | | Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing).
* gallium: don't range check tgsi register index for indirect accessesBrian2008-11-051-5/+9
| | | | Fixes progs/vp/arl.txt test.
* gallium: added check for degenerate drawing callsBrian Paul2008-11-051-0/+3
|
* gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵Brian Paul2008-11-051-0/+27
| | | | | | | draw time This will warn the user that the shader being run may be using uninitialized uniform variables.
* mesa: fix a GLSL array indexing codegen bugBrian Paul2008-11-052-8/+101
| | | | Expressions like array[i] + array[j] didn't work properly before.
* gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul2008-11-054-4/+54
| | | | | This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
* gallium: added tgsi_set_exec_mask()Brian Paul2008-11-051-0/+25
|
* gallium: added some sanity check assertions for constant buffer indexingBrian Paul2008-11-051-0/+4
|
* mesa: remove extra \n from printf stringBrian Paul2008-11-051-1/+1
|
* mesa: add Initialized field to gl_uniform struct, for debugging purposes onlyBrian Paul2008-11-053-7/+16
|
* gallium: added some debug code (disabled)Brian Paul2008-11-051-0/+24
|
* gallium: disable some debug outputBrian Paul2008-11-051-1/+2
|
* i915: Remove faulty assertJakob Bornecrantz2008-11-051-1/+0
|
* draw: Implement TGSI_OPCODE_TRUNC.michal2008-11-051-0/+14
|
* tgsi: Implement OPCODE_TRUNC.michal2008-11-051-1/+17
|