summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
2009-06-29softpipe: pass sampler state to shadow_compare()Brian Paul
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-26softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul
2009-06-19softpipe: return alpha=1 in shadow_compare() functionBrian Paul
The alpha value wasn't set at all before so we got unpredictable results. Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state tracker. For now, we return the result in the default mode (r,r,r,1).
2009-06-16softpipe: fix out of bounds quad rasterization bugBrian Paul
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
2009-06-19softpipe: use u_reduced_prim()Brian Paul
2009-06-19softpipe: whitespace, reformattingBrian Paul
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-09softpipe: implement flatshade_first for trianglesBrian Paul
2009-06-09softpipe: implement flatshade_first for line setupBrian Paul
2009-06-08softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0Brian Paul
Note that this doesn't have any real significance since PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
2009-06-04softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. (cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
2009-06-04softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul
This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
2009-06-03Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
2009-06-03softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.
2009-06-03softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul
This fixes incorrect front/back-face orientation.
2009-05-30Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-30Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next...
2009-05-30softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul
This fixes the incorrect colors seen when rendering flat-shaded polygons. Note that clipped polygons were correct, but unclipped polygons were wrong. See the glean/clipFlat test for regression testing.
2009-05-29softpipe: update comments for max texture sizeBrian Paul
2009-05-29softpipe: increase max 2D/cube texture size to 4K x 4KBrian Paul
2009-05-27softpipe: commentsBrian Paul
2009-05-27softpipe: include sp_winsys.h to silence warning (unprototyped function)Brian Paul
2009-05-27softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGONBrian Paul
Use the first vertex, not the last.
2009-05-18Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/mesa/main/version.h
2009-05-18softpipe: add texture target sanity check assertionBrian Paul
2009-05-16gallium: remove occlusion_count flag from depth-stencil stateKeith Whitwell
Drivers can just keep track of whether they are within a query by monitoring the begin/end query callbacks. The flag adds no information beyond that. Only softpipe was examining this flag -- it has been fixed up and retested with demos/arbocclude.
2009-04-28softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()Brian Paul
This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though...
2009-04-23gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set.Michel Dänzer
2009-04-20softpipe: fix softpipe_is_buffer/texture_referenced() regressionBrian Paul
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean.
2009-04-18softpipe: Simplify softpipe_create's prototype.José Fonseca
2009-04-18softpipe: Fix softpipe_is_texture_referenced prototype.José Fonseca
2009-04-18softpipe: Remove softpipe_winsys.José Fonseca
Not used by softpipe anyway.
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-07softpipe: minor debug-help changes in softpipe_transfer_map()Brian Paul
2009-04-06softpipe: clean up the buffer clear and tile cache code a littleBrian Paul
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-04-03softpipe: add additional surface formats in tile cache codeBrian Paul
2009-03-31softpipe: use util_is_inf_or_nan()Brian Paul
And print/warn NaN/Inf in print_vertex().
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-25softpipe: Include declarations.José Fonseca
2009-03-23gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer
2009-03-22softpipe: reformatting, comments, minor clean-upsBrian Paul
2009-03-20gallium: remove use of origin_lower_leftBrian Paul
This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
2009-03-18softpipe: more texture transfer fixes.Brian Paul
Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields.
2009-03-18softpipe: need to set tc->transfer=NULL after destroying the transfer objectBrian Paul
This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
2009-03-16softpipe: Use p_atomic_read, not atomic_read.Michal Krol