Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-30 | gallivm: replace the temp parameters of the JIT function with alloca'ed ↵ | Stephane Marchesin | |
temps. This avoids useless writes of temporary results. | |||
2008-10-30 | cell: Protected use of non-initialized untile buffers | Jonathan White | |
2008-10-30 | CELL: stencil bug fixes | Robert Ellison | |
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. | |||
2008-10-30 | cell: Added check for PIPE_FLUSH_RENDER_CACHE to cell_flush to fix black ↵ | Jonathan White | |
blocks during st_readpixels due to a flush wait not happening in order to allow any previous rendering to complete. | |||
2008-10-30 | mesa: fix an issue in _mesa_PointParameterfv(). | Xiang, Haihao | |
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: grow SPE instruction buffer as needed | Brian Paul | |
2008-10-29 | gallium: no longer pass max_inst to ppc_init_func() | Brian Paul | |
2008-10-29 | gallium: use execmem for PPC code, grow instruction buffer as needed | Brian Paul | |
2008-10-29 | glx: added PFNGL*PROC typedefs for GLX 1.3 functions | Brian Paul | |
Since we define GLX_VERSION_1_3 in glx.h, the typedefs in the glxext.h header were getting skipped. | |||
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-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-29 | gallium: prefix memory manager functions with u_ to differentiate from ↵ | Brian Paul | |
functions in mesa/main/mm.c | |||
2008-10-29 | gallium: test for PIPE_OS_LINUX instead of __linux__ | Brian Paul | |
2008-10-29 | cell: add scalar param to emit_function_call() to indicate scalar function calls | Brian Paul | |
Scalar calls only use the X component of the src regs and smear the result across the dest register's X/Y/Z/W. | |||
2008-10-29 | cell: use simd utilities for pow, exp2, log2 | Brian Paul | |
2008-10-29 | gallium: added PPC support for SWZ, XPD, POW | Brian Paul | |
That's the last of the ARB_v_p opcodes, except for ARL. | |||
2008-10-29 | gallium: clean-ups | Brian Paul | |
2008-10-29 | gallium: added ppc_vnmsubfp() | Brian Paul | |
2008-10-29 | glu: fix compilation problem when using Windows gl.h (sf bug 2204589) | Nigel Stewart | |
2008-10-28 | intel: Fix glDrawPixels with 4d RasterPos. | Eric Anholt | |
2008-10-28 | i965: Fix check_aperture calls to cover everything needed for the prim at once. | Eric Anholt | |
Previously, since my check_aperture API change, we would check each piece of state against the batchbuffer individually, but not all the state against the batchbuffer at once. In addition to not being terribly useful in assuring success, it probably also increased CPU load by calling check_aperture many times per primitive. | |||
2008-10-28 | move glut.h include | Brian Paul | |
2008-10-28 | mesa: use APP_CC compiler in progs/vp/ | Brian Paul | |
2008-10-28 | mesa: convert log/exp tests to ARB_v_p | Brian Paul | |
2008-10-28 | gallium: ppc: implement TGSI_OPCODE_LOG/EXP | Brian Paul | |
2008-10-28 | mesa: include glslcompiler driver in tarball | Brian Paul | |
2008-10-28 | gallium: remove old code | Brian Paul | |
2008-10-28 | gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵ | Brian Paul | |
as with constants | |||
2008-10-28 | mesa: don't continually redraw | Brian Paul | |
2008-10-28 | mesa: fix stand-alone glslcompiler build | Brian Paul | |
2008-10-28 | intel: Don't keep intel->pClipRects, and instead just calculate it when needed. | Eric Anholt | |
This avoids issues with dereferencing stale cliprects around intel_draw_buffer time. Additionally, take advantage of cliprects staying constant for FBOs and DRI2, and emit cliprects in the batchbuffer instead of having to flush batch each time they change. | |||
2008-10-28 | cell: fix a number of fence issues | Brian Paul | |
Plus add assertions to check status, alignment, etc. | |||
2008-10-28 | gallium: use some PPC vec registers to store TGSI temps | Brian Paul | |
This could be a lot better, but already makes for better code. | |||
2008-10-28 | i965: Allocate temporaries contiguously with other regs in fragment shaders. | Gary Wong | |
This is required for threads to be spawned with correctly sized GRF register blocks. | |||
2008-10-28 | configure.ac: Add support for gnu/kfreebsd | Julien Cristau | |
Check for *-gnu instead of linux* to set DEFINES. Change some freebsd* checks to *freebsd*. | |||
2008-10-28 | cell: don't include libmisc.h | Brian Paul | |
Doesn't seem to be needed and fixes compilation with SDK 3.1 beta. | |||
2008-10-28 | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | |
2008-10-27 | cell: fix some problems when displaying to a PIPE_FORMAT_B8G8R8A8_UNORM screen | Brian Paul | |
2008-10-27 | cell: added -D_BSD_SOURCE flag | Brian Paul | |
Needed to get MAP_ANONYMOUS in execmem.c and to define timezone type in glxgears.c Adding -std=c99 earlier caused this regression. | |||
2008-10-27 | gallium: ppc: emit fewer 'li' instructions prior to vector loads/stores | Brian Paul | |
2008-10-27 | gallium: ppc: use a src register cache to avoid redundant loads | Brian Paul | |
2008-10-27 | cell: Added support for untwiddling textures during glReadPixels. This ↵ | Jonathan White | |
allows glReadPixels to work correctly on cell now and makes conformance tests that use pixel compares useable. | |||
2008-10-27 | i965: Fix compiler warning from unused var. | Eric Anholt | |
2008-10-27 | i965: Remove dead brw->wrap flag. | Eric Anholt | |
2008-10-27 | intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names. | Eric Anholt | |
Previously, we were trying to pass a name to the GEM GET_TILING_IOCTL, which needs a handle, and failing. None of our buffers were tiled yet, but they will be at some point with DRI2 and UXA. | |||
2008-10-27 | disable OPENGL_BIT | Alan Hourihane | |
2008-10-27 | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | |
2008-10-26 | intel: GL_FALSE on a BO if it won't be modified when mapping this BO. ↵ | Xiang, Haihao | |
(thanks Eric). |