Age | Commit message (Collapse) | Author | |
---|---|---|---|
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: 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 | 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 | 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 | 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 | 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 | 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 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | |||
2009-12-11 | svga: Add a missing dependency from the prescale state. | José Fonseca | |
Thanks for Keith to finding this. Fixes Jedi Knight 2 menus. | |||
2009-12-11 | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC. | José Fonseca | |
Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size. | |||
2009-12-11 | svga: Keep tight control of texture handle ownership. | José Fonseca | |
The texture owns the surface handle. All derivatives need to keep a reference to texture. This fixes several assertions failures starting up Jedi Knight 2. Should cause no change for DRM surface sharing -- reference count still done as before there. | |||
2009-12-11 | svga: Fix mixed signed comparisons. | José Fonseca | |
2009-12-09 | r300g: fix routing of vertex streams if TCL is bypassed | Marek Olšák | |
Generating mipmaps finally works, among other things. Yay! | |||
2009-12-09 | r300g: always disable unused colorbuffers | Marek Olšák | |
2009-12-09 | r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shader | Marek Olšák | |
Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort. | |||
2009-12-09 | r300g: clean up r300_emit_aos | Marek Olšák | |
2009-12-08 | nouveau: use boolean instead of bool | Roland Scheidegger | |
2009-12-08 | cell: use boolean instead of bool | Roland Scheidegger | |
2009-12-08 | Merge branch 'gallium-strict-aliasing' | Roland Scheidegger | |
2009-12-08 | gallium: fix more potential strict aliasing issues | Roland Scheidegger | |
In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5. | |||
2009-12-08 | move assert to avoid crash in debug build. | Alan Hourihane | |
2009-12-08 | Merge branch 'mesa_7_7_branch' | Andre Maasikas | |
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h | |||
2009-12-08 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Andre Maasikas | |
2009-12-07 | llvmpipe: Initialize variables in emit_instruction. | Vinson Lee | |
2009-12-07 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Ian Romanick | |
Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch. | |||
2009-12-07 | gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe | Roland Scheidegger | |
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place. | |||
2009-12-06 | softpipe: sp_winsys.h should define/include what it needs. | Corbin Simpson | |
2009-12-06 | r300g: Clean up previous commit. | Corbin Simpson | |
If *I* can't read it, there's a strong possibility others can't, either. | |||
2009-12-06 | r300g: enhance ZTOP conditions | Marek Olšák | |
2009-12-06 | nouveau: Work around nv04-nv40 miptrees not matching nouveau_miptree. | Younes Manton | |
Thanks to Bob Gleitsmann for the patch. I'll clean this up in a better way later if noone else beats me to it. | |||
2009-12-06 | r300g: don't render if everything is culled by scissoring | Marek Olšák | |
Otherwise a CS is refused by kernel 2.6.31 (and maybe all later versions, not sure). | |||
2009-12-06 | r300g: remove redundant code and clean up | Marek Olšák | |