Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-08 | llvmpipe: fix off-by-one in tri_16 | Keith Whitwell | |
2010-10-08 | llvmpipe: add rast_tri_4_16 for small lines and points | Keith Whitwell | |
2010-10-08 | llvmpipe: clean up setup_tri a little | Keith Whitwell | |
2010-10-08 | llvmpipe: avoid overflow in triangle culling | Keith Whitwell | |
Avoid multiplying fixed-point values. Calculate triangle area in floating point use that for culling. Lift area calculations up a level as we are already doing this in the triangle_both() case. Would like to share the calculated area with attribute interpolation, but the way the code is structured makes this difficult. | |||
2010-10-08 | llvmpipe: fail gracefully on oom in scene creation | Keith Whitwell | |
2010-10-06 | llvmpipe: Cleanup depth-stencil clears. | José Fonseca | |
Only cosmetic changes. No actual practical difference. | |||
2010-10-06 | gallivm: Only apply min/max_lod when necessary. | José Fonseca | |
2010-10-06 | llvmpipe: Fix sprite coord perspective interpolation of Q. | José Fonseca | |
Q coordinate's coefficients also need to be multiplied by w, otherwise it will have 1/w, causing problems with TXP. | |||
2010-10-06 | llvmpipe: Fix perspective interpolation for point sprites. | José Fonseca | |
Once a fragment is generated with LP_INTERP_PERSPECTIVE set for an input, it will do a divide by w for that input. Therefore it's not OK to treat LP_INTERP_PERSPECTIVE as LP_INTERP_LINEAR or vice-versa, even if the attribute is known to not vary. A better strategy would be to take the primitive in consideration when generating the fragment shader key, and therefore avoid the per-fragment perspective divide. | |||
2010-10-06 | llvmpipe: Dump a few missing shader key flags. | José Fonseca | |
2010-10-06 | llvmpipe: make debug_fs_variant respect variant->nr_samplers | Keith Whitwell | |
2010-09-30 | gallium/llvmpipe: remove duplicated include | Nicolas Kaiser | |
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-09-29 | llvmpipe: Decouple sampler view and sampler state updates. | José Fonseca | |
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). | |||
2010-09-27 | llvmpipe: minor changes in llvm coefficient calcs | Hui Qi Tay | |
2010-09-25 | llvmpipe: handle up to 8 planes in triangle binner | Keith Whitwell | |
2010-09-25 | llvmpipe: handle FACING interpolants in line and point setup | Keith Whitwell | |
2010-09-24 | llvmpipe: make texture border_color dynamic state | Brian Paul | |
2010-09-24 | llvmpipe: make min/max lod and lod bias dynamic state | Brian Paul | |
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. | |||
2010-09-22 | llvmpipe: fix sprite texcoord setup for non-projective texturing | Brian Paul | |
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. | |||
2010-09-22 | llvmpipe: Make rgb/alpha bland func/factors match, when there is no alpha. | José Fonseca | |
Makes AoS blending easier, and state more canonical. | |||
2010-09-22 | llvmpipe: Special case complementary and identify blend factors in SoA. | José Fonseca | |
One multiplication instead of two. Also fix floating point random number generation and verification. TODO: Do the same for AoS blending. | |||
2010-09-21 | llvmpipe: When failing free fs shader too. | José Fonseca | |
2010-09-21 | llvmpipe: Describe how to profile llvmpipe. | José Fonseca | |
2010-09-21 | Merge branch 'sprite-coord' | Brian Paul | |
2010-09-21 | llvmpipe: fix flatshading in new line code | Keith Whitwell | |
Calculate interpolants before rearranging the vertices. | |||
2010-09-20 | llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTS | Brian Paul | |
2010-09-20 | llvmpipe: implement sprite coord origin modes | Brian Paul | |
2010-09-20 | llvmpipe: rename sprite field, add sprite_coord_origin | Brian Paul | |
2010-09-20 | llvmpipe: clean-up, comments in setup_point_coefficient() | Brian Paul | |
2010-09-20 | llvmpipe: reformatting, remove trailing whitespace, etc | Brian Paul | |
2010-09-20 | llvmpipe: indentation fix | Brian Paul | |
2010-09-20 | llvmpipe: maintain fragment shader state for draw module | Brian Paul | |
2010-09-20 | llvmpipe: fix query bug when no there's no scene | Brian Paul | |
2010-09-18 | llvmpipe: use llvm for attribute interpolant calculation | Keith Whitwell | |
Basically no change relative to hard-coded version, but this will be useful for other changes later. | |||
2010-09-17 | llvmpipe: Default to no threading on single processor systems. | José Fonseca | |
2010-09-16 | gallivm: Start collecting bitwise arithmetic helpers in a new module. | José Fonseca | |
2010-09-16 | llvmpipe: add DEBUG_FS to dump variant information | Keith Whitwell | |
2010-09-16 | llvmpipe: add LP_PERF flag to disable various aspects of rasterization | Keith Whitwell | |
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. | |||
2010-09-15 | llvmpipe: s/boolean/unsigned/ in bitfield to silence warning | Brian Paul | |
Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change. | |||
2010-09-15 | llvmpipe: cast to silence warning | Brian Paul | |
2010-09-15 | llvmpipe: return zero from floor_pot(zero) | Keith Whitwell | |
2010-09-15 | llvmpipe: remove duplicate code | Keith Whitwell | |
Bad rebase presumably. | |||
2010-09-15 | llvmpipe: brackets around macro arg | Keith Whitwell | |
2010-09-14 | llvmpipe: Remove unnecessary header. | Vinson Lee | |
2010-09-14 | llvmpipe: Initialize variable for potentially unhandled switch case. | Vinson Lee | |
2010-09-14 | gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3) | Luca Barbieri | |
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 | |||
2010-09-13 | llvmpipe: Fix non SSE2 builds. | José Fonseca | |
Should fix fdo 30168. | |||
2010-09-13 | llvmpipe: Change asm to __asm__. | Witold Baryluk | |
According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-09-13 | llvmpipe: Unbreak rasterization on 64bit. | José Fonseca | |
2010-09-13 | llvmpipe: use gcc asm only with gcc | José Fonseca | |