Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/llvmpipe: remove duplicated include | Nicolas Kaiser | 2010-09-30 | 1 | -1/+0 |
| | | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]> | ||||
* | llvmpipe: Decouple sampler view and sampler state updates. | José Fonseca | 2010-09-29 | 3 | -13/+45 |
| | | | | | | | | Fixes glean pbo crash. It would be possible to avoid crashing without decoupling, but given that state trackers give no guarantee that number of views is consistent, that would likely cause too many state updates (or miss some). | ||||
* | llvmpipe: handle up to 8 planes in triangle binner | Keith Whitwell | 2010-09-25 | 1 | -7/+8 |
| | |||||
* | llvmpipe: handle FACING interpolants in line and point setup | Keith Whitwell | 2010-09-25 | 2 | -3/+19 |
| | |||||
* | llvmpipe: make texture border_color dynamic state | Brian Paul | 2010-09-24 | 4 | -2/+10 |
| | |||||
* | llvmpipe: make min/max lod and lod bias dynamic state | Brian Paul | 2010-09-24 | 6 | -4/+42 |
| | | | | | | Before, changing any of these sampler values triggered generation of new JIT code. Added a new flag for the special case of min_lod == max_lod which is hit during auto mipmap generation. | ||||
* | llvmpipe: fix sprite texcoord setup for non-projective texturing | Brian Paul | 2010-09-22 | 1 | -27/+58 |
| | | | | | | | | Normally the Mesa state tracker uses TXP instructions for texturing. But if a fragment shader uses texture2D() that's a TEX instruction. In that case we were incorrectly computing the texcoord coefficients in the point sprite setup code. Some new comments in the code explain things. | ||||
* | llvmpipe: Make rgb/alpha bland func/factors match, when there is no alpha. | José Fonseca | 2010-09-22 | 1 | -14/+8 |
| | | | | Makes AoS blending easier, and state more canonical. | ||||
* | llvmpipe: Special case complementary and identify blend factors in SoA. | José Fonseca | 2010-09-22 | 4 | -44/+79 |
| | | | | | | | | One multiplication instead of two. Also fix floating point random number generation and verification. TODO: Do the same for AoS blending. | ||||
* | llvmpipe: When failing free fs shader too. | José Fonseca | 2010-09-21 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Describe how to profile llvmpipe. | José Fonseca | 2010-09-21 | 1 | -0/+38 |
| | |||||
* | Merge branch 'sprite-coord' | Brian Paul | 2010-09-21 | 7 | -38/+72 |
|\ | |||||
| * | llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTS | Brian Paul | 2010-09-20 | 1 | -2/+5 |
| | | |||||
| * | llvmpipe: implement sprite coord origin modes | Brian Paul | 2010-09-20 | 1 | -6/+12 |
| | | |||||
| * | llvmpipe: rename sprite field, add sprite_coord_origin | Brian Paul | 2010-09-20 | 5 | -6/+10 |
| | | |||||
| * | llvmpipe: clean-up, comments in setup_point_coefficient() | Brian Paul | 2010-09-20 | 1 | -5/+10 |
| | | |||||
| * | llvmpipe: reformatting, remove trailing whitespace, etc | Brian Paul | 2010-09-20 | 1 | -21/+23 |
| | | |||||
| * | llvmpipe: indentation fix | Brian Paul | 2010-09-20 | 1 | -1/+1 |
| | | |||||
| * | llvmpipe: maintain fragment shader state for draw module | Brian Paul | 2010-09-20 | 2 | -0/+14 |
| | | |||||
* | | llvmpipe: fix flatshading in new line code | Keith Whitwell | 2010-09-21 | 1 | -6/+13 |
| | | | | | | | | Calculate interpolants before rearranging the vertices. | ||||
* | | llvmpipe: fix query bug when no there's no scene | Brian Paul | 2010-09-20 | 1 | -2/+3 |
| | | |||||
* | | llvmpipe: Default to no threading on single processor systems. | José Fonseca | 2010-09-17 | 1 | -2/+1 |
|/ | |||||
* | gallivm: Start collecting bitwise arithmetic helpers in a new module. | José Fonseca | 2010-09-16 | 1 | -2/+3 |
| | |||||
* | llvmpipe: add DEBUG_FS to dump variant information | Keith Whitwell | 2010-09-16 | 3 | -1/+3 |
| | |||||
* | llvmpipe: add LP_PERF flag to disable various aspects of rasterization | Keith Whitwell | 2010-09-16 | 8 | -6/+90 |
| | | | | | | | | Allows disabling various operations (mainly texture-related, but will grow) to try & identify bottlenecks. Unlike LP_DEBUG, this is active even in release builds - which is necessary for performance investigation. | ||||
* | llvmpipe: s/boolean/unsigned/ in bitfield to silence warning | Brian Paul | 2010-09-15 | 1 | -2/+2 |
| | | | | | Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change. | ||||
* | llvmpipe: cast to silence warning | Brian Paul | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | llvmpipe: return zero from floor_pot(zero) | Keith Whitwell | 2010-09-15 | 1 | -1/+3 |
| | |||||
* | llvmpipe: remove duplicate code | Keith Whitwell | 2010-09-15 | 1 | -5/+0 |
| | | | | Bad rebase presumably. | ||||
* | llvmpipe: brackets around macro arg | Keith Whitwell | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-09-14 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Initialize variable for potentially unhandled switch case. | Vinson Lee | 2010-09-14 | 1 | -0/+3 |
| | |||||
* | gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3) | Luca Barbieri | 2010-09-14 | 1 | -34/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested | ||||
* | llvmpipe: Fix non SSE2 builds. | José Fonseca | 2010-09-13 | 1 | -2/+2 |
| | | | | Should fix fdo 30168. | ||||
* | llvmpipe: Change asm to __asm__. | Witold Baryluk | 2010-09-13 | 1 | -3/+3 |
| | | | | | | | According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Unbreak rasterization on 64bit. | José Fonseca | 2010-09-13 | 1 | -24/+22 |
| | |||||
* | llvmpipe: use gcc asm only with gcc | José Fonseca | 2010-09-13 | 1 | -1/+1 |
| | |||||
* | llvmpipe: introduce tri_3_4 for tiny triangles | Keith Whitwell | 2010-09-12 | 6 | -46/+127 |
| | |||||
* | llvmpipe: allow tri_3_16 at any 4-aligned location within a tile | Keith Whitwell | 2010-09-12 | 1 | -27/+50 |
| | | | | Doesn't require 16-alignment, so catch more cases. | ||||
* | llvmpipe: refactor tri_3_16 | Keith Whitwell | 2010-09-12 | 1 | -17/+47 |
| | | | | | Keep step array as a set of four m128i's and reuse throughout the rasterization. | ||||
* | llvmpipe: pass linear masks to fragment shader | Keith Whitwell | 2010-09-12 | 3 | -73/+23 |
| | | | | Fragment shader can extract the correct bits for each quad. | ||||
* | llvmpipe: fix warnings on both 32 and 64 bit builds | Keith Whitwell | 2010-09-12 | 1 | -3/+3 |
| | |||||
* | llvmpipe: fix wierd performance regression in isosurf | Keith Whitwell | 2010-09-12 | 1 | -6/+8 |
| | | | | | | | | | | | | I really don't understand the mechanism behind this, but it seems like the way data blocks for a scene are malloced, and in particular whether we treat them as stack or a queue, and whether we retain the most recently allocated or least recently allocated has a real affect (~5%) on isosurf framerates... This is probably specific to my distro or even just my machine, but none the less, it's nicer not to see the framerates go in the wrong direction. | ||||
* | llvmpipe: Only generate the whole shader specialization for opaque shaders. | José Fonseca | 2010-09-12 | 1 | -1/+7 |
| | | | | | If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless. | ||||
* | llvmpipe: Silence some warnings. | José Fonseca | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Don't store display the alpha ref value in the key. | José Fonseca | 2010-09-11 | 4 | -12/+13 |
| | | | | It's never used. | ||||
* | gallivm: s/lp_build_broadcast_aos/lp_build_swizzle_scalar_aos/ | José Fonseca | 2010-09-11 | 1 | -1/+1 |
| | | | | More accurate description of this function purpose. | ||||
* | llvmpipe: restore larger command blocks | Keith Whitwell | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | llvmpipe: move some debug to DEBUG_SCENE | Keith Whitwell | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | llvmpipe: add DEBUG_MEM option | Keith Whitwell | 2010-09-11 | 3 | -0/+14 |
| |