Keith Whitwell
0a4aea0e86
draw: respect driver's max vertex buffer size
2008-06-04 11:25:54 +01:00
Alan Hourihane
c218b8c6c6
Build with -O2
2008-06-04 09:56:00 +01:00
Xiang, Haihao
9e95fad02e
i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221 )
2008-06-04 15:44:38 +08:00
Keith Packard
dbf3c5247c
Merge commit 'origin/master' into drm-gem
...
Conflicts:
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h
src/mesa/drivers/dri/intel/intel_ioctl.c
2008-06-03 22:56:25 -07:00
Dave Airlie
0b734bd7cf
mesa/drm/ttm: allow build against non-TTM aware libdrm
...
I'll release a libdrm 2.3.1 without TTM apis included from a special
drm branch that should allow mesa 7.1 to build against it.
I've had to turn off DRI2 stuff.
2008-06-04 14:08:27 +10:00
Eric Anholt
4b5b008d54
[intel] Convert drivers to using libdrm bufmgr code.
2008-06-03 14:43:48 -07:00
Keith Whitwell
5b6ea6bfc8
Merge branch 'gallium-tex-surfaces' into gallium-0.1
2008-06-03 15:32:45 +01:00
Jakob Bornecrantz
afd635a950
i915: Fix compile on linux-dri-debug
2008-06-03 12:35:01 +02:00
Michal Krol
0a5df5bc7d
draw: Use register names more consistently.
2008-06-03 11:22:00 +02:00
Michal Krol
183d490ab1
draw: Fix fetch_src(). Resurrect SSE version of DP3.
2008-06-03 10:59:46 +02:00
Michal Krol
58cccc8d6b
draw: Fix DP3 implementation by replacing SSE with x87 version.
2008-06-02 21:51:31 +02:00
Ian Romanick
f688827ebd
bug #16503 : use INSTALL macro instead of hard-coding to bin/minstall
...
This is only part of the fix. Someone with more autoconf-fu will have
to fix the rest
2008-06-02 11:19:35 -07:00
Nicolai Haehnle
96adcc2e21
[t_vp_build] Fix refcounting-related memory leak
...
This memory leak is identical to the earlier one in texenvprogram.
Fixed by not creating an additional reference to new programs in cache_item.
On top of that, remove some duplicated state setting.
2008-06-02 18:42:52 +02:00
Nicolai Haehnle
934a53eb44
[texenvprogram] Fix refcounting-related memory leak.
...
All newly created programs have RefCount == 1, but the fragment program cache
added an additional reference in cache_item, with the result being that none
of the programs were ever freed.
Solve the problem by not creating the additional reference in cache_item.
2008-06-02 18:42:49 +02:00
Jakob Bornecrantz
6a3aab1983
i915: Removed useless defines
2008-06-02 17:24:31 +02:00
Jakob Bornecrantz
7cc23a9eae
i915: Implement and use the reworked batchbuffer code
2008-06-02 17:24:30 +02:00
Jakob Bornecrantz
4ee14279f3
i915: Rework of batchbuffer code
2008-06-02 17:24:30 +02:00
José Fonseca
5a67df6d7c
scons: Integrate gdi winsys.
...
Conditional build of the winsys based on the platform.
2008-06-03 00:05:54 +09:00
José Fonseca
7c22bb383a
gdi: Port of the gdi mesa driver to gallium (Alan Hourihane).
2008-06-03 00:05:54 +09:00
Keith Whitwell
6a39bcf375
draw: fast element translate path without delta
2008-06-02 14:37:03 +01:00
José Fonseca
e0860518df
gallium: Replace XSTDCALL by PIPE_CDECL.
2008-06-02 22:31:02 +09:00
José Fonseca
8d9a96386a
gallium: Port util_time functions to windows userspace.
2008-06-02 21:45:25 +09:00
José Fonseca
5027411134
gallium: More tweaks for the cosf/sinf logic.
2008-06-02 21:43:31 +09:00
José Fonseca
aa1a39d1a7
rtasm: Use enum sse_cc in sse_cmpps.
2008-06-02 20:46:05 +09:00
José Fonseca
acdf24e530
gallium: Fix log<->cos typo in logf.
2008-06-02 20:28:50 +09:00
José Fonseca
969a207fe3
gallium: Fix log<->cos typo in logf.
2008-06-02 20:17:16 +09:00
Jakob Bornecrantz
c1949e2bd3
i915: Fixed some warnings
2008-06-02 13:00:32 +02:00
Jakob Bornecrantz
f4364cd1a6
i915: Fixed initialization of surface
2008-06-02 12:59:59 +02:00
José Fonseca
9b50043ea9
gallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good.
2008-06-02 19:46:18 +09:00
José Fonseca
275fc32d58
gallium: Identify each Windows platform individually from scons.
2008-06-02 19:46:18 +09:00
José Fonseca
5463420741
scons: Set /W3 warning level for all MSVC based platforms.
2008-06-02 19:46:18 +09:00
José Fonseca
5b86ae60fe
draw: Fix MSVC warnings.
2008-06-02 19:46:18 +09:00
Michal Krol
2c7ae3371b
tgsi: Add assertions to the new rule that when an extended swizzle
...
is used, the simple swizzle must be set to identity.
2008-06-02 11:59:04 +02:00
Michal Krol
49ed85d6b1
brw: SWZ no longer aliases MOV.
2008-06-02 11:42:16 +02:00
Michal Krol
dfd30b8786
i915: SWZ no longer aliases MOV.
2008-06-02 11:41:17 +02:00
Michal Krol
dc6068a8bc
cell: SWZ no longer aliases MOV.
2008-06-02 11:40:44 +02:00
Michal Krol
c6ae627fdc
tgsi: SWZ no longer aliases to MOV.
2008-06-02 11:39:59 +02:00
Michal Krol
837d49a84e
gallium: The SWZ opcode no longer aliases MOV.
...
Also, when the extended swizzle token is used, the simple swizzle
and negate are set to X,Y,Z,W and FALSE, respectively.
2008-06-02 11:34:56 +02:00
Dave Airlie
7ead1c5d06
r500: add missing brackets around depth testing
2008-06-02 07:18:21 +10:00
Corbin Simpson
915e49e0fd
r5xx: Enable depth write emission.
...
Thanks to nh for the r3xx version.
2008-06-01 11:45:30 -07:00
Nicolai Haehnle
c9ea62444c
r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)
...
Setup fg_depth_src for depth writing programs and change early Z (ztop)
semantics.
Piglit's version of glean/fragprog test passes now (unlike Glean, its
dependency on EXT_fog_coord, which we don't support, is optional).
R3xx only at the moment, but should be straightforward to adapt to R5xx
(I don't own an R5xx, and I don't want to break anything.)
2008-06-01 19:59:42 +02:00
Nicolai Haehnle
d9c7c5f071
[r300] Fix KIL instruction and swizzling of texture coordinates
...
The KIL instruction only works if at least one texture unit is enabled
in hardware.
Texture instructions do not support swizzles, negations etc. natively,
so we now emit an explicit swizzling etc. operation when the texture coordinate
requires it.
This fixes the Piglit fp-kil test.
2008-06-01 13:23:53 +02:00
Corbin Simpson
3225e2cdb6
r5xx: Add OPCODE_FLR.
...
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
2008-06-01 03:23:00 -07:00
Corbin Simpson
9a34c68faf
r5xx: Last emit_sop() for now.
...
This should also clean up LIT later on.
2008-05-31 22:41:54 -07:00
Corbin Simpson
bffa0909cb
r5xx: More emit_sop(), stage 2.
...
SIN/COS.
2008-05-31 22:23:11 -07:00
Corbin Simpson
ea58dceb1c
r5xx: Cleanup SOP with emit_sop().
...
I wish I had a snarky commit message, but I'll save that for after I get the
trig working with this.
2008-05-31 22:09:38 -07:00
Corbin Simpson
c9679ce1d2
r5xx: Dump shader constants when dumping program assembly.
2008-05-31 20:48:15 -07:00
Dave Airlie
7013eecf28
r300: disable the lowimpact fallbacks by default.
...
because really we should be able to just fix the driver.
2008-06-01 09:32:55 +10:00
Michal Krol
a3212ee313
mesa: Fix build after TGSI declaration interface changes.
2008-05-31 19:55:27 +02:00
Michal Krol
0112211614
brw: Fix build after TGSI declaration interface changes.
2008-05-31 19:54:20 +02:00