Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-01 | util: Fix util_fast_pow/exp2/log2. | José Fonseca | |
- 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. | |||
2008-09-29 | intel: Clean-up the extension string madness! | Ian Romanick | |
- Sort extensions by ARB, then EXT, then vendor by name - Remove redundant (only one of GL_{ARB,EXT,NV}_texture_rectangle) or duplicate extension strings | |||
2008-09-29 | GLSL: Implement GL_OBJECT_TYPE_ARB query | Ian Romanick | |
The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum. | |||
2008-09-29 | GLSL: Implement _mesa_get_handle | Ian Romanick | |
Implementing _mesa_get_handle in using glGetIntegerv(GL_CURRENT_PROGRAM, ...) allows glGetHandleARB to work. | |||
2008-09-29 | GLSL: AttachShader returns INVALID_OPERATION for repeated attach | Ian Romanick | |
The GL_ARB_shader_objects spec says that glAttachShaderARB is supposed to return GL_INVALID_OPERATION if a shader is attached to a program where it is already attached. _mesa_attach_shader perviously returned without error in this case. | |||
2008-09-30 | tgsi: SSE2 optimized exp2, log2 and pow implementations. | José Fonseca | |
Special care must be taken when calling compiler generated SSE2 functions from the runtime generated SSE2: saving the xmm registers, and notify gcc the stack is not 16byte aligned. It would be more efficient to keep the stack pointer 16byte aligned, but too hairy, and not consistent in all x86 architectures. This has been tested in linux x86 and windows x86 userspace. Not tested on x86-64 because it is broken for other reasons (even without this change). | |||
2008-09-30 | util: Header for SSE2 intrinsics portability. | José Fonseca | |
2008-09-29 | mesa: asst updates for VMS | Jouk Jansen | |
2008-09-29 | rtasm: Implement immediate group 1 instructions. Fix SIB emition. | José Fonseca | |
2008-09-29 | mesa: drop calloc from _mesa_get_fixed_func_vertex_program | Shunichi Fuji | |
Signed-off-by: Shunichi Fuji <palglowr@gmail.com> | |||
2008-09-28 | Use 3Dnow! x86-64 routines only on processors that support 3Dnow! | Ian Romanick | |
Added an x86-64 CPUID function and use it to detect 3Dnow! If 3Dnow! is available, use _mesa_3dnow_transform_points4_3d_no_rot, _mesa_3dnow_transform_points4_perspective, _mesa_3dnow_transform_points4_2d_no_rot, and _mesa_3dnow_transform_points4_2d. This fixes long standing bug #8724. | |||
2008-09-28 | Remove TNL-to-VP tracking from i965 | Ian Romanick | |
The i965 driver previously had it's own set of code to convert fixed-function TNL state to a vertex program. Core Mesa has code to do this, so there is no reason to duplicate that effort in the driver. In fact, this duplication leads to bugs when other aspects of the Mesa infrastructure change. | |||
2008-09-28 | Gallivm: fix off-by-one. | Stephane Marchesin | |
2008-09-28 | Gallivm: more instructions. | Stephane Marchesin | |
2008-09-28 | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | |
2008-09-27 | glapi: add DISPATCH_FUNCTION_SIZE | Tobias Jakobi | |
2008-09-27 | glapi: add gl_dispatch_functions_start and end | Tobias Jakobi | |
2008-09-26 | mesa: fix temp register allocation problems. | Brian Paul | |
Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | |||
2008-09-26 | egl: check for null ptr/name | Brian Paul | |
2008-09-26 | egl: remove space after -L flag | Brian Paul | |
2008-09-26 | cell: checkpoint: more work in emit_function_call() | Brian Paul | |
Simple function call works now, but we don't save/restore the caller's registers yet. | |||
2008-09-26 | cell: stub-out sin/cos function bodies to avoid trashing caller's stack for now | Brian Paul | |
2008-09-26 | gallium: SPU register comments | Brian Paul | |
2008-09-26 | intel: Fix a number of memory leaks on context destroy. | Eric Anholt | |
2008-09-26 | cell: move command processing code into new spu_command.c file | Brian Paul | |
2008-09-26 | cell: move debug-related declarations | Brian Paul | |
2008-09-26 | cell: move debug macros into new spu_debug.h | Brian Paul | |
2008-09-26 | cell: move really_clear_tiles() | Brian Paul | |
2008-09-26 | cell: align instruction buffers to 8-byte, not 32-byte boundary | Brian Paul | |
2008-09-26 | cell: asst clean-up, var renaming | Brian Paul | |
2008-09-26 | cell: remove unneeded blend/depth_stencil subclasses | Brian Paul | |
2008-09-26 | cell: checkpoint: support for function calls in SPU shaders | Brian Paul | |
Will be used for instructions like SIN/COS/POW/TEX/etc. The PPU needs to know the address of some functions in the SPU address space. Send that info to the PPU/main memory rather than patch up shaders on the SPU side. Not finished/tested yet... | |||
2008-09-26 | cell: inst reorder to save a cycle | Brian Paul | |
2008-09-26 | st: add prototype for st_get_framebuffer_dimensions() | Alan Hourihane | |
2008-09-26 | st: export st_get_framebuffer_dimensions() to retrieve | Alan Hourihane | |
the width & height of the fb | |||
2008-09-26 | mesa: remove invalid assertions that programs have parameters | Brian Paul | |
Fixes failure with demos/fplight.c | |||
2008-09-26 | mesa: fix assertion in _mesa_reference_program() | Brian Paul | |
2008-09-26 | mesa: fix param indexing | Brad King | |
2008-09-26 | mesa: fix incorrect parameter order | Brian Paul | |
2008-09-26 | mesa: remove const qualifiers to match device driver interface function | Brian Paul | |
2008-09-26 | gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program() | Brian Paul | |
2008-09-26 | mesa: add some braces | Brian Paul | |
2008-09-26 | mesa: fix/simplify initialization of vertex/fragment program limits | Brian Paul | |
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed. | |||
2008-09-26 | mesa: increase MAX_INSTRUCTIONS | Brian Paul | |
2008-09-26 | mesa: fix swizzle failure, fix typo | Brian Paul | |
2008-09-26 | mesa: fix default buffer object access value | Brian Paul | |
2008-09-26 | gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program() | Brian Paul | |
2008-09-26 | mesa: add some braces | Brian Paul | |
2008-09-26 | st: change from ** to * for st_unreference_framebuffer() | Alan Hourihane | |
2008-09-26 | mesa: fix indenting | Keith Whitwell | |