summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
2008-04-11gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions.Brian Paul
The two functions were mostly the same. We can look at the shader header info to determine if it's a vertex or fragment shader.
2008-04-11gallium: implement immediates (aka literals) for SSE fragment shadersBrian Paul
2008-04-10remove usage of vertex_headerKeith Whitwell
2008-04-09gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA caseBrian Paul
2008-04-08gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-04-07gallium: get rid of bufloop quad stageBrian
2008-04-07gallium: begin reworking quad stages for multiple color outputsBrian
2008-03-29gallium: Set vertex state/buffers en-mass.Brian Paul
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-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-25gallium: added fragment emit/write debug countersBrian
2008-03-23gallium: wrap decls in extern "C"José Fonseca
2008-03-22gallium: remove temporary _screen suffix from function namesBrian
2008-03-20gallium: use new framebuffer width, height fieldsBrian
2008-03-19gallium: added fb_width/height fields to softpipe contextBrian Paul
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-19gallium: set tc->surface_map = NULL after unmappingBrian
2008-03-17gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell
Passthrough is actually more tricky than you'd think...
2008-03-16gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian
Not totally tested, but easily fixed if glitches are found.
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14gallium: fix some compiler warningsKeith Whitwell
2008-03-13gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
2008-03-13gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian
attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
2008-03-13gallium: plug in new sp_vbuf_draw_arrays() functionBrian
Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage().
2008-03-13gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-03-11gallium: rework CSO-related code in state trackerBrian
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
2008-03-12gallium: Silence MSVC warnings.José Fonseca
2008-03-10gallium: WinCE portability fixes.José Fonseca
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-29scons: List sp_screen.c.Michal Krol
2008-02-28Make sure struct pipe_screen is declared.Michel Dänzer
2008-02-28gallium: Remove extra level of indirecttion.José Fonseca
2008-02-27gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian
vertex attribs
2008-02-27gallium: remove dependencies on pipe_shader_state's semantic infoBrian
2008-02-27gallium: remove unnecessary assignmentBrian
2008-02-27gallium: remove unnecessary tgsi_interp_coef declBrian
2008-02-27gallium: remove uses_kill field from softpipe_shaderBrian
2008-02-27gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian
These functions are now per-screen, not per-context.
2008-02-27gallium: move is_format_supported() to pipe_screen structBrian
2008-02-27gallium: start removing pipe_context->get_name/vendor/param/paramfBrian
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
2008-02-27gallium: implement pipe_screen for softpipe driverBrian
2008-02-27gallium: softpipe_init_texture_funcs(), make texture func staticBrian
2008-02-26gallium: remove pipe parameter from pipe_texture_reference()Brian
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
2008-02-26gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()Brian
Specifying a threshold size is a bit more flexible, and allows the option of converting even 1-pixel points to triangles (set threshold=0). Also, remove 0.25 pixel bias in wide_point().
2008-02-26gallium: remove unused varBrian
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-25softpipe: use draw_find_vs_output() directlyBrian