Keith Whitwell
ec007dbe0f
st: don't unilaterally ABS the argument to RSQ
2008-12-12 16:57:38 +00:00
Brian Paul
ade777ea1b
mesa: checkpoint: GLSL 1.20 array constructors
2008-12-12 09:56:13 -07:00
Patrice Mandin
6432d03c3d
nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to swizzle textures
2008-12-12 17:22:41 +01:00
Keith Whitwell
aef455c4a7
Revert "pipebuffer: Implement proper buffer validation."
...
This reverts commit a6d866f72c .
2008-12-12 12:05:39 +00:00
Keith Whitwell
9b3bce6bed
Revert "pipebuffer: Ondemand buffer manager."
...
This reverts commit 17849eafaa .
2008-12-12 12:05:30 +00:00
Keith Whitwell
71051f1f40
Revert "pipebuffer: Fix buffer overflow."
...
This reverts commit 55839ae064 .
2008-12-12 12:05:21 +00:00
José Fonseca
d725537dba
glut: MinGW portability fixes.
...
Still, it doesn't run as well as the glut binaries...
2008-12-12 16:06:42 +09:00
José Fonseca
e9e43321ee
gdi: Reimplement using the WGL statetracker.
2008-12-12 16:06:34 +09:00
José Fonseca
638e942959
mesa: Bring in new mesa sub-statetracker.
...
Some code cleanup is still in order.
2008-12-12 16:06:28 +09:00
Roland Scheidegger
fd2492d244
gallium: fixes for srgb, new srgb formats
...
add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats
issues: the util code for generating mipmaps will not handle srgb formats
correctly (would need to use a linear->srgb conversion shader)
2008-12-12 05:12:55 +01:00
Roland Scheidegger
5bd093bd7b
mesa: fixes for srgb, new srgb formats
...
add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats
issues: _mesa_get_teximage is completely broken for srgb textures,
both for non-compressed ones (swizzling) and compressed ones
(shouldn't do standard-to-linear conversion)
texelFetch function may be broken for little or big endian
(or both...)
2008-12-12 05:12:48 +01:00
José Fonseca
500b304463
scons: Build progs.
...
Just demos and trivial dirs for starters.
Conflicts:
.gitignore
2008-12-12 12:37:21 +09:00
Brian Paul
1737f2dbdd
mesa: consolidate variable declaration initializer code for globals too
2008-12-11 19:34:43 -07:00
Brian Paul
2760bca1e1
mesa: move variable initializer IR generation into _slang_gen_var_decl()
...
More code consolidation coming...
2008-12-11 19:28:22 -07:00
Brian Paul
05ed9f7fe9
mesa: simplify some glsl variable declaration code
2008-12-11 19:10:58 -07:00
Xiang, Haihao
8b69c42b35
intel: check for null texture. ( fix #13902 )
2008-12-12 10:02:05 +08:00
Brian Paul
929eb00b32
mesa: glsl clean-ups
2008-12-11 18:49:28 -07:00
Brian Paul
2dc3de016c
mesa: checkpoint commit of GLSL 1.20 array syntax.
...
This allows things like float[3] x = float[3](1., 2., 3.);
Parsing and AST construction now. Codegen not working yet.
2008-12-11 18:02:19 -07:00
José Fonseca
fa6ee2c2bb
scons: Allow to request the winddk toolchain.
2008-12-12 09:47:20 +09:00
Alan Hourihane
9106a18f46
gallium: catch vertex overflow higher up
2008-12-11 15:10:55 +00:00
Keith Whitwell
72d456494a
st: reduce unnecessary calls to pipe->set_vertex_buffers()
2008-12-11 14:02:10 +00:00
Keith Whitwell
e8347a6000
st: move feedback draw function to new file
2008-12-11 14:02:10 +00:00
Keith Whitwell
8355568abd
st: don't unilaterally ABS the argument to RSQ
2008-12-11 14:02:10 +00:00
Michal Krol
5c845b9115
softpipe: Add missing header include.
2008-12-11 13:55:55 +01:00
Michal Krol
401a18a0c6
draw: Silencium compiler warnings on Windows.
2008-12-11 13:54:05 +01:00
Xiang, Haihao
c8b505d826
i915: fallback for cube map texture.
...
The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and
TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to
software rendering for other modes to avoid potential gpu hang issue. This
fixes scorched3d issue on 945GM(see bug 14539).
2008-12-11 14:03:00 +08:00
Brian Paul
ce3436795c
gallium: added missing brace to fix broken build
2008-12-10 18:21:40 -07:00
Brian Paul
0c31661e73
Merge commit 'origin/gallium-0.1' into gallium-0.2
2008-12-10 18:11:31 -07:00
Brian Paul
d0bc5293d6
gallium: added draw_set_mrd() function to fix polygon offset
...
The Minimum Resolvable Depth factor depends on the driver and can't just
be computed from the number of Z buffer bits.
Glean's polygon offset test now passes with softpipe.
Still need to determine the MRD factor for other gallium drivers, if they use
the draw module's polygon offset stage...
2008-12-10 18:06:44 -07:00
Brian Paul
8137da952b
gallium: only mark back color buffer surfaces as undefined after swapbuffers
...
Marking all surfaces as undefined was wrong and cause some glean failures
because glReadPixels was used after SwapBuffers.
2008-12-10 18:06:38 -07:00
Brian Paul
99b862cd77
gallium: restore default_depth_bits() call in xlib winsys
...
This was accidentally disabled in a long-ago commit.
2008-12-10 18:06:30 -07:00
Alan Hourihane
b716de4779
gallium: change 65535 to UNDEFINED_VERTEX_ID
2008-12-10 20:21:19 +00:00
Keith Whitwell
e1645313be
mesa: more trivial tests
2008-12-10 12:53:17 +00:00
Keith Whitwell
50beb86ce3
util: new funcs for triming/validating primitives
2008-12-10 12:52:07 +00:00
Keith Whitwell
7519107a97
draw: add const qualifiers
2008-12-10 12:52:06 +00:00
Alan Hourihane
a8e7852b05
gallium: more vertex count checks
2008-12-10 12:02:24 +00:00
Alan Hourihane
e3f5370d63
gallium: temporary check for > 65535 vertices
2008-12-10 11:30:46 +00:00
Brian Paul
e8f5c1a5e8
mesa: in slang linker, replace assertion with link error when max samplers exceeded
2008-12-09 14:30:42 -07:00
Brian Paul
3c7419d57b
demos: updated tests/floattex.c (doesn't work just yet).
2008-12-09 14:29:14 -07:00
Brian Paul
c89690f765
mesa: move _mesa_dlopen(), etc into separate dlopen.c file
2008-12-09 14:26:02 -07:00
Guillaume Melquiond
3b9bc821e1
tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.
...
Bug #16520 .
2008-12-09 13:18:02 -08:00
Guillaume Melquiond
b66495a0d9
tnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle.
...
SSE movss from memory zeroes out everything above the destination dword, so
we get the (a, 0) or (a, 0, 0) result that these functions needed.
Bug #16520 .
2008-12-09 13:17:48 -08:00
Guillaume Melquiond
6e29a3c8e2
tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.
...
Bug #16520
2008-12-09 11:42:24 -08:00
Guillaume Melquiond
d507cd749b
tnl: Avoid undefined input value use in insert_3f_viewport_2().
...
Bug #16520 .
2008-12-09 09:29:08 -08:00
Brian Paul
5295f9a033
glut: added GLUT_PPM_FILE env var to dump first frame to a PPM file
...
Set GLUT_PPM_FILE to the desired filename. The first frame rendered will
be written to that file.
2008-12-09 10:23:14 -07:00
Alan Hourihane
608e14c5b2
Merge commit 'origin/master' into gallium-0.2
2008-12-09 16:17:57 +00:00
Alan Hourihane
ee0735fa2d
Merge commit 'origin/gallium-0.1' into gallium-0.2
2008-12-09 16:17:45 +00:00
José Fonseca
51d9642f74
python/retrace: Dump indices too.
2008-12-09 19:37:25 +09:00
José Fonseca
2ce2a40a73
gallium: Abort by default on windows user space.
2008-12-09 19:35:52 +09:00
Pierre Willenbrock
a0d5c3cfe6
intel: Require the right amount of space in glBitmap blit acceleration.
...
This leads to problems when the batchbuffer is flushed, but the bitmap
data could not fit into it.
2008-12-08 14:06:51 -08:00