aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad_fs.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: implement bounds checking for constant buffersBrian Paul2010-07-291-3/+4
| | | | | | Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter.
* softpipe: rename a varBrian Paul2010-06-251-4/+4
|
* softpipe: fix dangling references to shaders in the TGSI executorBrian Paul2010-05-061-19/+5
| | | | | | | | | | | | | | | If a shader was bound to the fragment shader TGSI executor and it was then deleted and a new shader was allocated at the same address as the old shader, the new fragment shader would not get properly bound to the TGSI machine and we'd wind up using the old one. This would not have been a problem if shaders were refcounted. Now the TGSI machine is owned by the context rather than the quad pipeline's shader stage so that the softpipe_delete_fs_state() function can access it. Fixes sporadic failures of the piglit fp-long-alu test (fd.o bug 27989).
* softpipe: comments and whitespace fixesBrian Paul2010-02-181-7/+8
|
* gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-281-1/+1
|
* gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-281-3/+4
|
* softpipe: Remove unnecessary headers.Vinson Lee2010-01-201-2/+0
|
* softpipe: setup quad outputs from with fs->runKeith Whitwell2009-07-301-34/+2
|
* softpipe: remove unused variable in shade_quadKeith Whitwell2009-07-301-3/+0
|
* softpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell2009-07-271-17/+29
|
* softpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell2009-07-241-10/+30
| | | | | | This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile.
* gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell2009-07-161-13/+17
| | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
* softpipe: reformatting, comments, minor clean-upsBrian Paul2009-03-221-11/+10
|
* softpipe: rename sp_headers.h to sp_quad.hBrian2009-02-111-1/+1
| | | | This header describes the quad-related datatypes afterall.
* softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]Brian2009-02-111-1/+1
| | | | Be more consistant with 'draw' module.
* gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
|
* softpipe: fix vertex shader texture samplingBrian Paul2008-12-171-13/+3
| | | | | Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices.
* softpipe: Fix function prototype.Michal Krol2008-11-251-1/+1
|
* softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-231-14/+9
| | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
* softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol2008-09-081-11/+11
| | | | parts.
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-241-1/+2
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: remove unused codeBrian2008-05-101-15/+0
|
* gallium: Remove middle of scope declarations.José Fonseca2008-04-151-2/+3
|
* gallium: enable new quad output code, remove old codeBrian2008-04-141-36/+0
|
* gallium: begin reworking quad stages for multiple color outputsBrian2008-04-071-9/+51
|
* gallium: Fix computation of Z values when not using early Z.Brian2008-03-281-9/+12
| | | | This fixes the missing bitmaps in the engine and fogcoord demos.
* gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian2008-03-271-2/+2
| | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
* gallium: remove DOS carriage returnsBrian2008-03-141-209/+209
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-051-208/+209
| | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
* gallium: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-271-1/+1
|
* gallium: added tgsi_shader_field to sp_fragment_shaderBrian2008-02-261-2/+2
| | | | | Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-201-1/+1
| | | | This fixes at least one instance of dereferencing an invalid texture pointer.
* Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell2008-02-151-191/+9
| | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
* Code reorganization: update build.José Fonseca2008-02-151-1/+1
| | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
* Code reorganization: move files into their places.José Fonseca2008-02-151-0/+390
This is in a separate commit to ensure renames are properly preserved.