Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-17 | s/desc->type/desc->channel[0].type/ | Michal Krol | |
2009-12-17 | llvmpipe: remove unused code, added comments, etc | Brian Paul | |
2009-12-17 | llvmpipe: replace INT_MIN/2 with INT_MIN | Brian Paul | |
Since changing the in/out test we can just use INT_MIN to be sure the comparison against the step values always passes. | |||
2009-12-17 | llvmpipe: improve the in/out test a little | Brian Paul | |
Instead of: s = c + step m = s > 0 Do: m = step > c (with negated c) | |||
2009-12-17 | llvmpipe: keep copy of framebuffer state in setup context | Keith Whitwell | |
Avoids crashes when first frame is rendered before window is mapped. Avoids potential issue where fb state is changed before setup context is flushed. | |||
2009-12-16 | llvmpipe: do final the pixel in/out triangle test in the fragment shader | Brian Paul | |
The test to determine which of the pixels in a 2x2 quad is now done in the fragment shader rather than in the calling C code. This is a little faster but there's a few more things to do. Note that the step[] array elements are in a different order now. Rather than being in row-major order for the 4x4 grid, they're in "quad-major" order. The setup of the step arrays is a little more complicated now. So is the course/intermediate tile test code, but some lookup tables help with that. Next steps: - early-cull 2x2 quads which are totally outside the triangle. - skip the in/out test for fully contained quads - make the in/out comparison code tighter/faster. | |||
2009-12-16 | llvmpipe: added lp_build_int32_vec4_type() | Brian Paul | |
2009-12-16 | llvmpipe: refactor lp_build_cmp() to use lp_build_compare() | Brian Paul | |
2009-12-16 | llvmpipe: add LP_DEBUG env var | José Fonseca | |
Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811. | |||
2009-12-16 | llvmpipe: fix broken TGSI_OPCODE_FRC codegen | Brian Paul | |
2009-12-16 | llvmpipe: fix broken lp_build_abs() | Brian Paul | |
2009-12-15 | r300g: fix emission of which textures are enabled | Marek Olšák | |
It fixes most of the "Bad CS" issues in piglit/texCombine and piglit/fbo. Some other issues of this kind will get fixed in the kernel soon (depth-only rendering, S3TC, and RGTC). | |||
2009-12-15 | r300g: clean up the invariant state | Marek Olšák | |
2009-12-15 | r300g: clamp vertex indices to [min,max] everywhere | Marek Olšák | |
2009-12-15 | r300g: if no colorbuffers are set, disable blending and set the color mask to 0 | Marek Olšák | |
This seems to be the only way to disable the first colorbuffer. | |||
2009-12-15 | r300g: set the number of colorbuffers in RB3D_CCTL | Marek Olšák | |
2009-12-15 | r300g: remove unnecessary flush in set_sampler_textures | Marek Olšák | |
2009-12-15 | r300g: add Z24X8 to the list of unsupported sampler formats on R3xx-R4xx | Marek Olšák | |
2009-12-15 | r300g: add acceleration of the clear, surface_copy, and surface_fill functions | Marek Olšák | |
2009-12-15 | llvmpipe: tighten up an assertion | Brian Paul | |
2009-12-15 | llvmpipe: use 1ULL to be ready for 64-bit arithmetic someday | Brian Paul | |
2009-12-15 | llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx. | José Fonseca | |
Now fslight looks perfect. | |||
2009-12-15 | llvmpipe: Fix lp_build_polynomial comment. | José Fonseca | |
2009-12-15 | llvmpipe: Fix typo in lp_build_log constant. | José Fonseca | |
2009-12-15 | llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx. | José Fonseca | |
It should be a bitcast as the integer value is actually an encoded FP already. | |||
2009-12-14 | llvmpipe: fix broken TGSI_OPCODE_FRC codegen | Brian Paul | |
2009-12-14 | llvmpipe: fix broken lp_build_abs() | Brian Paul | |
2009-12-14 | llvmpipe: update file list in Makefile | Brian Paul | |
2009-12-14 | nouveau: avoid running out of relocs | Maarten Maathuis | |
- Added flush notify functions for NV30 and NV40. - Flushing mid frame will call flush notify, which will resubmit all relocs. - We don't try to recover from reloc failure yet. | |||
2009-12-14 | nv50: be more cautious about using reg_instance | Christoph Bumiller | |
Trying to free part of nv50_pc->reg_instances[] for an nv50_reg representing an indirect constant resulted in a segmentation fault. | |||
2009-12-14 | gallium: more work for edgeflags changes | Roland Scheidegger | |
fixes, cleanups, etc. not working yet | |||
2009-12-14 | nv50: store immediates as uint32 | Christoph Bumiller | |
Sometimes we want non-float immediates, hacking them into floats isn't nice. Sorry, this should have already been committed before. | |||
2009-12-13 | nouveau: nv50: Add missing ctor_immd_4u32 function | Patrice Mandin | |
2009-12-13 | llvmpipe: rename bins to scene | Keith Whitwell | |
It was pretty confusing having an entity named "bin" and another named "bins", not least because sometimes there was a need to talk about >1 of the "bins" objects, which couldn't be pluralized any further... Scene is a term used in a bunch of places to talk about what a binner operates on, so it's a decent choice here. | |||
2009-12-13 | nv50: add proper zslice offset in miptree_surface | Christoph Bumiller | |
2009-12-13 | nv50: use m2mf z pos instead of calculating offset manually | Christoph Bumiller | |
2009-12-13 | nv50: add craziness for non-constant TXB and TXL | Christoph Bumiller | |
If lod or bias can be non-constant across a quad of fragments, we need to execute TEX separately for each value. Don't ask why. | |||
2009-12-12 | softpipe: Initialize source in blend_quad. | Vinson Lee | |
2009-12-12 | Revert "nouveau: nv30: Disable swizzled surface usage if any dimension is 1 ↵ | Patrice Mandin | |
(Warsow creates a 1x1 front buffer)" This reverts commit ec7844537ecdb0b598447e37bf0b7120acd029f3. | |||
2009-12-12 | nouveau: nv30: Disable swizzled surface usage if any dimension is 1 (Warsow ↵ | Patrice Mandin | |
creates a 1x1 front buffer) | |||
2009-12-12 | llvmpipe: rename queue size to count | Keith Whitwell | |
2009-12-12 | llvmpipe: rename one of the two rasterize_bins functions | Keith Whitwell | |
2009-12-12 | nv50: support TXB and TXL | Christoph Bumiller | |
... and don't set the 'live' flag for TEX anymore, we'd have to know if results affect the inputs for another TEX, and I'm not going to do that kind of analysis now. | |||
2009-12-12 | nv50: add S8Z24 depth texture format too | Christoph Bumiller | |
2009-12-12 | nv50: fix depth comparison func TSC bits | Christoph Bumiller | |
Unfortunately it seems that if depth comparison is active and we read a 2D texture, i.e. provide only 2 inputs, the second is used for comparison ... | |||
2009-12-12 | nv50: add src_mask case for IF opcode | Christoph Bumiller | |
2009-12-12 | nv50: plug memory leak in miptree creation/destruction | Christoph Bumiller | |
Keeping this dynamically allocated for texture arrays. Since we don't use it to store zslice offsets anymore it's either 1 or 6 integers (cube) ... | |||
2009-12-12 | nv50: use copies of tgsi src nv50_regs | Christoph Bumiller | |
So we can use the 'mod' member without concern if a source is used multiple times in 1 insn. | |||
2009-12-12 | nv50: support vertex program textures | Christoph Bumiller | |
2009-12-11 | llvmpipe: checkpoint: plug in the new fencing code | Brian Paul | |
This has only been very lightly tested. More work to come. |