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
Alan Hourihane
e8a1b31ddf
fix conflict breakage
2008-12-08 15:03:29 +00:00
Alan Hourihane
33a1f495d4
Merge commit 'origin/master' into gallium-0.2
...
Conflicts:
progs/glsl/Makefile
2008-12-08 14:29:50 +00:00
José Fonseca
d26a43f6c6
python/retrace: Dump vertex buffer contents.
2008-12-08 17:26:02 +09:00
Pekka Paalanen
bcd5dda435
nouveau: make nv20 use NV{20,25}TCL objects
...
Up till now, nv20 driver has been using NV10TCL, and being
really an nv10 driver. That has changed.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-12-07 22:33:02 +02:00
Eric Anholt
f849d364c2
mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB).
...
The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not
CUBE_MAP_ARB, so walk all faces when we encounter that. Fixes oglconform
fbo.c segfault with both swrast and i965 drivers.
2008-12-06 22:41:52 -08:00
Eric Anholt
8b661a5d33
intel: Fall back on rendering to a texture attachment with a border.
...
Fixes a segfault in oglconform fbo.c test.
2008-12-06 22:41:52 -08:00
Eric Anholt
75b26e18a6
intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.
...
The images aren't mapped at this point, so we want the generic Mesa path for
GenerateMipmapEXT that does the mapping/unmapping for us. Ideally Mesa would
just call it for us.
2008-12-06 22:41:52 -08:00
Eric Anholt
bdc8ac4426
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
2008-12-06 22:41:51 -08:00
Eric Anholt
a0625fa281
intel: Fix glCopyPixels blit acceleration for FBO destinations.
...
This was another opportunity to either get clipped to screen size or not get
clipped enough and draw outside of object boundaries.
2008-12-06 22:41:51 -08:00
Eric Anholt
cb433d91c6
intel: Fix glBitmap blit acceleration for FBO destinations.
...
Bug #18914 . Fixes fbo_firecube hang due to drawing outside the FBO bounds.
Thanks to Pierre Willenbrock for debugging the issue.
2008-12-06 22:41:51 -08:00
Jakob Bornecrantz
54a6dcb70f
i915: Silence warnings
2008-12-05 17:24:34 +01:00
Brian
6e0f8b174d
mesa: assorted clean-ups, updated comments, etc.
2008-12-05 09:20:06 -07:00
Brian
249e1e4d30
mesa: replace large macros with inline functions
2008-12-05 09:20:06 -07:00
Brian
b9604fe769
softpipe: plug in softpipe's texture samplers into draw module.
2008-12-04 09:58:54 -07:00
Brian
f2bccfd3c8
gallium: added draw_texture_samplers() to support texture fetches from vertex shaders
...
This may only be practical for the softpipe driver at this time.
2008-12-04 09:58:54 -07:00
Brian
1d9360b678
gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ctx->Constants.MaxVertexTextureImageUnits
2008-12-04 09:58:54 -07:00
Brian
7eb8b37735
gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
2008-12-04 09:58:54 -07:00
Brian
9271662ae9
gallium: check vertex shaders for samplers/texture usage as we do for fragment shaders
2008-12-04 09:58:54 -07:00