Commit Graph

22337 Commits

Author SHA1 Message Date
José Fonseca
05318c5afa tgsi: Restore statement ordering. 2009-03-17 19:50:42 +00:00
Corbin Simpson
e87f26a9b6 r300-gallium: Debugging for the more sensitive card registers.
These are nearly always the cause of hardlocks, so let's dump them.
2009-03-17 11:51:15 -07:00
Corbin Simpson
0f0d0b62ff r300-gallium: r500-fs: Fixup immediate->constant counting a bit. 2009-03-17 11:51:14 -07:00
Corbin Simpson
fbd758c55e r300-gallium: More query stuff.
Should work, but doesn't. At least it doesn't hardlock.
2009-03-17 11:51:14 -07:00
Brian Paul
c334ce273e swrast: use better _swrast_compute_lambda() function
The MAX-based function can produce values that are non-monotonic for a span
which causes glitches in texture filtering.  The sqrt-based one avoids that.

This is perhaps slightly slower than before, but the difference
probably isn't noticable given we're doing software mipmap filtering.

Issue reported by Nir Radian <nirr@horizonsemi.com>
2009-03-17 10:28:32 -06:00
Vinson Lee
1eee1bac1f mesa: update/fix doxygen comments 2009-03-17 09:34:30 -06:00
José Fonseca
c1f8de9954 util: Realloc takes bytes. 2009-03-17 14:38:55 +00:00
Michal Krol
f20a0155f3 wgl: Port sharedtex_mt to WGL. 2009-03-17 14:27:47 +01:00
Michal Krol
ed3781fdc5 tgsi: Document ps_2_0 instruction set operations. 2009-03-17 12:42:45 +01:00
Michal Krol
223bf49b20 tgsi: Document ps_1_4 instruction set operations. 2009-03-17 12:42:43 +01:00
Michal Krol
95ef9803da tgsi: Document ps_1_1 instruction set operations. 2009-03-17 12:42:41 +01:00
Michal Krol
f07400592f tgsi: Begin documenting GLSL instruction set operations. 2009-03-17 12:42:38 +01:00
Michal Krol
0ff360c829 tgsi: Begin documenting NV_geometry_program4 instruction set operations. 2009-03-17 12:42:36 +01:00
Thomas Hellstrom
1d2b14cf56 xdemos: Fix sharedtex_mt.
1) Don't allow multiple threads sharing current context,
   even if they are mutex protected.
2) Remove all XLockDisplay(), XUnLockDisplay() calls, as they were
   only workarounds for xcb.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-17 11:38:00 +01:00
Michal Krol
7f1062584e python: Return on unknown pixel format. 2009-03-17 11:34:42 +01:00
Michal Krol
c337bafeb9 gallium: Use _new' name, new' is a reserved keyword in C++. 2009-03-17 10:56:00 +01:00
Michal Krol
1e23dac869 gallium: Provide unprotected atomic implementation for display and miniport interfaces. 2009-03-17 10:54:08 +01:00
Michal Krol
709b3128f3 python: Fix build after refcount rework. 2009-03-17 10:43:04 +01:00
Michal Krol
7b0c459bb4 python: Include `p_winsys_screen.h'. 2009-03-17 10:33:25 +01:00
Michal Krol
4e1c925ef5 python: Do not pass screen object to pipe_buffer_reference. 2009-03-17 10:26:38 +01:00
Michal Krol
627c2d2f0a tgsi: Silence const pointer cast warnings. 2009-03-17 10:18:24 +01:00
Corbin Simpson
175f58baa9 r300-gallium: r500-fs: Properly set up TEX/OUT. 2009-03-17 02:13:03 -07:00
Corbin Simpson
307e68f739 r300-gallium: r500-fs: Texture insts, ABS, moar comments. 2009-03-17 02:13:03 -07:00
Corbin Simpson
93ef9ec5eb r300-gallium: Clean up some code, un-special-case scalar ops. 2009-03-17 02:13:03 -07:00
Corbin Simpson
f1d93f6082 r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB.
Also a fair amount of cleanup.
2009-03-17 02:13:02 -07:00
Corbin Simpson
add896aec8 r300-gallium: Fix relocation for textures.
This keeps texture emit from invalidating CS.
2009-03-17 02:13:02 -07:00
Jakob Bornecrantz
b95789ddb9 trace: Fix memory leak 2009-03-16 21:34:03 +01:00
José Fonseca
cddf629282 util: bitmask data type. 2009-03-16 19:37:08 +00:00
Jakob Bornecrantz
068fd6d50b trace: Re-init refcounters just incase 2009-03-16 20:33:30 +01:00
Jakob Bornecrantz
f73066fbd5 trace: Dump buffer data via buffer writes 2009-03-16 20:15:25 +01:00
Jakob Bornecrantz
2f52c7f901 progs/trivial: Ignores 2009-03-16 20:15:25 +01:00
Jakob Bornecrantz
2004b99b83 progs/tests: Ignores 2009-03-16 20:15:18 +01:00
Michal Krol
d8445e8fe1 python: Use transfer object to read from a surface. 2009-03-16 16:48:18 +01:00
Michal Krol
fcf93aa06d python: pipe_vertex_buffer's pitch member has been renamed to stride. 2009-03-16 16:12:04 +01:00
Michal Krol
56282d79f6 python: size is not a member of pipe_constant_buffer any more. 2009-03-16 16:12:02 +01:00
Corbin Simpson
5ad1721540 r300-gallium: r500-fs: Add ABS. 2009-03-16 06:49:22 -07:00
Corbin Simpson
567aead92a r300-gallium: r500-fs: Clamp only when saturation flags are set. 2009-03-16 06:49:22 -07:00
Corbin Simpson
3cce08e313 r300-gallium: r500-fs: Working ADD and MUL, add more sop stuff. 2009-03-16 06:49:22 -07:00
Corbin Simpson
b9ecd7273b r300-gallium: Cleanup a few things. 2009-03-16 06:49:22 -07:00
Corbin Simpson
d16533cc87 r300-gallium: r500-fs: MUL. 2009-03-16 06:49:22 -07:00
Corbin Simpson
fe1c94d8d3 r300-gallium: r500-fs: Stub out the simple scalar ops.
COS, SIN, and CSC are not simple.
2009-03-16 06:49:21 -07:00
Corbin Simpson
a22e40c29c r300-gallium: r500-fs: Add DPH. 2009-03-16 06:49:21 -07:00
Corbin Simpson
65ec17f320 r300-gallium: r500-fs: Add dot products.
We're cookin' now.
2009-03-16 06:49:21 -07:00
Michal Krol
c97b671d64 gallium: Implement atomic for MSVC on x86. 2009-03-16 13:42:22 +01:00
Michal Krol
a7d42e11b4 gallium: Implement atomic interface for windows user mode subsystem. 2009-03-16 13:15:50 +01:00
José Fonseca
102cb5c9cd scons: Promote declaration-after-statement to error. Detect more warnings. 2009-03-16 12:01:44 +00:00
José Fonseca
e5a3aa5672 progs: Try to read the texture from the current dir, if full path fails. 2009-03-16 12:01:44 +00:00
Michal Krol
ed7bb2c196 gallium: Use macro parameter names consistently. 2009-03-16 12:39:07 +01:00
Michal Krol
bf6ed0b962 gallium: pipe_mutex_init() is of type void.
Both the windows and fallback versions are void already.
2009-03-16 12:36:22 +01:00
Michal Krol
13dad5294b gallium: Include p_compiler.h for integer types. 2009-03-16 12:27:47 +01:00