Commit graph

115447 commits

Author SHA1 Message Date
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
Michal Krol
99b4655549 i915: Fix build after TGSI declaration interface changes. 2008-05-31 19:52:41 +02:00
Michal Krol
347d28fd20 cell: Fix build after TGSI declaration interface changes. 2008-05-31 19:51:50 +02:00
Michal Krol
56fc7690d7 util: Fix build after TGSI declaration interface changes. 2008-05-31 19:50:58 +02:00
Michal Krol
a49381587f tgsi: Fix build after TGSI declaration interface changes. 2008-05-31 19:48:13 +02:00
Michal Krol
3de18c2ac3 gallivm: Fix build after TGSI declaration interface changes. 2008-05-31 19:41:29 +02:00
Michal Krol
c2ff3a66a1 draw: Fix build after TGSI declaration interface changes. 2008-05-31 19:40:36 +02:00
Michal Krol
4e33edfd06 gallium: Refactor TGSI decalaration tokens.
* Incorporate declaration_interpolation into declaration itself.
* Remove declaration_mask -- always use declaration_range.
2008-05-31 18:56:20 +02:00
Michal Krol
140e0e0718 i915: Comment out dead & problematic code. 2008-05-31 18:44:47 +02:00
Michal Krol
9b3c1582be i915: Add mising include. 2008-05-31 18:42:17 +02:00
Michal Krol
a4abedc4f5 draw: Remove const qualifier. 2008-05-31 18:40:39 +02:00
Michal Krol
9046d1acfa gallium: Fix preprocessor logic. 2008-05-31 18:40:00 +02:00
Michal Krol
13581958bd draw: Remove const qualifier. 2008-05-31 18:19:21 +02:00
José Fonseca
ffc6afcdbf scons: Enable mesa state tracker in all platforms by default.
But only actually build it on some. This results in a better default
scons experience.
2008-05-31 18:55:41 +09:00
José Fonseca
3b77f391db draw: Eliminate stdio usage. 2008-05-31 18:55:40 +09:00
José Fonseca
53174afeeb mesa: Apply MSVC portability fixes from Alan Hourihane. 2008-05-31 18:55:40 +09:00
José Fonseca
45b2c23d7a i915: Eliminate void pointer arithmetic. 2008-05-31 18:55:40 +09:00
José Fonseca
054189e87a gallium: MSVC 8.0 already defines the cosf, sinf, etc. 2008-05-31 18:55:40 +09:00
José Fonseca
a9d6b1afa5 gallium: Port timing functions to WinCE. 2008-05-31 18:55:40 +09:00
Markus Amsler
a947c1a3fe r500: Use 8bit fog alpha compare value.
This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
2008-05-31 03:10:21 +02:00
Eric Anholt
fccc427aac [intel-gem] Remember last offset of reused BOs to avoid more kernel relocs.
This is good for about 5% on ipers on 965, and should help any cpu-bound app.
2008-05-30 15:12:48 -07:00
Brian Paul
12bb907522 gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driver 2008-05-30 15:07:58 -06:00
Brian Paul
3c4162ed2a egl: eglGetProcAddress() stub 2008-05-30 14:51:40 -06:00
Brian Paul
e3805cad0d egl: new eglGetProcAddress() code
The idea is to pass the call down to the device driver where an API-specific
query can be made.  Untested.
2008-05-30 14:50:33 -06:00
Brian Paul
6b9b49127e egl: bind the OpenGL API 2008-05-30 13:46:50 -06:00
Brian Paul
ba7aeb8b34 egl: specify client API by bit flag, not string 2008-05-30 13:46:31 -06:00
Brian Paul
d5078b9432 egl: clean-up re-org of the client API state 2008-05-30 13:45:40 -06:00
Brian Paul
52676207e3 egl: added eglDestroySurface function 2008-05-30 12:06:06 -06:00
Brian Paul
64d0eb111d egl: fix-up window resizes 2008-05-30 11:51:50 -06:00
Brian Paul
834aa8cfbc egl: check for EGL_DRIVER env var to override normal driver selection process 2008-05-30 11:47:09 -06:00
Brian Paul
80ed996803 egl: new version of gears demo that uses Xlib+EGL (and full OpenGL for now) 2008-05-30 11:47:09 -06:00
Brian Paul
750782a327 egl: assorted fixes. The code works now. 2008-05-30 11:47:09 -06:00
Brian Paul
057ee55720 egl: added surface_alloc_storage() 2008-05-30 11:47:08 -06:00
Brian Paul
274dd381a3 egl: fix width/height tests 2008-05-30 11:47:08 -06:00
Brian Paul
d0de5a2daf link libEGL with Xlib 2008-05-30 11:47:08 -06:00
Keith Whitwell
1529a2c983 draw: trim incoming primitives 2008-05-30 17:49:10 +01:00
Keith Whitwell
63faab0150 mesa: undo accidental setting of _ForceEyeCoords 2008-05-30 17:49:10 +01:00
Brian Paul
df7d1ee2a5 Fix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156)
This was previously fixed in master by commit 982dcb74fd by Haihao Xiang.
2008-05-30 10:08:04 -06:00
Jakob Bornecrantz
b12a31f59d i915: Now using draw_elements_range 2008-05-30 13:46:54 +02:00