summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-10-17don't crash if texture border is used (unsupported for now)Brian
2007-10-17fix square point rasterizationBrian
2007-10-16lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1Brian
2007-10-16Update mask calculations for point drawing.Brian
2007-10-16Fix broken polygon stippling (see comments for details).Brian
2007-10-16Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout.Brian
2007-10-16fix perspective-interpolated attribs for points, liensBrian
2007-10-15finish remaining blend modesBrian
2007-10-15implement logicopBrian
2007-10-15add 'normalized_coords' field to pipe_sampler_stateBrian
This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit.
2007-10-1416-bit RGBA surface format for accum buffersBrian
2007-10-13inequality tests were backwardBrian
2007-10-13Check texture format in get_texel() to handle depth textures.Brian
2007-10-13added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ↵Brian
ignore stencil
2007-10-10minor optimization for color/z resultsBrian
2007-10-10disable some assertions which pop up during window resize, but can be ↵Brian
ignored for now
2007-10-10fix softpipe_clear() to handle ps->offset!=0 (such as when rendering to ↵Brian
texture and level!=0)
2007-10-10free/unreference pipe_surface in get_texel()Brian
2007-10-10use pipe_region_reference() in softpipe_get_tex_surface() to fix refcount errorBrian
2007-10-09Pack fragment program outputs to be consistant with vertex programs.Brian
Previously, output[0] was always Z and output[1] was color. Now output[0] will be color if Z is not written. In shade_quad() use the semantic info to determine which quantity is in which output slot.
2007-10-03Add outputs_written bitfield to pipe_shader_state, use it to determine if ↵Brian
fragment shader writes Z.
2007-10-03Move XSTDCALL definition to p_compiler.hBrian
2007-10-03handle frag progs that write ZBrian
2007-10-03added s8z24_get_tile()Brian
2007-10-03Track fragment and vertex shader code generation via pipe shader state objects.Michel Dänzer
Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask.
2007-10-03In vertex shaders also expect the template to be stack allocatedZack Rusin
structure so allocate a private copy of it.
2007-10-03Make softpipe behave more like a real driver by always allocating somethingZack Rusin
in the state functions.
2007-10-02Implement/use fragment kill resultsBrian
2007-10-02Move tgsi machine state init/allocations so they're done less frequently.Brian
This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so.
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-28Use texture->first_level, not 0, when not mipmapping.Brian
Fixes crash when GL_BASE_LEVEL!=0. Also, remove old assertion.
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-27reduced debugkeithw
2007-09-27Enable codegen based whenever __i386__ is defined.Keith Whitwell
2007-09-27restore primitive trimming in sp_draw_arrays.ckeithw
2007-09-27Make flushing more lazy in the draw module.Keith Whitwell
2007-09-26added a8r8g8b8_put_tile()Brian
2007-09-26s/_mesa_copy_rect/copy_rect/Brian
2007-09-25First attempt at building vertex buffers post-clip.Keith Whitwell
Build a buffer of contigous vertices and indices at the backend of our software transformation/clipping path. This will become the mechanism for emitting buffers of vertices to rasterization hardware. This is similar to but not the same as the post-transform vertex cache. In particular, these vertices are subject to clipping, culling, poly offset, etc. The vertices emitted will all be used by hardware. TODOs include the actual transformation to hardware vertex formats, moving this out of softpipe to somewhere more useful and allowing >1 primitive to share the generated VB.
2007-09-24Enable SSE2 for FS.michal
2007-09-21fix some post-transform vertex layout issues (bcolors, psize emitted lastBrian
2007-09-21Fix up some point size breakage. Start on fogcoord too.Brian
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-21Make the alpha test state a cso.Zack Rusin
2007-09-21Silence a few warnings.Zack Rusin
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20remove #includes of tgsi_attribs.hBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian