summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2008-03-01refactor code calling builtins and implement dp4Zack Rusin
2008-03-01make the first builtin work (dp3)Zack Rusin
2008-03-01start implementing start of bultinsZack Rusin
2008-02-29gallium: fix line emit order for unfilled trisBrian Paul
A tri drawn with GL_LINE_LOOP and GL_POLYGON w/ fillmode=GL_LINE should produce the same results when line stipple is enabled. Results are correct now.
2008-02-29gallium: point rast coord tweakBrian Paul
2008-02-29gallium: need precalc_flat=1 for wide linesBrian Paul
2008-02-29gallium: tweak coords for wide linesBrian Paul
2008-02-29gallium: added pipe_get/put_tile_z() functionsBrian Paul
2008-02-29gallium: remove the ugly pipe->draw stage lookup code in ↵Brian
aaline/point/pstipple stages Added a void *draw ptr to pipe_context. Probably look for a better solution someday.
2008-02-28gallium: new wide point/line stages (missed in prev commit)Brian Paul
2008-02-28gallium: split draw_wide_prim stage into separate point/line stages.Brian Paul
This fixes a validation/code-path problem. Enabling the stage for the sake of wide points also inadvertantly caused wide lines to be converted to tris when we actually want them passed through, such as for the AA line stage. This is just cleaner now. Also, replace draw_convert_wide_lines() with draw_wide_line_threshold() as was done for points. Allows for 1-pixel lines to be converted too if needed.
2008-02-28gallium: Fix MSVC warnings.José Fonseca
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