summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups.Zack Rusin2007-11-022-5/+8
| | | | | Remove some debugging output and try to make sure that Mesa compiles when configured without LLVM
* Implement COS and CMP opcode.Zack Rusin2007-11-021-1/+1
| | | | | There's some weird rounding issue with COS that I can't figure out.
* Add debugging ifdefs to make it less verboseZack Rusin2007-11-021-1/+11
|
* Get fragment shaders working on top of LLVM.Zack Rusin2007-11-021-16/+49
| | | | | Redo the entry points, get the output propagation correctly, interpolate the inputs before feeding into llvm for now.
* Change the fragment shader signature to better match actualZack Rusin2007-11-021-6/+13
| | | | arguments that we need there.
* Add basic entry points for fragment shaders.Zack Rusin2007-11-022-26/+11
|
* Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin2007-11-023-0/+89
| | | | fragment shaders through llvm.
* implement get/put_tile() for xlib driverBrian2007-11-012-6/+13
|
* minor code simplificationBrian2007-10-291-8/+6
|
* fix memcpy bugsBrian2007-10-291-2/+2
|
* Make it compile under linux.Michal Krol2007-10-297-2/+9
| | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
* Make gallium compile in win32.Michal Krol2007-10-2917-99/+111
| | | | | | Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
* fix bad fragment shader pointer assignmentBrian2007-10-291-1/+1
|
* Remove typedefs from enums.Zack Rusin2007-10-292-4/+4
| | | | | typedefs are rather evil, remove them and use the enum keyword explicitely.
* Fix i915simple build.José Fonseca2007-10-291-0/+3
|
* Replace supported_formats with is_format_supported interface.Michal Krol2007-10-282-7/+9
| | | | | | | | | | | 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.
* Use FREE and MALLOC instead of free and malloc.Michal Krol2007-10-282-3/+3
|
* Control FS TGSI dumping with GALLIUM_DUMP_FS env variable.michal2007-10-283-0/+9
|
* Fix newlines.michal2007-10-281-10/+10
|
* Use FREE instead of free. Fix newlines.michal2007-10-2711-31/+35
|
* Enable SSE path.michal2007-10-271-2/+2
|
* Respect use_sse flag.michal2007-10-272-4/+3
|
* Add #ifs.michal2007-10-271-1/+4
|
* Enable SSE2 for fragment shaders.michal2007-10-274-17/+29
|
* Define destroy method called by softpipe's destructor.michal2007-10-2712-0/+78
|
* Silence compiler warnings.michal2007-10-271-5/+5
|
* Silence compiler warnings.michal2007-10-271-3/+3
|
* Call quad stage destructors.michal2007-10-271-0/+12
|
* Remove remnants of softpipe_surface.Brian2007-10-279-145/+41
| | | | | This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
* Re-implement GLSL texture sampler variables.Brian2007-10-265-0/+20
| | | | | | | | | | 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.
* surface_alloc() is now a winsys function.Brian2007-10-262-21/+101
| | | | | This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
* clean-up, simplify some tile code, more to comeBrian2007-10-252-189/+63
|
* Move region_alloc() and region_release() to pipe_winsys.Brian2007-10-251-57/+0
| | | | This allows regions to be allocated w/out a rendering context.
* Move the get/put_tile() functions to pipe_context.Brian2007-10-2512-63/+131
| | | | The _rgba versions are temporary until the state tracker is updated.
* Revert "Undo indexOffset change (I think, git???)"Brian2007-10-242-5/+4
| | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
* Undo indexOffset change (I think, git???)Brian2007-10-242-4/+5
|
* a bit more work for optimizing clears in tile cache (not enabled yet)Brian2007-10-243-28/+101
|
* get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian2007-10-241-9/+18
| | | | (for depth texture sampling)
* Cleanup some code.Zack Rusin2007-10-241-1/+3
|
* Implement the conversion and do the initial execution pass.Zack Rusin2007-10-241-1/+1
|
* Initial stab at LLVM integration.Zack Rusin2007-10-241-0/+3
|
* remove unused varBrian2007-10-221-1/+1
|
* Finish unifying the surface and texture tile caches.Brian2007-10-227-110/+70
|
* Start implementing cache routines for textures.Brian2007-10-212-1/+71
| | | | First step to consolidating surface/texture caching...
* rename some varsBrian2007-10-211-25/+25
|
* silence warningBrian2007-10-212-1/+2
|
* Remove obsolete read/write_quad() functionsBrian2007-10-202-478/+54
|
* init sp->sbuf_cache to avoid possible segfaultBrian2007-10-201-0/+1
|
* Call softpipe_unmap_surfaces() in softpipe_flush().Brian2007-10-201-0/+8
| | | | | | | 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.
* In region_unmap(), check if region is mapped before decrementing refcount.Brian2007-10-201-4/+7
|