Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: fix line emit order for unfilled tris | Brian Paul | 2008-02-29 | 1 | -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 tweak | Brian Paul | 2008-02-29 | 1 | -7/+11 |
| | |||||
* | gallium: need precalc_flat=1 for wide lines | Brian Paul | 2008-02-29 | 1 | -0/+1 |
| | |||||
* | gallium: tweak coords for wide lines | Brian Paul | 2008-02-29 | 1 | -9/+12 |
| | |||||
* | gallium: added pipe_get/put_tile_z() functions | Brian Paul | 2008-02-29 | 2 | -0/+138 |
| | |||||
* | gallium: remove the ugly pipe->draw stage lookup code in ↵ | Brian | 2008-02-29 | 3 | -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 Paul | 2008-02-28 | 2 | -0/+444 |
| | |||||
* | gallium: split draw_wide_prim stage into separate point/line stages. | Brian Paul | 2008-02-28 | 6 | -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é Fonseca | 2008-02-28 | 1 | -4/+4 |
| | |||||
* | gallium: Fix sign/unsign comparison. | José Fonseca | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | gallium: added draw_num_vs_outputs() to query number of post-transform ↵ | Brian | 2008-02-27 | 2 | -0/+17 |
| | | | | vertex attribs | ||||
* | gallium: remove dependencies on pipe_shader_state's semantic info | Brian | 2008-02-27 | 13 | -35/+45 |
| | | | | Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead. | ||||
* | gallium: include p_util.h | Brian | 2008-02-27 | 1 | -0/+1 |
| | |||||
* | gallium: include p_compiler.h instead of p_util.h | Brian | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | gallium: added file_max[] array to tgsi_shader_info | Brian | 2008-02-27 | 2 | -1/+5 |
| | | | | Records the highest index of a declared register. | ||||
* | gallium: added uses_kill field to tgsi_shader_info | Brian | 2008-02-27 | 2 | -0/+4 |
| | |||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 2 | -4/+7 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: better debug messages | Brian | 2008-02-27 | 1 | -4/+4 |
| | |||||
* | gallium: Make headers C++ friendly. | José Fonseca | 2008-02-27 | 3 | -3/+30 |
| | |||||
* | gallium: Replace // comments. | José Fonseca | 2008-02-27 | 8 | -25/+25 |
| | |||||
* | gallium: Use stricter types. | José Fonseca | 2008-02-27 | 1 | -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) | Brian | 2008-02-26 | 1 | -0/+2 |
| | |||||
* | gallium: replace draw_convert_wide_points() with draw_wide_point_threshold() | Brian | 2008-02-26 | 4 | -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 Krol | 2008-02-26 | 1 | -0/+18 |
| | |||||
* | gallium: collect more shader info in tgsi_scan_shader() | Brian | 2008-02-26 | 2 | -0/+31 |
| | | | | | Now getting input/output semantic info so we can eventually remove those fields from pipe_shader_state. | ||||
* | gallium: disable debug code | Brian | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | implement cache limits for cso | Zack Rusin | 2008-02-26 | 3 | -43/+110 |
| | | | | by default set to 4096, which might be on the large side | ||||
* | add an explicit callback decleration and use it to silence warnings | Zack Rusin | 2008-02-26 | 2 | -2/+4 |
| | |||||
* | hide cso cache definition and add some initial code for size limiting | Zack Rusin | 2008-02-26 | 2 | -17/+33 |
| | | | | the caches | ||||
* | implement deleting of driver side cached state in cso's | Zack Rusin | 2008-02-26 | 3 | -1/+102 |
| | |||||
* | gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵ | Brian | 2008-02-25 | 1 | -100/+96 |
| | | | | | | of IF/ELSE/ENDIF Allows the shader to work on i915 hardware. | ||||
* | gallium: fix bad ptr assignment | Brian | 2008-02-25 | 1 | -1/+1 |
| | |||||
* | gallium: modify draw_find_vs_output() to search vertex shader outputs | Brian | 2008-02-25 | 1 | -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é Fonseca | 2008-02-25 | 2 | -20/+20 |
| | |||||
* | Add Zack's comments about CSOs. | José Fonseca | 2008-02-25 | 1 | -5/+46 |
| | |||||
* | Add new files. | José Fonseca | 2008-02-24 | 2 | -0/+5 |
| | |||||
* | gallium: Fix MSVC warnings. | José Fonseca | 2008-02-24 | 1 | -2/+2 |
| | |||||
* | gallium: added new tgsi_scan.c / tgsi_scan_shader() function | Brian | 2008-02-23 | 3 | -0/+175 |
| | | | | Used to get information about registers, instructions used in a shader. | ||||
* | gallium: MSVC fixes. | José Fonseca | 2008-02-24 | 2 | -3/+5 |
| | |||||
* | Bring in several forgotten MSVC fixes. | José Fonseca | 2008-02-23 | 4 | -4/+7 |
| | |||||
* | gallium: fix bug in which wide point stage overrode the aapoint stage | Brian | 2008-02-22 | 1 | -3/+13 |
| | | | | Also, simplify the logic a bit. | ||||
* | gallium: Countour MSVC's pickyness for structures returned by value. | José Fonseca | 2008-02-23 | 1 | -4/+2 |
| | |||||
* | gallium: Wrap decls in extern "C". | José Fonseca | 2008-02-23 | 2 | -0/+22 |
| | |||||
* | gallium: Add cso convenience routine (from Keith's patch). | José Fonseca | 2008-02-23 | 2 | -0/+29 |
| | |||||
* | gallium: MSVC fixes. | José Fonseca | 2008-02-23 | 1 | -3/+3 |
| | |||||
* | gallium: Silence compiler warnings on Windows. | Michal Krol | 2008-02-23 | 1 | -9/+10 |
| | |||||
* | gallium: new draw stage for polygon stipple. | Brian | 2008-02-21 | 5 | -0/+728 |
| | | | | | | | | 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. | ||||
* | gallium: new AA point drawing stage | Brian | 2008-02-21 | 6 | -0/+887 |
| | | | | | | | 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. | ||||
* | draw: vertex cache rework | Keith Whitwell | 2008-02-21 | 5 | -37/+53 |
| | | | | Take a baby step to straightening out vertex paths. |