summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: avoid running out of relocsMaarten Maathuis2009-12-1411-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_instanceChristoph Bumiller2009-12-141-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 Krol2009-12-142-2/+33
| | | | Allows one to declare GS input registers.
* nv50: store immediates as uint32Christoph Bumiller2009-12-142-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 functionPatrice Mandin2009-12-131-2/+15
|
* nv50: add proper zslice offset in miptree_surfaceChristoph Bumiller2009-12-132-20/+21
|
* nv50: use m2mf z pos instead of calculating offset manuallyChristoph Bumiller2009-12-131-13/+10
|
* nv50: add craziness for non-constant TXB and TXLChristoph Bumiller2009-12-131-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 Mandin2009-12-121-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 Mandin2009-12-121-0/+3
| | | | creates a 1x1 front buffer)
* nv50: support TXB and TXLChristoph Bumiller2009-12-122-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 tooChristoph Bumiller2009-12-123-0/+3
|
* nv50: fix depth comparison func TSC bitsChristoph Bumiller2009-12-121-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 opcodeChristoph Bumiller2009-12-121-0/+2
|
* nv50: plug memory leak in miptree creation/destructionChristoph Bumiller2009-12-121-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_regsChristoph Bumiller2009-12-121-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 texturesChristoph Bumiller2009-12-125-74/+156
|
* gallium: added comment for pipe_reference() return valueBrian Paul2009-12-111-0/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-1114-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_branchBrian Paul2009-12-111-0/+1
| |\
| | * i915g: Fix memory leak when pci id is unknown.Vinson Lee2009-12-081-0/+1
| | |
| | * i915g: Add missing break statement in i915_debug_packet.Vinson Lee2009-12-081-0/+1
| | |
| | * rbug: Initialize variable in rbug_get_message.Vinson Lee2009-12-081-0/+1
| | | | | | | | | | | | Silences uninitialized variable warning.
| * | svga: Add a missing dependency from the prescale state.José Fonseca2009-12-111-1/+2
| | | | | | | | | | | | | | | | | | Thanks for Keith to finding this. Fixes Jedi Knight 2 menus.
| * | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.José Fonseca2009-12-111-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é Fonseca2009-12-112-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é Fonseca2009-12-111-1/+1
| | |
| * | st/xorg: fix yv12 plus some cleanups in the upload codeZack Rusin2009-12-101-57/+70
| | |
| * | st/xorg: enable yv12 for xvZack Rusin2009-12-101-1/+4
| | |
| * | vmware/xorg: Properly detect overlay supportJakob Bornecrantz2009-12-093-0/+38
| | |
| * | vmware/core: Update vmwgfx_drm.hJakob Bornecrantz2009-12-091-2/+4
| | |
| * | vmware/xorg: Also stop ports on closeJakob Bornecrantz2009-12-041-1/+2
| | |
| * | vmware/xorg: Stop video ports on leave vtJakob Bornecrantz2009-12-043-0/+56
| | |
| * | st/xorg: Add enter/leave vt hooks for winsysJakob Bornecrantz2009-12-042-0/+8
| | |
| * | st/xorg: Fix leave enter vt cycle in crtc codeJakob Bornecrantz2009-12-041-4/+3
| | |
| * | st/xorg: New libkms destroy apiJakob Bornecrantz2009-12-042-7/+5
| | |
* | | winsys/intel: fix dereferencing of opaque type due to pipe_reference changesRoland Scheidegger2009-12-101-1/+1
| | |
* | | r300g: fix routing of vertex streams if TCL is bypassedMarek Olšák2009-12-094-25/+29
| | | | | | | | | | | | Generating mipmaps finally works, among other things. Yay!
* | | r300g: always disable unused colorbuffersMarek Olšák2009-12-091-1/+14
| | |
* | | r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shaderMarek Olšák2009-12-091-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_aosMarek Olšák2009-12-093-26/+59
| | |
* | | util: Document the meaning of util_format_layout.José Fonseca2009-12-091-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 boolRoland Scheidegger2009-12-086-6/+6
| | |
* | | cell: use boolean instead of boolRoland Scheidegger2009-12-081-1/+1
| | |
* | | gallium: use boolean instead of bool in p_refcnt.hRoland Scheidegger2009-12-081-3/+3
| | | | | | | | | | | | all code in gallium should use boolean not bool
* | | Merge branch 'gallium-strict-aliasing'Roland Scheidegger2009-12-0822-181/+262
|\ \ \
| * | | gallium: fix more potential strict aliasing issuesRoland Scheidegger2009-12-083-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 safeRoland Scheidegger2009-12-079-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 errorRoland Scheidegger2009-12-041-1/+1
| | | |
| * | | svga: fix another pipe_reference strict aliasing violationRoland Scheidegger2009-12-041-1/+2
| | | |