summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2008-02-28gallium: Fix sign/unsign comparison.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
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
2008-02-27gallium: include p_util.hBrian
2008-02-27gallium: include p_compiler.h instead of p_util.hBrian
2008-02-27gallium: added file_max[] array to tgsi_shader_infoBrian
Records the highest index of a declared register.
2008-02-27gallium: added uses_kill field to tgsi_shader_infoBrian
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: better debug messagesBrian
2008-02-27gallium: Make headers C++ friendly.José Fonseca
2008-02-27gallium: Replace // comments.José Fonseca
2008-02-27gallium: Use stricter types.José Fonseca
VC++ won't silently convert a pointer to a function with typed pointer arguments to one with void pointer arguments.
2008-02-26gallium: updated prototype (missed in prev commit)Brian
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: Print texture target for short dumps.Michal Krol
2008-02-26gallium: collect more shader info in tgsi_scan_shader()Brian
Now getting input/output semantic info so we can eventually remove those fields from pipe_shader_state.
2008-02-26gallium: disable debug codeBrian
2008-02-26gallium: Fix build on Windows.Michal Krol
2008-02-26implement cache limits for csoZack Rusin
by default set to 4096, which might be on the large side
2008-02-26add an explicit callback decleration and use it to silence warningsZack Rusin
2008-02-26hide cso cache definition and add some initial code for size limitingZack Rusin
the caches
2008-02-26implement deleting of driver side cached state in cso'sZack Rusin
2008-02-25gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵Brian
of IF/ELSE/ENDIF Allows the shader to work on i915 hardware.
2008-02-25gallium: fix bad ptr assignmentBrian
2008-02-25gallium: modify draw_find_vs_output() to search vertex shader outputsBrian
This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos...
2008-02-25Replace standand library functions by portable ones.José Fonseca
2008-02-25Add Zack's comments about CSOs.José Fonseca
2008-02-24Add new files.José Fonseca
2008-02-24gallium: Fix MSVC warnings.José Fonseca
2008-02-23gallium: added new tgsi_scan.c / tgsi_scan_shader() functionBrian
Used to get information about registers, instructions used in a shader.
2008-02-24gallium: MSVC fixes.José Fonseca
2008-02-23Bring in several forgotten MSVC fixes.José Fonseca
2008-02-22gallium: fix bug in which wide point stage overrode the aapoint stageBrian
Also, simplify the logic a bit.
2008-02-23gallium: Countour MSVC's pickyness for structures returned by value.José Fonseca
2008-02-23gallium: Wrap decls in extern "C".José Fonseca
2008-02-23gallium: Add cso convenience routine (from Keith's patch).José Fonseca
2008-02-23gallium: MSVC fixes.José Fonseca
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-21draw: vertex cache reworkKeith Whitwell
Take a baby step to straightening out vertex paths.
2008-02-21tgsi: print debug messages on failure to codegenerateKeith Whitwell
2008-02-20gallium: re-fix some msvc warningsBrian
2008-02-19Fix windows build.José Fonseca
2008-02-19Portability fixes.José Fonseca
Eliminate C99/C++ constructs. (We should actually disable gcc C99 syntax options if we are serious about portability.)
2008-02-19Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca
2008-02-19Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca
Moving files since these are not being used outside gallium.
2008-02-19Add run-time cpu capabilities detection stubs.José Fonseca
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