summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2008-01-24disable usage of llvm in fragment shadersZack Rusin
it produces wrong results because it hasn't been adjusted to some new changes and it will just be in the way while changing llvm code to a different vector layout
2008-01-23gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian
as-is in vbuf code
2008-01-23gallium: improved vertex layout and interpolant setup in softpipeBrian
2008-01-23gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian
now.
2008-01-23gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵Brian
progs/redbook/stencil.c
2008-01-23gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵Brian
fs inputs Some follow-on simplification in prim setup is possible...
2008-01-23gallium: restore/rewrite vbuf code for softpipeBrian
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
2008-01-23gallium: overhaul usage of vertex_info in draw module.Brian
Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
2008-01-21gallium: remove unneeded protos, #includes, etcBrian
2008-01-21gallium: include sp_headers.hBrian
2008-01-21gallium: move softpipe_get_tex_surface() prototypeBrian
2008-01-21gallium: add license commentBrian
2008-01-21gallium: move softpipe_get_tex_surface() into sp_texture.cBrian
2008-01-21gallium: remove per-fragment line stipple codeBrian
2008-01-21fix broken point rendering in sp_vbuf_render()Brian
2008-01-21gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian
post-xform vertex attribs to hw vertex attribs
2008-01-18Unify copy_rect helpers.Michel Dänzer
Some of the copies were buggy.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2008-01-17gallium: fix warningKeith Whitwell
2008-01-16Fix broken fog.Brian
Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
2008-01-15Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.Brian
2008-01-14disable debug printfBrian
2008-01-14Remove pipe->get/put_tile_rgba.Michel Dänzer
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
2008-01-14Remove mapping fields from struct pipe_surface.Michel Dänzer
It's now the responsibility of surface users to keep track of their mappings.
2008-01-10comment about vertex data in emit_vertex()Brian
2008-01-10clean-up comments, codeBrian
2008-01-10softpipe: Simplify texture memory layout.Michel Dänzer
2008-01-10softpipe: map only once in softpipe_map_surfacesJerome Glisse
softpipe_map_surfaces get call several time but softpipe_unmap_surfaces get call only once. So to make sure stuff are properly unmap when softpipe_unmap_surfaces get call we map surfaces only one time in softpipe_map_surfaces.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-03rename vars, clean-up formattingBrian
2008-01-03replace void * with struct draw_vertex_shader opaque typeBrian
2008-01-01Clean-up, re-org some vertex/fragment shader state code.Brian
2008-01-01move SP_NEW_ #defines into sp_state.hBrian
2008-01-01fix single-sided stencil test bugBrian
2008-01-01fix leak, fix refcount errorBrian
2008-01-01unref const buffers during context destroyBrian
2008-01-01free surface caches in softpipe_destroy()Brian
2008-01-01free tgsi machine stateBrian
2007-12-18setup the frontface register (fog.y, ATM)Brian
2007-12-18fix some semantic info mix-ups in calculate_vertex_layout()Brian
2007-12-17obsoleteBrian
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
2007-12-16switch on cpp instead of formatBrian
2007-12-15Use tile functions in new p_tile.[ch]Brian
This removes quite a bit of code duplicated in the drivers.
2007-12-15don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵Brian
overflow
2007-12-14Added origin_lower_left field to pipe_rasterizer_stateBrian
This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple.
2007-12-14Don't always declare frag shader INPUT[0] as fragment position.Brian
We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out.
2007-12-13remove unused varBrian
2007-12-13965: get fragment shader compiler compilingKeith Whitwell
Don't think that it will run though.
2007-12-13Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵Brian
interpreter. The tgsi linear/perspective attribute code now uses these values rather than input[0]. Need to update SSE path to take quad x,y as function params. Then, we can remove additional code.