Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-17 | gallium: Make handle_table reentrant. | José Fonseca | |
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. | |||
2008-11-14 | gallium: increase table size for fast log/pow functions | Brian Paul | |
The various conformance tests pass now. | |||
2008-11-14 | util: Use OpenGL rasterization rules in blits and mipmap generation. | Brian Paul | |
2008-11-14 | translate: pull in prefetch and other optimizations from draw_vs_aos.c | Keith Whitwell | |
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-12 | draw: Add missing include. | Michal Krol | |
2008-11-11 | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | |
Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | |||
2008-11-10 | gallium: fix comment again. A half-closed interval was intended. | Brian | |
Never saw the [a,b[ notation before. | |||
2008-11-10 | dri: alloc __DRIscreen object with calloc() | Brian Paul | |
Conflicts: src/mesa/drivers/dri/common/dri_util.c | |||
2008-11-10 | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | |
2008-11-10 | Mesa: fix number of buffers in st_draw_vbo(). | Pekka Paalanen | |
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 <pq@iki.fi> | |||
2008-11-10 | gallium: fix typos in comments | Brian Paul | |
2008-11-10 | gallium: actually flip the coordinates | Zack Rusin | |
2008-11-09 | util: Fix util_fast_pow/exp2/log2. | Brian | |
- 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 | |||
2008-11-09 | gallium: _debug_vprintf() should be silent if DEBUG is not defined | Brian | |
2008-11-07 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Brian Paul | |
cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 | |||
2008-11-06 | gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.c | Brian | |
2008-11-06 | mesa: update the shader programs->TexturesUsed array at link time | Brian Paul | |
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. | |||
2008-11-06 | gallium: added st_print_shaders() function to help w/ debugging | Brian Paul | |
2008-11-06 | gallium: debug code to print vertex array data (disabled) | Brian Paul | |
2008-11-06 | softpipe: debug code (disabled) | Brian Paul | |
2008-11-05 | gallium: check execution mask in indirect register loads | Brian | |
Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing). | |||
2008-11-05 | gallium: don't range check tgsi register index for indirect accesses | Brian | |
Fixes progs/vp/arl.txt test. | |||
2008-11-05 | gallium: added check for degenerate drawing calls | Brian Paul | |
2008-11-05 | gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵ | Brian Paul | |
draw time This will warn the user that the shader being run may be using uninitialized uniform variables. | |||
2008-11-05 | mesa: fix a GLSL array indexing codegen bug | Brian Paul | |
Expressions like array[i] + array[j] didn't work properly before. | |||
2008-11-05 | gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code | Brian Paul | |
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments. | |||
2008-11-05 | gallium: added tgsi_set_exec_mask() | Brian Paul | |
2008-11-05 | gallium: added some sanity check assertions for constant buffer indexing | Brian Paul | |
2008-11-05 | mesa: remove extra \n from printf string | Brian Paul | |
2008-11-05 | mesa: add Initialized field to gl_uniform struct, for debugging purposes only | Brian Paul | |
2008-11-05 | gallium: added some debug code (disabled) | Brian Paul | |
2008-11-05 | gallium: disable some debug output | Brian Paul | |
2008-11-05 | i915: Remove faulty assert | Jakob Bornecrantz | |
2008-11-05 | draw: Implement TGSI_OPCODE_TRUNC. | michal | |
2008-11-05 | tgsi: Implement OPCODE_TRUNC. | michal | |
2008-11-04 | mesa: fix float-valued GLSL vertex attribute variables | Brian Paul | |
The swizzle mask for such variables wasn't set up properly. | |||
2008-11-01 | mesa: silence warnings | Brian Paul | |
2008-11-01 | mesa: do scope replacement for while/for loops too | Brian Paul | |
This fixes a function inlining bug involving vars declared inside loop bodies. | |||
2008-11-01 | mesa: glsl tree print improvements | Brian Paul | |
2008-11-01 | mesa: fix assignment / parameter passing of sampler types | Brian Paul | |
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-31 | mesa: fix some bugs with precision qualifier parsing | Brian Paul | |
2008-10-31 | mesa: do scope replacement for variable initializers too | Brian Paul | |
2008-10-31 | mesa: fix copy/paste error in GLSL error msg | Brian Paul | |
2008-10-29 | gallium: new sanity assertions in mmAllocMem() | Brian Paul | |
2008-10-29 | gallium: fix copy&paste bug | Brian Paul | |
2008-10-29 | gallium: fix alignment parameter passed to u_mmAllocMem() | Brian Paul | |
Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called. | |||
2008-10-28 | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | |