Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: add missing break statement | Keith Whitwell | 2008-04-02 | 1 | -0/+1 |
| | |||||
* | draw: Set the backend prim in the pt 'prepare' operation | Keith Whitwell | 2008-04-02 | 4 | -28/+31 |
| | | | | | | | Leaving it until 'run' is bad as the primitive is pretty much state for some drivers and so needs to get set early. In some drivers this is used to determine things like vertex format, etc -- by the time we get to 'run', it's too late to change this. | ||||
* | gallium: add a flag to turn on gl rasterization rules | Keith Whitwell | 2008-04-02 | 1 | -6/+13 |
| | | | | | | | Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code. | ||||
* | gallium: add temporary facility for rasterization-time clamping of point sizes | Keith Whitwell | 2008-04-02 | 1 | -1/+13 |
| | |||||
* | draw: remove dead code | Keith Whitwell | 2008-04-01 | 1 | -37/+0 |
| | |||||
* | draw: more flatshade_first changes | Keith Whitwell | 2008-04-01 | 5 | -97/+144 |
| | | | | | | - Reduce the number of changes to the normal vertex ordering - Assume that the hardware knows how to do this in the standard case. - Add support to the passthrough vcache path. | ||||
* | draw: respect flatshade_first in flatshade stage | Keith Whitwell | 2008-04-01 | 1 | -6/+49 |
| | |||||
* | draw: associate rhw divide with clipping not viewport flag | Keith Whitwell | 2008-04-01 | 3 | -18/+18 |
| | |||||
* | draw: flush between pt/non-pt modes | Keith Whitwell | 2008-04-01 | 1 | -0/+4 |
| | |||||
* | gallium: Do not assume that buffers are freed in the same order they are fenced. | José Fonseca | 2008-04-01 | 1 | -18/+21 |
| | | | | | | | | Also free buffers as soon as possible. This short term fix corrects the fenced list behavior but it will impact on performance. The long term fix is probably replace the linked list (legacy from the bufpool code) by a binary tree. | ||||
* | gallium: draw_passthrough.c is obsolete - removed | Brian | 2008-03-31 | 1 | -473/+0 |
| | |||||
* | gallium: move the test for bypass_vs into the vs_XXX_run() functions | Brian | 2008-03-31 | 6 | -35/+76 |
| | | | | | | | | | | Also: 1. Added an identity_viewport flag to skip viewport transformation when it has no effect. Might also add an explicit bypass_viewport flag someday. 2. Separate the code for computing clip codes and doing the viewport transform. Predicate them separately. Note: even if bypass_vs is set, we still look at the shader to determine the number of inputs and outputs. | ||||
* | gallium: draw_passthrough.c is not used anymore | Brian | 2008-03-31 | 1 | -1/+0 |
| | |||||
* | gallium: draw_passthrough.c is not used anymore | Brian | 2008-03-31 | 1 | -1/+0 |
| | |||||
* | draw: Do not run full pipeline when flatshade_first for point primitives. | Michal Krol | 2008-03-30 | 3 | -1/+11 |
| | |||||
* | draw: Fix bypass_vs semantic misuse. | Michal Krol | 2008-03-30 | 1 | -0/+1 |
| | |||||
* | gallium: Set vertex state/buffers en-mass. | Brian Paul | 2008-03-29 | 3 | -23/+29 |
| | |||||
* | gallium: Fix some MSVC warnings. | José Fonseca | 2008-03-29 | 2 | -5/+5 |
| | |||||
* | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | 2008-03-27 | 8 | -18/+18 |
| | | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | ||||
* | gallium: return pipe_shader_state from the simple shader functions | Brian | 2008-03-27 | 4 | -19/+42 |
| | | | | Allows us to fix a mem leak (tokens array). | ||||
* | gallium: fix incorrect types for shaders | Brian | 2008-03-27 | 2 | -6/+5 |
| | |||||
* | gallium: remove temporary static var | Brian | 2008-03-27 | 2 | -6/+6 |
| | |||||
* | gallium: as for aapoints, make the extra texcoord per-shader state | Brian Paul | 2008-03-26 | 1 | -11/+13 |
| | |||||
* | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | 2008-03-26 | 1 | -1/+1 |
| | | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | ||||
* | gallium: the generic attrib we use for computing coverage is per-shader | Brian | 2008-03-25 | 1 | -11/+13 |
| | | | | Fixes a very tricky conformance failure. | ||||
* | cell: Float convert-to and convert-from instructions use different shift bias | Ian Romanick | 2008-03-25 | 2 | -7/+7 |
| | |||||
* | draw: Take flatshade_first rasterizer bit into account. | Michal Krol | 2008-03-25 | 1 | -45/+117 |
| | |||||
* | draw: vertex fetch can be validated too early leading to an assertion... disable | Keith Whitwell | 2008-03-25 | 1 | -1/+5 |
| | |||||
* | draw: don't use fetch_and_store for bypass_vs mode, it's not quite right | Keith Whitwell | 2008-03-25 | 1 | -4/+1 |
| | |||||
* | draw: take primitive into account when deciding if the pipeline is active | Keith Whitwell | 2008-03-25 | 4 | -37/+69 |
| | |||||
* | gallium: Fix default option on Windows. | José Fonseca | 2008-03-25 | 1 | -7/+6 |
| | |||||
* | gallium: be smarter about picking the sampler unit for pstipple, aaalines | Brian | 2008-03-24 | 2 | -21/+74 |
| | | | | | Also, if the app really uses all available sampler/texture units, don't just die. Just use the last sampler for the pstipple or aaline texture. | ||||
* | gallium: fix a few bugs, warnings in the p_debug code | Brian | 2008-03-24 | 1 | -2/+2 |
| | | | | added missing _ to a _debug_printf() call. | ||||
* | gallium: move sampler_unit field to pstip_fragment_shader since it's per-shader | Brian | 2008-03-24 | 1 | -5/+16 |
| | | | | Also, fix another texture refcounting bug. | ||||
* | gallium: make a copy of the vertex shader's token array. | Brian | 2008-03-24 | 3 | -3/+17 |
| | | | | | This solves problems when the state tracker frees the token array when the draw module still needs it. | ||||
* | gallium: use pipe_texture_reference() in a few places (fixes refcounting bugs) | Brian | 2008-03-24 | 2 | -4/+17 |
| | |||||
* | gallium: added tgsi_num_tokens() function to return number of tokens in ↵ | Brian | 2008-03-24 | 2 | -0/+17 |
| | | | | | | token array. Maybe move to a different file someday. | ||||
* | gallium: Simple cross platform get-opt system. | José Fonseca | 2008-03-24 | 1 | -0/+144 |
| | | | | | | Uses getenv on Linux, and a memory mapped text file on Windows. It supports boolean options, flags, and plain strings. | ||||
* | gallium: cleanup p_debug | José Fonseca | 2008-03-24 | 1 | -19/+12 |
| | | | | | Now debug_printf is disabled on release builds. Use debug_error or _debug_printf to output messages on release versions. | ||||
* | gallium: move filter assignment out of loop | Brian | 2008-03-24 | 1 | -2/+4 |
| | |||||
* | gallium: Remove util_gen_mipmap_filter(). | Michal Krol | 2008-03-24 | 2 | -18/+0 |
| | |||||
* | gallium: pass the filter mode to util_gen_mipmap(). | Brian | 2008-03-24 | 2 | -16/+11 |
| | | | | Remove util_gen_mipmap_filter() when no longer used. | ||||
* | gallium: tweak coords in u_gen_mipmap code | Michal Krol | 2008-03-24 | 1 | -8/+8 |
| | |||||
* | draw: pre-declare referenced structs | Keith Whitwell | 2008-03-24 | 1 | -0/+2 |
| | |||||
* | Revert "draw: Fix #include order to fix Linux build." | Keith Whitwell | 2008-03-24 | 1 | -1/+1 |
| | | | | This reverts commit a6d17bf671d6bfbb187a62ba14b9ad08fb5dafe1. | ||||
* | draw: Fix #include order to fix Linux build. | Michel Dänzer | 2008-03-24 | 1 | -1/+1 |
| | |||||
* | draw: check need_pipeline() in passthrough | Keith Whitwell | 2008-03-23 | 1 | -1/+1 |
| | |||||
* | draw: tweak the definition of draw_need_pipeline, fix minor bug | Keith Whitwell | 2008-03-23 | 1 | -11/+15 |
| | |||||
* | draw: fix crlf | Keith Whitwell | 2008-03-23 | 2 | -204/+204 |
| | |||||
* | draw: rename emit functions to match pipe_format names | Keith Whitwell | 2008-03-23 | 1 | -22/+17 |
| |