Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-21 | CELL: use variant-length fragment ops programs | Robert Ellison | |
This is a set of changes that optimizes the memory use of fragment operation programs (by using and transmitting only as much memory as is needed for the fragment ops programs, instead of maximal sizes), as well as eliminate the dependency on hard-coded maximal program sizes. State that is not dependent on fragment facing (i.e. that isn't using two-sided stenciling) will only save and transmit a single fragment operation program, instead of two identical programs. - Added the ability to emit a LNOP (No Operation (Load)) instruction. This is used to pad the generated fragment operations programs to a multiple of 8 bytes, which is necessary for proper operation of the dual instruction pipeline, and also required for proper SPU-side decoding. - Added the ability to allocate and manage a variant-length struct cell_command_fragment_ops. This structure now puts the generated function field at the end, where it can be as large as necessary. - On the PPU side, we now combine the generated front-facing and back-facing code into a single variant-length buffer (and only use one if the two sets of code are identical) for transmission to the SPU. - On the SPU side, we pull the correct sizes out of the buffer, allocate a new code buffer if the one we have isn't large enough, and save the code to that buffer. The buffer is deallocated when the SPU exits. - Commented out the emit_fetch() static function, which was not being used. | |||
2008-11-19 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
2008-11-17 | gallium: Use costum log2 for all windows builds. | José Fonseca | |
2008-11-17 | gallium: State when there are no memory leaks detected. | José Fonseca | |
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-17 | gallium: State when there are no memory leaks detected. | José Fonseca | |
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-15 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/drivers/dri/common/dri_util.c | |||
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-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-10 | gallium: fix comment again. A half-closed interval was intended. | Brian | |
Never saw the [a,b[ notation before. | |||
2008-11-10 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
Conflicts: src/gallium/auxiliary/util/u_math.c | |||
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-06 | gallium: actually flip the coordinates | Zack Rusin | |
2008-11-05 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c | |||
2008-11-03 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-11-03 | gallium: Read from PIPE_FORMAT_Z32_FLOAT. | José Fonseca | |
Mainly for debugging purposes for now. | |||
2008-11-03 | gallium: WinCE portability fixes. | José Fonseca | |
2008-11-03 | gallium: Fix typo. | José Fonseca | |
2008-11-03 | gallium: Fix msvc warning. | José Fonseca | |
2008-10-29 | gallium: new sanity assertions in mmAllocMem() | Brian Paul | |
2008-10-29 | gallium: prefix memory manager functions with u_ to differentiate from ↵ | Brian Paul | |
functions in mesa/main/mm.c | |||
2008-10-07 | gallium: added general-purpose key->data map/lookup container | Brian Paul | |
2008-10-07 | gallium: Introduce PIPE_ARCH_SSE define for SSE support. | José Fonseca | |
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build. | |||
2008-10-01 | util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64. | José Fonseca | |
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-30 | util: Header for SSE2 intrinsics portability. | José Fonseca | |
2008-09-26 | util: Update fast_log2 article url. | José Fonseca | |
2008-09-23 | CELL: improve legibility of CELL_DEBUG environment variable output | Robert Ellison | |
2008-09-19 | util: Use OpenGL rasterization rules in blits and mipmap generation. | José Fonseca | |
2008-09-18 | util: A few more memory debugging checks. | José Fonseca | |
2008-09-18 | util: Add missing p_debug.h include. | José Fonseca | |
2008-09-13 | gallium: add another value check to util_fast_pow() | Brian Paul | |
Fixes glitches seen in morph3d demo. | |||
2008-09-09 | util: Ensure we always have a full qualified file name on windows display. | José Fonseca | |
2008-09-09 | util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER. | Michal Krol | |
2008-09-08 | util: Allow to define the maximum file size. | José Fonseca | |
This avoids splitting the bitmaps in many files. | |||
2008-09-08 | util: Dump surfaces to BMP. | José Fonseca | |
This allows quick inspection of surfaces in mass scale. | |||
2008-09-08 | util: Rip-off trace's os-independent stream code. | José Fonseca | |
2008-09-05 | gallium: remove debug code from prev commit | Brian Paul | |
2008-09-05 | gallium: new util_unpack_color_ub() function | Brian Paul | |
2008-09-05 | gallium: Pass 512 bytes max to EngDebugPrint. | José Fonseca | |
2008-09-04 | gallium: new util_surface_copy() and util_surface_fill() helpers | Brian Paul | |
These are plug-in fallbacks for the pipe->surface_copy() and pipe->surface_fill() functions. | |||
2008-09-04 | gallium: Fix typo. | José Fonseca | |