summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
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
2008-02-24Add new files.José Fonseca
2008-02-23gallium: disable early Z test if fragment shader contains KIL instruction.Brian
Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z
2008-02-24gallium: MSVC fixes.José Fonseca
2008-02-23Bring in several forgotten MSVC fixes.José Fonseca
2008-02-22gallium: fix a state validation bug found w/ pointblast.cBrian
2008-02-22gallium: fix brokenb buildBrian
2008-02-23gallium: Fix build on Windows.Michal Krol
2008-02-23gallium: Silence compiler warnings on Windows.Michal Krol
2008-02-21gallium: new draw stage for polygon stipple.Brian
For hardware without native polygon stipple. Create a 32x32 alpha texture that encodes the stipple pattern. Modify the user's fragment program to sample the texture (with gl_FragCoord) and kill the fragment according to the texel value. Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
2008-02-21gallium: new AA point drawing stageBrian
AA points are drawn by converting the point to a quad, then modifying the user's fragment shader to compute a coverage value. The final fragment color's alpha is modulated by the coverage value. Fragments outside the point's radius are killed.
2008-02-21[PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systemsKeith Whitwell
2008-02-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-20gallium: fix bad ptr comparisonBrian
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-20gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()Brian
2008-02-19gallium: initialize the killmask register to zero before running shaderBrian
This fixes mysterious missing fragments when running with SSE.
2008-02-19gallium: add some casts to prevent likely msvc warningsBrian
2008-02-19gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff()Brian
2008-02-19gallium: implement correct sampling for RECT targets / unnormalized texcoordsBrian
2008-02-19Simplify makefile boilerplate code.José Fonseca
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19Use gallium's rtasm module.José Fonseca
2008-02-18gallium: move draw_set_viewport_state() call, plus code clean-up, remove ↵Brian
obsolete comments
2008-02-18gallium: call draw_flush() for scissor/stipple state changesBrian
2008-02-18gallium: antialiased line drawingBrian
New draw/prim stage: draw_aaline. When installed, lines are replaced by textured quads to do antialiasing. The current user-defined fragment shader is modified to do a texture fetch and modulate fragment alpha.
2008-02-18Standardize on using the pipe/ include prefix.José Fonseca
2008-02-16gallium: add missing mip level clampBrian
2008-02-16gallium: tweak texture filter min/mag thresholdsBrian
2008-02-16gallium: implement min vs. mag filter determination for non-mipmapped texturesBrian
Fixes tests/minmag.c