summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_quad_depth_test.c
AgeCommit message (Collapse)Author
2010-11-09softpipe: can't no-op depth test stage when occlusion query is enabledBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
2010-10-13softpipe: add support for shader stencil export capabilityDave Airlie
this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-20softpipe: fix whitespaceLuca Barbieri
2010-09-20softpipe: make z/s test always pass if no zsbuf, instead of crashingLuca Barbieri
D3D10 specifies this.
2010-07-21softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfacesBrian Paul
And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil.
2010-04-18softpipe: new comment and assertion for face valueBrian Paul
2010-03-30gallium: adapt all code to the renamed depth/stencil formatsRoland Scheidegger
2010-03-23softpipe: comments, re-formatting, etcBrian Paul
2010-03-23softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul
We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
2010-03-02softpipe: Rename pipe formats.José Fonseca
2010-02-18softpipe: fix depth testing problemsBrian Paul
The optimized Z-test functions assumed that the array of incoming quads are adjacent, but that's not always true. The fragment shader can cull intermediate quads, for example. Now these Z-test functions can cope with non-adjacent quads. A little bit of performance is probably lost, but it's probably not worth worring about. This fixes broken glBitmap() Z testing, among other things. (cherry picked from commit d437d905e6924ebc05ec9efe87e1e2c48d75bc13)
2010-02-10softpipe: adapt to stencil ref changesRoland Scheidegger
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-20softpipe: Remove unnecessary headers.Vinson Lee
2010-01-18softpipe: Skip depth testing for PIPE_S8_UNORM.José Fonseca
2009-09-22softpipe: need to write depth/stencil values even when stencil failsKeith Whitwell
2009-09-22softpipe: fix occlusion countingKeith Whitwell
2009-07-30softpipe: add depth-lequal z16 pathKeith Whitwell
2009-07-27softpipe: fastpath for interpolated z16 less depthtestingKeith Whitwell
Because this is interpolated (ie. early) depth, we can build in an assumption about the quads emitted by triangle setup, ie that they are actually linear spans. Interpolate z over those spans in z16 format to save on math & conversion.
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-22softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie softpipe). Remove softpipe parameter to all the tilecache function calls, and also remove the need to keep a softpipe pointer in the sampler structs.
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-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-08-07softpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORMBrian Paul
2008-05-30gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driverBrian Paul
2008-03-10gallium: WinCE portability fixes.José Fonseca
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.