summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-11-20add PIPE_FORMAT_Z24_S8 support to softpipe patshBrian
2007-11-19optimize earlyz_quad(), add comments, remove unneeded #includesBrian
2007-11-18Implement early depth test.Michal Krol
Early depth test is enabled when depth test is enabled and alpha test is disabled and fragment shader does not write depth. The early-z is implemented by moving the depth test stage just before the fragment shader stage and prepending it with an earlyz stage, introduced with this commit. The earlyz stage prepares the quad->outputs.depth for the following depth test stage by interpolating Z position, just as the fragment shader would do.
2007-11-16note problem with fragment coord Y orientationBrian
2007-11-08Implement shadow comparisons.Brian
2007-11-08use pipe_surface_reference() in sp_tile_cache_set_surface()Brian
2007-11-08fix bad width/height code in softpipe_clear()Brian
2007-11-08Added pipe->get_paramf() to query float limits.Brian
So far max point size, line width, texture anistopy and lod bias.
2007-11-07Reset temporary vertices ids.José Fonseca
2007-11-07Use a consistent number to identify undefined vertices.José Fonseca
2007-11-06remove dead code in softpipe_is_format_supported()Brian
2007-11-06Remove pipe->max_texture_size(), use get_param() instead.Brian
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
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