Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: avoid running out of relocs | Maarten Maathuis | 2009-12-14 | 11 | -18/+76 |
| | | | | | | | - 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. | ||||
* | nv50: be more cautious about using reg_instance | Christoph Bumiller | 2009-12-14 | 1 | -17/+10 |
| | | | | | | Trying to free part of nv50_pc->reg_instances[] for an nv50_reg representing an indirect constant resulted in a segmentation fault. | ||||
* | tgsi/ureg: Add ureg_DECL_gs_input(). | Michal Krol | 2009-12-14 | 2 | -2/+33 |
| | | | | Allows one to declare GS input registers. | ||||
* | nv50: store immediates as uint32 | Christoph Bumiller | 2009-12-14 | 2 | -33/+31 |
| | | | | | | | Sometimes we want non-float immediates, hacking them into floats isn't nice. Sorry, this should have already been committed before. | ||||
* | nouveau: nv50: Add missing ctor_immd_4u32 function | Patrice Mandin | 2009-12-13 | 1 | -2/+15 |
| | |||||
* | nv50: add proper zslice offset in miptree_surface | Christoph Bumiller | 2009-12-13 | 2 | -20/+21 |
| | |||||
* | nv50: use m2mf z pos instead of calculating offset manually | Christoph Bumiller | 2009-12-13 | 1 | -13/+10 |
| | |||||
* | nv50: add craziness for non-constant TXB and TXL | Christoph Bumiller | 2009-12-13 | 1 | -44/+204 |
| | | | | | | 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. | ||||
* | Revert "nouveau: nv30: Disable swizzled surface usage if any dimension is 1 ↵ | Patrice Mandin | 2009-12-12 | 1 | -3/+0 |
| | | | | | | (Warsow creates a 1x1 front buffer)" This reverts commit ec7844537ecdb0b598447e37bf0b7120acd029f3. | ||||
* | nouveau: nv30: Disable swizzled surface usage if any dimension is 1 (Warsow ↵ | Patrice Mandin | 2009-12-12 | 1 | -0/+3 |
| | | | | creates a 1x1 front buffer) | ||||
* | nv50: support TXB and TXL | Christoph Bumiller | 2009-12-12 | 2 | -57/+108 |
| | | | | | | ... 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. | ||||
* | nv50: add S8Z24 depth texture format too | Christoph Bumiller | 2009-12-12 | 3 | -0/+3 |
| | |||||
* | nv50: fix depth comparison func TSC bits | Christoph Bumiller | 2009-12-12 | 1 | -2/+3 |
| | | | | | | 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 ... | ||||
* | nv50: add src_mask case for IF opcode | Christoph Bumiller | 2009-12-12 | 1 | -0/+2 |
| | |||||
* | nv50: plug memory leak in miptree creation/destruction | Christoph Bumiller | 2009-12-12 | 1 | -0/+6 |
| | | | | | | 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) ... | ||||
* | nv50: use copies of tgsi src nv50_regs | Christoph Bumiller | 2009-12-12 | 1 | -26/+22 |
| | | | | | So we can use the 'mod' member without concern if a source is used multiple times in 1 insn. | ||||
* | nv50: support vertex program textures | Christoph Bumiller | 2009-12-12 | 5 | -74/+156 |
| | |||||
* | gallium: added comment for pipe_reference() return value | Brian Paul | 2009-12-11 | 1 | -0/+1 |
| | |||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-11 | 14 | -90/+226 |
|\ | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | ||||
| * | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-11 | 1 | -0/+1 |
| |\ | |||||
| | * | i915g: Fix memory leak when pci id is unknown. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | | |||||
| | * | i915g: Add missing break statement in i915_debug_packet. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | | |||||
| | * | rbug: Initialize variable in rbug_get_message. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | | | | | | | | | | | Silences uninitialized variable warning. | ||||
| * | | svga: Add a missing dependency from the prescale state. | José Fonseca | 2009-12-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | Thanks for Keith to finding this. Fixes Jedi Knight 2 menus. | ||||
| * | | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC. | José Fonseca | 2009-12-11 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | svga: Keep tight control of texture handle ownership. | José Fonseca | 2009-12-11 | 2 | -17/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | svga: Fix mixed signed comparisons. | José Fonseca | 2009-12-11 | 1 | -1/+1 |
| | | | |||||
| * | | st/xorg: fix yv12 plus some cleanups in the upload code | Zack Rusin | 2009-12-10 | 1 | -57/+70 |
| | | | |||||
| * | | st/xorg: enable yv12 for xv | Zack Rusin | 2009-12-10 | 1 | -1/+4 |
| | | | |||||
| * | | vmware/xorg: Properly detect overlay support | Jakob Bornecrantz | 2009-12-09 | 3 | -0/+38 |
| | | | |||||
| * | | vmware/core: Update vmwgfx_drm.h | Jakob Bornecrantz | 2009-12-09 | 1 | -2/+4 |
| | | | |||||
| * | | vmware/xorg: Also stop ports on close | Jakob Bornecrantz | 2009-12-04 | 1 | -1/+2 |
| | | | |||||
| * | | vmware/xorg: Stop video ports on leave vt | Jakob Bornecrantz | 2009-12-04 | 3 | -0/+56 |
| | | | |||||
| * | | st/xorg: Add enter/leave vt hooks for winsys | Jakob Bornecrantz | 2009-12-04 | 2 | -0/+8 |
| | | | |||||
| * | | st/xorg: Fix leave enter vt cycle in crtc code | Jakob Bornecrantz | 2009-12-04 | 1 | -4/+3 |
| | | | |||||
| * | | st/xorg: New libkms destroy api | Jakob Bornecrantz | 2009-12-04 | 2 | -7/+5 |
| | | | |||||
* | | | winsys/intel: fix dereferencing of opaque type due to pipe_reference changes | Roland Scheidegger | 2009-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | r300g: fix routing of vertex streams if TCL is bypassed | Marek Olšák | 2009-12-09 | 4 | -25/+29 |
| | | | | | | | | | | | | Generating mipmaps finally works, among other things. Yay! | ||||
* | | | r300g: always disable unused colorbuffers | Marek Olšák | 2009-12-09 | 1 | -1/+14 |
| | | | |||||
* | | | r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shader | Marek Olšák | 2009-12-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort. | ||||
* | | | r300g: clean up r300_emit_aos | Marek Olšák | 2009-12-09 | 3 | -26/+59 |
| | | | |||||
* | | | util: Document the meaning of util_format_layout. | José Fonseca | 2009-12-09 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The util_format_layout name was unfortunate and there are as been a lot of confusion due to this. Hopefully this will shed some light on what it was meant for. Bottom line is: do not rely on these values unless you're automatically code generating pixel packing/unpacking routines. Suggestions for better names than util_format_layout are welcome! | ||||
* | | | nouveau: use boolean instead of bool | Roland Scheidegger | 2009-12-08 | 6 | -6/+6 |
| | | | |||||
* | | | cell: use boolean instead of bool | Roland Scheidegger | 2009-12-08 | 1 | -1/+1 |
| | | | |||||
* | | | gallium: use boolean instead of bool in p_refcnt.h | Roland Scheidegger | 2009-12-08 | 1 | -3/+3 |
| | | | | | | | | | | | | all code in gallium should use boolean not bool | ||||
* | | | Merge branch 'gallium-strict-aliasing' | Roland Scheidegger | 2009-12-08 | 22 | -181/+262 |
|\ \ \ | |||||
| * | | | gallium: fix more potential strict aliasing issues | Roland Scheidegger | 2009-12-08 | 3 | -60/+145 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe | Roland Scheidegger | 2009-12-07 | 9 | -127/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | identity: fix copy&paste error | Roland Scheidegger | 2009-12-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | svga: fix another pipe_reference strict aliasing violation | Roland Scheidegger | 2009-12-04 | 1 | -1/+2 |
| | | | |