summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-11-02Cleanups.Zack Rusin
Remove some debugging output and try to make sure that Mesa compiles when configured without LLVM
2007-11-02Implement COS and CMP opcode.Zack Rusin
There's some weird rounding issue with COS that I can't figure out.
2007-11-02Add debugging ifdefs to make it less verboseZack Rusin
2007-11-02Get fragment shaders working on top of LLVM.Zack Rusin
Redo the entry points, get the output propagation correctly, interpolate the inputs before feeding into llvm for now.
2007-11-02Change the fragment shader signature to better match actualZack Rusin
arguments that we need there.
2007-11-02Add basic entry points for fragment shaders.Zack Rusin
2007-11-02Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin
fragment shaders through llvm.
2007-11-01implement get/put_tile() for xlib driverBrian
2007-10-29minor code simplificationBrian
2007-10-29fix memcpy bugsBrian
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-29fix bad fragment shader pointer assignmentBrian
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Fix i915simple build.José Fonseca
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-28Use FREE and MALLOC instead of free and malloc.Michal Krol
2007-10-28Control FS TGSI dumping with GALLIUM_DUMP_FS env variable.michal
2007-10-28Fix newlines.michal
2007-10-27Use FREE instead of free. Fix newlines.michal
2007-10-27Enable SSE path.michal
2007-10-27Respect use_sse flag.michal
2007-10-27Add #ifs.michal
2007-10-27Enable SSE2 for fragment shaders.michal
2007-10-27Define destroy method called by softpipe's destructor.michal
2007-10-27Silence compiler warnings.michal
2007-10-27Silence compiler warnings.michal
2007-10-27Call quad stage destructors.michal
2007-10-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25clean-up, simplify some tile code, more to comeBrian
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Implement the conversion and do the initial execution pass.Zack Rusin
2007-10-24Initial stab at LLVM integration.Zack Rusin
2007-10-22remove unused varBrian
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-21Start implementing cache routines for textures.Brian
First step to consolidating surface/texture caching...
2007-10-21rename some varsBrian
2007-10-21silence warningBrian
2007-10-20Remove obsolete read/write_quad() functionsBrian
2007-10-20init sp->sbuf_cache to avoid possible segfaultBrian
2007-10-20Call softpipe_unmap_surfaces() in softpipe_flush().Brian
This fixes a DRM BO failure upon swapbuffers caused by the color buffer still being mapped. This is a bit heavy handed since we don't always need to unmap buffers when flushing. Need to pass a flag to flush() or design a new function.
2007-10-20In region_unmap(), check if region is mapped before decrementing refcount.Brian