summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* win32: don't prepend all debug with gallium3dKeith Whitwell2008-03-031-1/+1
|
* draw: add fetch for bgra ubyte surfacesKeith Whitwell2008-03-031-15/+29
|
* refactor code calling builtins and implement dp4Zack Rusin2008-03-014-27/+116
|
* make the first builtin work (dp3)Zack Rusin2008-03-012-18/+33
|
* start implementing start of bultinsZack Rusin2008-03-018-58/+228
|
* gallium: fix line emit order for unfilled trisBrian Paul2008-02-291-1/+1
| | | | | 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.
* gallium: point rast coord tweakBrian Paul2008-02-291-7/+11
|
* gallium: need precalc_flat=1 for wide linesBrian Paul2008-02-291-0/+1
|
* gallium: tweak coords for wide linesBrian Paul2008-02-291-9/+12
|
* gallium: added pipe_get/put_tile_z() functionsBrian Paul2008-02-292-0/+138
|
* gallium: remove the ugly pipe->draw stage lookup code in ↵Brian2008-02-293-84/+12
| | | | | | aaline/point/pstipple stages Added a void *draw ptr to pipe_context. Probably look for a better solution someday.
* gallium: new wide point/line stages (missed in prev commit)Brian Paul2008-02-282-0/+444
|
* gallium: split draw_wide_prim stage into separate point/line stages.Brian Paul2008-02-286-22/+30
| | | | | | | | | 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.
* gallium: Fix MSVC warnings.José Fonseca2008-02-281-4/+4
|
* gallium: Fix sign/unsign comparison.José Fonseca2008-02-281-1/+1
|
* gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian2008-02-272-0/+17
| | | | vertex attribs
* gallium: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-2713-35/+45
| | | | Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
* gallium: include p_util.hBrian2008-02-271-0/+1
|
* gallium: include p_compiler.h instead of p_util.hBrian2008-02-271-1/+1
|
* gallium: added file_max[] array to tgsi_shader_infoBrian2008-02-272-1/+5
| | | | Records the highest index of a declared register.
* gallium: added uses_kill field to tgsi_shader_infoBrian2008-02-272-0/+4
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-272-4/+7
| | | | These functions are now per-screen, not per-context.
* gallium: better debug messagesBrian2008-02-271-4/+4
|
* gallium: Make headers C++ friendly.José Fonseca2008-02-273-3/+30
|
* gallium: Replace // comments.José Fonseca2008-02-278-25/+25
|
* gallium: Use stricter types.José Fonseca2008-02-271-13/+13
| | | | | VC++ won't silently convert a pointer to a function with typed pointer arguments to one with void pointer arguments.
* gallium: updated prototype (missed in prev commit)Brian2008-02-261-0/+2
|
* gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()Brian2008-02-264-19/+23
| | | | | | | 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().
* gallium: Print texture target for short dumps.Michal Krol2008-02-261-0/+18
|
* gallium: collect more shader info in tgsi_scan_shader()Brian2008-02-262-0/+31
| | | | | Now getting input/output semantic info so we can eventually remove those fields from pipe_shader_state.
* gallium: disable debug codeBrian2008-02-261-1/+1
|
* gallium: Fix build on Windows.Michal Krol2008-02-261-1/+1
|
* implement cache limits for csoZack Rusin2008-02-263-43/+110
| | | | by default set to 4096, which might be on the large side
* add an explicit callback decleration and use it to silence warningsZack Rusin2008-02-262-2/+4
|
* hide cso cache definition and add some initial code for size limitingZack Rusin2008-02-262-17/+33
| | | | the caches
* implement deleting of driver side cached state in cso'sZack Rusin2008-02-263-1/+102
|
* gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵Brian2008-02-251-100/+96
| | | | | | of IF/ELSE/ENDIF Allows the shader to work on i915 hardware.
* gallium: fix bad ptr assignmentBrian2008-02-251-1/+1
|
* gallium: modify draw_find_vs_output() to search vertex shader outputsBrian2008-02-251-3/+21
| | | | | | | | | | 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...
* Replace standand library functions by portable ones.José Fonseca2008-02-252-20/+20
|
* Add Zack's comments about CSOs.José Fonseca2008-02-251-5/+46
|
* Add new files.José Fonseca2008-02-242-0/+5
|
* gallium: Fix MSVC warnings.José Fonseca2008-02-241-2/+2
|
* gallium: added new tgsi_scan.c / tgsi_scan_shader() functionBrian2008-02-233-0/+175
| | | | Used to get information about registers, instructions used in a shader.
* gallium: MSVC fixes.José Fonseca2008-02-242-3/+5
|
* Bring in several forgotten MSVC fixes.José Fonseca2008-02-234-4/+7
|
* gallium: fix bug in which wide point stage overrode the aapoint stageBrian2008-02-221-3/+13
| | | | Also, simplify the logic a bit.
* gallium: Countour MSVC's pickyness for structures returned by value.José Fonseca2008-02-231-4/+2
|
* gallium: Wrap decls in extern "C".José Fonseca2008-02-232-0/+22
|
* gallium: Add cso convenience routine (from Keith's patch).José Fonseca2008-02-232-0/+29
|