summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_quad_fs.c
AgeCommit message (Collapse)Author
2010-07-29gallium: implement bounds checking for constant buffersBrian Paul
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.
2010-06-25softpipe: rename a varBrian Paul
2010-05-06softpipe: fix dangling references to shaders in the TGSI executorBrian Paul
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).
2010-02-18softpipe: comments and whitespace fixesBrian Paul
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol
2010-01-20softpipe: Remove unnecessary headers.Vinson Lee
2009-07-30softpipe: setup quad outputs from with fs->runKeith Whitwell
2009-07-30softpipe: remove unused variable in shade_quadKeith Whitwell
2009-07-27softpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell
2009-07-24softpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell
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.
2009-07-16gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell
Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
2009-03-22softpipe: reformatting, comments, minor clean-upsBrian Paul
2009-02-11softpipe: rename sp_headers.h to sp_quad.hBrian
This header describes the quad-related datatypes afterall.
2009-02-11softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]Brian
Be more consistant with 'draw' module.
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-17softpipe: fix vertex shader texture samplingBrian Paul
Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices.
2008-11-25softpipe: Fix function prototype.Michal Krol
2008-11-23softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
2008-09-08softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol
parts.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-05-10gallium: remove unused codeBrian
2008-04-15gallium: Remove middle of scope declarations.José Fonseca
2008-04-14gallium: enable new quad output code, remove old codeBrian
2008-04-07gallium: begin reworking quad stages for multiple color outputsBrian
2008-03-28gallium: Fix computation of Z values when not using early Z.Brian
This fixes the missing bitmaps in the engine and fogcoord demos.
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-02-27gallium: remove dependencies on pipe_shader_state's semantic infoBrian
2008-02-26gallium: added tgsi_shader_field to sp_fragment_shaderBrian
Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
2008-02-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15Code reorganization: update build.José Fonseca
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.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.