summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)AuthorFilesLines
2010-01-04silence compiler warningAlan Hourihane1-2/+2
2010-01-04Fix testAlan Hourihane1-2/+2
2010-01-02python: Don't generate a import library for python module either.José Fonseca1-0/+2
2010-01-02i965: Add missing include.José Fonseca1-0/+2
2010-01-02gdi: Don't generate import libraries for opengl32.dll.José Fonseca1-0/+2
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-02util: Silent potential loss of precision warnings.José Fonseca1-3/+2
Also ensure multiplication doesn't happen for negative numbers.
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira1-0/+1
2010-01-01r300: Fix scons build.José Fonseca2-4/+10
2010-01-01llvmpipe: Add missing include path.José Fonseca1-0/+2
The abscense was being masked previously.
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca16-338/+180
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca23-290/+196
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2010-01-01gallium: Remove the sct module.José Fonseca6-656/+0
Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
2010-01-01scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca1-1/+2
Some of the demo progams legitimately need the functionality that's disabled by WIN32_LEAN_AND_MEAN. Instead the solution should be to define WIN32_LEAN_AND_MEAN just before including windows.h on a case by case basis.
2009-12-31nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller1-1/+1
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul36-55/+323
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31nv50: fix TEXLOD sequence and use it only in FPsChristoph Bumiller1-1/+8
2009-12-31nv50: cannot kill branch if immediate is usedChristoph Bumiller1-0/+3
The immediate's bits eat the condition bits.
2009-12-31nv50: make assimilate_temp safeChristoph Bumiller1-16/+28
Cannot change hw reg assigned to a TGSI TEMP on the fly if we are in a loop, conditional, or can jump around wildly.
2009-12-31nv50: handle TGSI_OPCODE_EXP,LOGChristoph Bumiller1-0/+59
Not that they make much sense on nv50, but we also do LIT ...
2009-12-31nv50: add support for subroutinesChristoph Bumiller1-53/+78
2009-12-31nv50: alloc_reg on reg_instanceChristoph Bumiller1-14/+15
If we create multiple instances of an nv50_reg referencing them same resource, register allocation from alloc_reg has to be done with the original nv50_reg.
2009-12-31nv50: multiply polygon offset units by 2Christoph Bumiller1-1/+1
2009-12-31nv50: neg and abs modifiers for flopsChristoph Bumiller1-28/+55
Also fixes RSQ of negative sources.
2009-12-31nv50: don't negate immediates in set_immdChristoph Bumiller1-12/+5
This negation would only be triggered in situations where it's incorrect. The caller of set_immd should negate the immediate value in the instruction itself if desired, and will also know if it's a float or an int. ADD TEMP[0], CONST[0], -IMMD[0] would load the immediate into extra TEMP, negated, and set the negate flag in add as well - double negation.
2009-12-30nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40Luca Barbieri6-55/+74
Currently in nvXX_transfer_new a temporary as large as the surface is created. If the subrectangle is not the whole texture we would need to read back the whole texture, but we aren't. Thus, everything but the subrectangle specified is loaded as garbage. This can be seen in progs/demos/ray. This patch fixes the problem by creating a temporary that covers only the desired subrectangle. That makes us hit an alignment assert in nv04_surface_2d.c. Fix it using the point registers instead of manipulating the swizzled surface offset to account for the destination coordinates (which do not seem to have a 1024 limit). Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-29st/xorg: Use C-style comments.Vinson Lee1-16/+16
2009-12-30st/xorg: Fix warning and add a TODO commentJakob Bornecrantz1-0/+6
2009-12-30st/xorg: On close wait on fences and then destroy the screenJakob Bornecrantz1-1/+11
2009-12-30st/xorg: Be proper with pipe pointers on close in exaJakob Bornecrantz1-0/+3
2009-12-30st/xorg: Make sure we don't overrun the fence array in block handlerJakob Bornecrantz1-1/+1
2009-12-28st/egl: Move declaration before code.Vinson Lee1-1/+2
2009-12-28llvmpipe: Fix assert.Vinson Lee1-1/+1
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee2-2/+7
2009-12-28nouveau: Unreference state/buffer objects on context/screen destruction.Younes Manton12-5/+102
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Based on Krzysztof Smiechowicz's patch.
2009-12-28nouveau: Fix swizzling for copies to rectangular texturesLuca Barbieri1-3/+12
nVidia hardware seems to swizzle rectangular texture (with width != height) coordinates by swizzling the lower bits and then adding the higher bits from the larger dimension. However, nv04_swizzle_bits ignores width and height and just interleaves everything. This causes problems with rectangular POT textures with height or width 2048 or 4096 (but not 2048x1024 where it works by chance) since the driver swizzles them in 1024x1024 chunks and gets the start position for the non-first chunks wrong. The following patch seems to fix those problems.
2009-12-28nouveau: Fix nv20-40 swizzled miptree RTsLuca Barbieri9-3/+122
I just coded a patch that does this and seems to work fine. It must be fixed since it breaks OpenGL (or the state tracker can be changed, but it seems better to do it in the driver). The patch also fixes NV20 and NV30 in the same way. They compile but are untested. I would guess that using the 3D engine is faster for the larger levels, but the 2D engine is faster for the smaller ones (and lacks this issue).
2009-12-28NV30/NV40 CMP and SCS src == dst handlingLuca Barbieri2-16/+48
CMP and SCS can produce incorrect results if the source and destination are the same. This patch should fix the issues. CMP is fixed by predicating both moves. SCS by changing the order if the source component is X.
2009-12-28llvmpipe: Unmapping vertex/index buffers does NOT flush draw module anymore.José Fonseca1-1/+7
Not since 6094e79f4e3350d123c7532b1c73faa60834a62d. Drivers now need to flush draw module explicitely (which explains why all those previous commits adding draw_flushes calls were necessary). This is a good thing, but it's tricky to get this right in face of user buffers (it's not even clear who has the responsibility to flush when a user buffer is seen -- statetracker or pipe driver), so just force flush (temporarily) since it's not a bottleneck now.
2009-12-28python/retrace: Dump only the specified image rectangles.José Fonseca1-2/+2
2009-12-28xlib: Integrate the trace driver with all pipe drivers.José Fonseca7-141/+24
And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
2009-12-28scons: Fix xlib build.José Fonseca1-1/+1
After glsl rework merge.
2009-12-28nv04: Fix build after the latest nouveau_class.h changes.Francisco Jerez6-62/+62
2009-12-28nv50: Dehexify and bring up to date with new method defines.Marcin Kościelnicki8-72/+69
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-28util: better fix for unused variable warnings with assertsKeith Whitwell1-1/+1
Modify the non-debug (ie disabled) version of assert to expose the value in the expression to the compiler (avoiding the unused variable messages) while still expanding to a noop.
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee6-4/+6
2009-12-27st/xorg: Silence unused variable warnings.Vinson Lee3-0/+3
2009-12-27g3dvl: Silence compiler warnings.Vinson Lee1-0/+11
2009-12-27st/vega: Silence compiler warnings.Vinson Lee6-11/+4
2009-12-27gallium/xlib: Silence unused variable warning.Vinson Lee1-0/+1
2009-12-27trace: Silence unused variable warnings.Vinson Lee1-0/+2