mesa.git
15 years agomesa: copy array_len in slang_fully_specified_type_copy()
Brian Paul [Fri, 12 Dec 2008 22:01:00 +0000 (15:01 -0700)]
mesa: copy array_len in slang_fully_specified_type_copy()

15 years agomesa: remove incorrect array_len assignment
Brian Paul [Fri, 12 Dec 2008 22:00:06 +0000 (15:00 -0700)]
mesa: remove incorrect array_len assignment

15 years agomesa: move declaration
Alan Hourihane [Fri, 12 Dec 2008 20:37:21 +0000 (20:37 +0000)]
mesa: move declaration

15 years agomesa: when we have interleaved arrays, check bounds for both
Alan Hourihane [Fri, 12 Dec 2008 20:31:39 +0000 (20:31 +0000)]
mesa: when we have interleaved arrays, check bounds for both
VBO's and user space objects

15 years agomesa: array size fix in _slang_typeof_operation()
Brian Paul [Fri, 12 Dec 2008 20:18:30 +0000 (13:18 -0700)]
mesa: array size fix in _slang_typeof_operation()

15 years agomesa: fix some more GLSL 1.20 array things.
Brian Paul [Fri, 12 Dec 2008 20:05:29 +0000 (13:05 -0700)]
mesa: fix some more GLSL 1.20 array things.

Function that return arrays should work now.

15 years agogallium: fix refcount bug introduced in eb20e2984
Keith Whitwell [Fri, 12 Dec 2008 18:34:49 +0000 (18:34 +0000)]
gallium: fix refcount bug introduced in eb20e2984

15 years agoMerge branch 'no-validate' into gallium-0.1
Keith Whitwell [Fri, 12 Dec 2008 17:41:49 +0000 (17:41 +0000)]
Merge branch 'no-validate' into gallium-0.1

15 years agomesa: more glsl function renaming
Brian Paul [Fri, 12 Dec 2008 17:32:56 +0000 (10:32 -0700)]
mesa: more glsl function renaming

15 years agomesa: use _slang_alloc()
Brian Paul [Fri, 12 Dec 2008 17:29:15 +0000 (10:29 -0700)]
mesa: use _slang_alloc()

15 years agomesa: glsl compiler function renaming
Brian Paul [Fri, 12 Dec 2008 17:22:47 +0000 (10:22 -0700)]
mesa: glsl compiler function renaming

15 years agomesa: more glsl type/function movement
Brian Paul [Fri, 12 Dec 2008 17:17:58 +0000 (10:17 -0700)]
mesa: more glsl type/function movement

15 years agomesa: move some glsl compiler functions to different files to be more consistant
Brian Paul [Fri, 12 Dec 2008 17:11:41 +0000 (10:11 -0700)]
mesa: move some glsl compiler functions to different files to be more consistant

15 years agomesa: move _slang_locate_function() to different file
Brian Paul [Fri, 12 Dec 2008 17:03:31 +0000 (10:03 -0700)]
mesa: move _slang_locate_function() to different file

15 years agomesa: remove unused fixup table code in glsl compiler
Brian Paul [Fri, 12 Dec 2008 16:58:18 +0000 (09:58 -0700)]
mesa: remove unused fixup table code in glsl compiler

15 years agogallium: avoid mapping same vertex buffer in subsequent frames
Keith Whitwell [Fri, 12 Dec 2008 16:46:34 +0000 (16:46 +0000)]
gallium: avoid mapping same vertex buffer in subsequent frames

Quite a few util modules were maintaining a single vertex buffer over multiple
frames, and potentially reusing it in subsequent frames.  Unfortunately that
would force us into syncrhonous rendering as the buffer manager would be
forced to wait for the previous rendering to complete prior to allowing the
map.

This resolves that issue, but requires the state tracker to issue a few new
flush() calls at the end of each frame.

15 years agost: reduce unnecessary calls to pipe->set_vertex_buffers()
Keith Whitwell [Wed, 10 Dec 2008 15:43:21 +0000 (15:43 +0000)]
st: reduce unnecessary calls to pipe->set_vertex_buffers()

15 years agost: move feedback draw function to new file
Keith Whitwell [Wed, 10 Dec 2008 15:42:28 +0000 (15:42 +0000)]
st: move feedback draw function to new file

15 years agost: don't unilaterally ABS the argument to RSQ
Keith Whitwell [Wed, 10 Dec 2008 15:41:48 +0000 (15:41 +0000)]
st: don't unilaterally ABS the argument to RSQ

15 years agomesa: checkpoint: GLSL 1.20 array constructors
Brian Paul [Fri, 12 Dec 2008 16:56:13 +0000 (09:56 -0700)]
mesa: checkpoint: GLSL 1.20 array constructors

15 years agonouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to swizzle...
Patrice Mandin [Fri, 12 Dec 2008 16:22:41 +0000 (17:22 +0100)]
nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to swizzle textures

15 years agoRevert "pipebuffer: Implement proper buffer validation."
Keith Whitwell [Fri, 12 Dec 2008 12:05:39 +0000 (12:05 +0000)]
Revert "pipebuffer: Implement proper buffer validation."

This reverts commit a6d866f72c88d48d2bcfb3e3c882fdb639b5a8ce.

15 years agoRevert "pipebuffer: Ondemand buffer manager."
Keith Whitwell [Fri, 12 Dec 2008 12:05:30 +0000 (12:05 +0000)]
Revert "pipebuffer: Ondemand buffer manager."

This reverts commit 17849eafaacfbb2124d86f561a91b707317d3b31.

15 years agoRevert "pipebuffer: Fix buffer overflow."
Keith Whitwell [Fri, 12 Dec 2008 12:05:21 +0000 (12:05 +0000)]
Revert "pipebuffer: Fix buffer overflow."

This reverts commit 55839ae064d64b7fcc180fcddb364bf31ab760dc.

15 years agoglut: MinGW portability fixes.
José Fonseca [Thu, 20 Nov 2008 20:26:52 +0000 (05:26 +0900)]
glut: MinGW portability fixes.

Still, it doesn't run as well as the glut binaries...

15 years agogdi: Reimplement using the WGL statetracker.
José Fonseca [Thu, 20 Nov 2008 20:25:31 +0000 (05:25 +0900)]
gdi: Reimplement using the WGL statetracker.

15 years agomesa: Bring in new mesa sub-statetracker.
José Fonseca [Thu, 20 Nov 2008 20:24:35 +0000 (05:24 +0900)]
mesa: Bring in new mesa sub-statetracker.

Some code cleanup is still in order.

15 years agogallium: fixes for srgb, new srgb formats
Roland Scheidegger [Fri, 12 Dec 2008 04:09:56 +0000 (05:09 +0100)]
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)

15 years agomesa: fixes for srgb, new srgb formats
Roland Scheidegger [Fri, 12 Dec 2008 04:06:48 +0000 (05:06 +0100)]
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...)

15 years agoscons: Build progs.
José Fonseca [Fri, 12 Dec 2008 03:37:21 +0000 (12:37 +0900)]
scons: Build progs.

Just demos and trivial dirs for starters.

Conflicts:

.gitignore

15 years agomesa: consolidate variable declaration initializer code for globals too
Brian Paul [Fri, 12 Dec 2008 02:34:43 +0000 (19:34 -0700)]
mesa: consolidate variable declaration initializer code for globals too

15 years agomesa: move variable initializer IR generation into _slang_gen_var_decl()
Brian Paul [Fri, 12 Dec 2008 02:28:22 +0000 (19:28 -0700)]
mesa: move variable initializer IR generation into _slang_gen_var_decl()

More code consolidation coming...

15 years agomesa: simplify some glsl variable declaration code
Brian Paul [Fri, 12 Dec 2008 02:10:58 +0000 (19:10 -0700)]
mesa: simplify some glsl variable declaration code

15 years agointel: check for null texture. (fix #13902)
Xiang, Haihao [Fri, 12 Dec 2008 02:02:05 +0000 (10:02 +0800)]
intel: check for null texture. (fix #13902)

15 years agomesa: glsl clean-ups
Brian Paul [Fri, 12 Dec 2008 01:49:28 +0000 (18:49 -0700)]
mesa: glsl clean-ups

15 years agomesa: checkpoint commit of GLSL 1.20 array syntax.
Brian Paul [Fri, 12 Dec 2008 01:02:19 +0000 (18:02 -0700)]
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.

15 years agoscons: Allow to request the winddk toolchain.
José Fonseca [Fri, 12 Dec 2008 00:44:47 +0000 (09:44 +0900)]
scons: Allow to request the winddk toolchain.

15 years agogallium: catch vertex overflow higher up
Alan Hourihane [Thu, 11 Dec 2008 15:10:55 +0000 (15:10 +0000)]
gallium: catch vertex overflow higher up

15 years agost: reduce unnecessary calls to pipe->set_vertex_buffers()
Keith Whitwell [Wed, 10 Dec 2008 15:43:21 +0000 (15:43 +0000)]
st: reduce unnecessary calls to pipe->set_vertex_buffers()

15 years agost: move feedback draw function to new file
Keith Whitwell [Wed, 10 Dec 2008 15:42:28 +0000 (15:42 +0000)]
st: move feedback draw function to new file

15 years agost: don't unilaterally ABS the argument to RSQ
Keith Whitwell [Wed, 10 Dec 2008 15:41:48 +0000 (15:41 +0000)]
st: don't unilaterally ABS the argument to RSQ

15 years agosoftpipe: Add missing header include.
Michal Krol [Thu, 11 Dec 2008 12:55:55 +0000 (13:55 +0100)]
softpipe: Add missing header include.

15 years agodraw: Silencium compiler warnings on Windows.
Michal Krol [Thu, 11 Dec 2008 12:54:05 +0000 (13:54 +0100)]
draw: Silencium compiler warnings on Windows.

15 years agoi915: fallback for cube map texture.
Xiang, Haihao [Thu, 11 Dec 2008 06:03:00 +0000 (14:03 +0800)]
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).

15 years agogallium: added missing brace to fix broken build
Brian Paul [Thu, 11 Dec 2008 01:21:40 +0000 (18:21 -0700)]
gallium: added missing brace to fix broken build

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
Brian Paul [Thu, 11 Dec 2008 01:11:31 +0000 (18:11 -0700)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

15 years agogallium: added draw_set_mrd() function to fix polygon offset
Brian Paul [Thu, 11 Dec 2008 01:02:27 +0000 (18:02 -0700)]
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...

15 years agogallium: only mark back color buffer surfaces as undefined after swapbuffers
Brian Paul [Thu, 11 Dec 2008 01:00:59 +0000 (18:00 -0700)]
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.

15 years agogallium: restore default_depth_bits() call in xlib winsys
Brian Paul [Thu, 11 Dec 2008 01:00:36 +0000 (18:00 -0700)]
gallium: restore default_depth_bits() call in xlib winsys

This was accidentally disabled in a long-ago commit.

15 years agogallium: change 65535 to UNDEFINED_VERTEX_ID
Alan Hourihane [Wed, 10 Dec 2008 20:21:19 +0000 (20:21 +0000)]
gallium: change 65535 to UNDEFINED_VERTEX_ID

15 years agomesa: more trivial tests
Keith Whitwell [Tue, 25 Nov 2008 20:02:00 +0000 (20:02 +0000)]
mesa: more trivial tests

15 years agoutil: new funcs for triming/validating primitives
Keith Whitwell [Tue, 9 Dec 2008 16:57:53 +0000 (16:57 +0000)]
util: new funcs for triming/validating primitives

15 years agodraw: add const qualifiers
Keith Whitwell [Tue, 9 Dec 2008 16:54:16 +0000 (16:54 +0000)]
draw: add const qualifiers

15 years agogallium: more vertex count checks
Alan Hourihane [Wed, 10 Dec 2008 12:02:24 +0000 (12:02 +0000)]
gallium: more vertex count checks

15 years agogallium: temporary check for > 65535 vertices
Alan Hourihane [Wed, 10 Dec 2008 11:30:46 +0000 (11:30 +0000)]
gallium: temporary check for > 65535 vertices

15 years agomesa: in slang linker, replace assertion with link error when max samplers exceeded
Brian Paul [Tue, 9 Dec 2008 21:30:42 +0000 (14:30 -0700)]
mesa: in slang linker, replace assertion with link error when max samplers exceeded

15 years agodemos: updated tests/floattex.c (doesn't work just yet).
Brian Paul [Tue, 9 Dec 2008 21:29:14 +0000 (14:29 -0700)]
demos: updated tests/floattex.c (doesn't work just yet).

15 years agomesa: move _mesa_dlopen(), etc into separate dlopen.c file
Brian Paul [Tue, 9 Dec 2008 21:26:02 +0000 (14:26 -0700)]
mesa: move _mesa_dlopen(), etc into separate dlopen.c file

15 years agotnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.
Guillaume Melquiond [Tue, 9 Dec 2008 21:15:05 +0000 (13:15 -0800)]
tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.

Bug #16520.

15 years agotnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle.
Guillaume Melquiond [Tue, 9 Dec 2008 21:10:56 +0000 (13:10 -0800)]
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.

15 years agotnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.
Guillaume Melquiond [Tue, 9 Dec 2008 19:42:24 +0000 (11:42 -0800)]
tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.

Bug #16520

15 years agotnl: Avoid undefined input value use in insert_3f_viewport_2().
Guillaume Melquiond [Tue, 9 Dec 2008 17:29:08 +0000 (09:29 -0800)]
tnl: Avoid undefined input value use in insert_3f_viewport_2().

Bug #16520.

15 years agoglut: added GLUT_PPM_FILE env var to dump first frame to a PPM file
Brian Paul [Mon, 8 Dec 2008 22:42:54 +0000 (15:42 -0700)]
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.

15 years agoMerge commit 'origin/master' into gallium-0.2
Alan Hourihane [Tue, 9 Dec 2008 16:17:57 +0000 (16:17 +0000)]
Merge commit 'origin/master' into gallium-0.2

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
Alan Hourihane [Tue, 9 Dec 2008 16:17:45 +0000 (16:17 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

15 years agopython/retrace: Dump indices too.
José Fonseca [Tue, 9 Dec 2008 10:37:25 +0000 (19:37 +0900)]
python/retrace: Dump indices too.

15 years agogallium: Abort by default on windows user space.
José Fonseca [Tue, 9 Dec 2008 10:35:52 +0000 (19:35 +0900)]
gallium: Abort by default on windows user space.

15 years agointel: Require the right amount of space in glBitmap blit acceleration.
Pierre Willenbrock [Mon, 8 Dec 2008 22:06:51 +0000 (14:06 -0800)]
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.

15 years agofix conflict breakage
Alan Hourihane [Mon, 8 Dec 2008 15:03:29 +0000 (15:03 +0000)]
fix conflict breakage

15 years agoMerge commit 'origin/master' into gallium-0.2
Alan Hourihane [Mon, 8 Dec 2008 14:29:50 +0000 (14:29 +0000)]
Merge commit 'origin/master' into gallium-0.2

Conflicts:

progs/glsl/Makefile

15 years agopython/retrace: Dump vertex buffer contents.
José Fonseca [Mon, 8 Dec 2008 08:26:02 +0000 (17:26 +0900)]
python/retrace: Dump vertex buffer contents.

15 years agonouveau: make nv20 use NV{20,25}TCL objects
Pekka Paalanen [Sat, 6 Dec 2008 23:05:54 +0000 (01:05 +0200)]
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>
15 years agomesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB).
Eric Anholt [Sun, 7 Dec 2008 05:14:56 +0000 (21:14 -0800)]
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.

15 years agointel: Fall back on rendering to a texture attachment with a border.
Eric Anholt [Sat, 6 Dec 2008 23:47:23 +0000 (15:47 -0800)]
intel: Fall back on rendering to a texture attachment with a border.

Fixes a segfault in oglconform fbo.c test.

15 years agointel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.
Eric Anholt [Sat, 6 Dec 2008 23:21:47 +0000 (15:21 -0800)]
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.

15 years agointel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
Eric Anholt [Wed, 3 Dec 2008 23:32:51 +0000 (15:32 -0800)]
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.

15 years agointel: Fix glCopyPixels blit acceleration for FBO destinations.
Eric Anholt [Sat, 6 Dec 2008 22:51:17 +0000 (14:51 -0800)]
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.

15 years agointel: Fix glBitmap blit acceleration for FBO destinations.
Eric Anholt [Sat, 6 Dec 2008 22:21:12 +0000 (14:21 -0800)]
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.

15 years agoi915: Silence warnings
Jakob Bornecrantz [Sun, 16 Nov 2008 11:33:58 +0000 (12:33 +0100)]
i915: Silence warnings

15 years agomesa: assorted clean-ups, updated comments, etc.
Brian [Sun, 30 Nov 2008 00:25:44 +0000 (17:25 -0700)]
mesa: assorted clean-ups, updated comments, etc.

15 years agomesa: replace large macros with inline functions
Brian [Sat, 29 Nov 2008 23:03:40 +0000 (16:03 -0700)]
mesa: replace large macros with inline functions

15 years agosoftpipe: plug in softpipe's texture samplers into draw module.
Brian [Wed, 3 Dec 2008 05:40:08 +0000 (22:40 -0700)]
softpipe: plug in softpipe's texture samplers into draw module.

15 years agogallium: added draw_texture_samplers() to support texture fetches from vertex shaders
Brian [Wed, 3 Dec 2008 05:38:46 +0000 (22:38 -0700)]
gallium: added draw_texture_samplers() to support texture fetches from vertex shaders

This may only be practical for the softpipe driver at this time.

15 years agogallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ctx->Constants.MaxVertexTextu...
Brian [Wed, 3 Dec 2008 05:37:35 +0000 (22:37 -0700)]
gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ctx->Constants.MaxVertexTextureImageUnits

15 years agogallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query
Brian [Wed, 3 Dec 2008 05:36:27 +0000 (22:36 -0700)]
gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query

15 years agogallium: check vertex shaders for samplers/texture usage as we do for fragment shaders
Brian [Wed, 3 Dec 2008 03:10:32 +0000 (20:10 -0700)]
gallium: check vertex shaders for samplers/texture usage as we do for fragment shaders

15 years agodemos: added simple vertex shader texture test.
Brian [Wed, 3 Dec 2008 05:51:39 +0000 (22:51 -0700)]
demos: added simple vertex shader texture test.

Draw a quadmesh where Z coord is taken from a texture map.

15 years agodarwin: Use -Os instead of -O2
Jeremy Huddleston [Thu, 4 Dec 2008 01:03:13 +0000 (17:03 -0800)]
darwin: Use -Os instead of -O2
(cherry picked from commit 456dbb143a0d11b69d8af0d493cd84efb0596273)

15 years agoi965: Fix failure to upload new constant data when changing programs.
Eric Anholt [Wed, 3 Dec 2008 19:36:55 +0000 (11:36 -0800)]
i965: Fix failure to upload new constant data when changing programs.

This is fallout from the ffvertex_prog.c work.  It doesn't call
ProgramStringNotify, so we don't set param_state, so we wouldn't track when
VP parameters changed, and constants wouldn't get uploaded.  Instead, remove
param_state entirely and just use the real value that we want to be tracking.

Fixes rendering in openarena since BRW_NEW_BATCH got disentangled from
BRW_NEW_INDICES.

Bug #18822.

15 years agoi965: Fix stray character that the compile whined about.
Eric Anholt [Wed, 3 Dec 2008 19:30:58 +0000 (11:30 -0800)]
i965: Fix stray character that the compile whined about.

15 years agonouveau: Calc pitch for swizzled textures appropriately.
Younes Manton [Tue, 2 Dec 2008 21:12:49 +0000 (16:12 -0500)]
nouveau: Calc pitch for swizzled textures appropriately.

15 years agomesa: Update some .gitignore files.
Younes Manton [Tue, 2 Dec 2008 05:23:30 +0000 (00:23 -0500)]
mesa: Update some .gitignore files.

15 years agonouveau: Use swizzled textures & render targets on nv40 when possible.
Younes Manton [Tue, 2 Dec 2008 04:48:29 +0000 (23:48 -0500)]
nouveau: Use swizzled textures & render targets on nv40 when possible.

15 years agonouveau: nv04-nv40 linear <-> swizzled conversion.
Younes Manton [Tue, 2 Dec 2008 03:24:19 +0000 (22:24 -0500)]
nouveau: nv04-nv40 linear <-> swizzled conversion.

15 years agogallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.
Younes Manton [Tue, 2 Dec 2008 03:08:59 +0000 (22:08 -0500)]
gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.

15 years agog3dvl: Map/unmap incoming block texture once per frame.
Younes Manton [Mon, 24 Nov 2008 22:31:25 +0000 (17:31 -0500)]
g3dvl: Map/unmap incoming block texture once per frame.

(Technically once per flush, but we flush once per frame.)

15 years agog3dvl: Use texture instead of surface for backbuffer.
Younes Manton [Sun, 23 Nov 2008 19:06:20 +0000 (14:06 -0500)]
g3dvl: Use texture instead of surface for backbuffer.

15 years agog3dvl: Move MC shaders to a seperate file, #included in the original.
Younes Manton [Sun, 23 Nov 2008 18:28:01 +0000 (13:28 -0500)]
g3dvl: Move MC shaders to a seperate file, #included in the original.

15 years agoBump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.
Kristian Høgsberg [Tue, 2 Dec 2008 02:44:03 +0000 (21:44 -0500)]
Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.

15 years agointel: restore old vertex submit paths for i8xx hardware.
Dave Airlie [Fri, 28 Nov 2008 09:38:47 +0000 (19:38 +1000)]
intel: restore old vertex submit paths for i8xx hardware.

Intel docs state that only 830/845 have VBOs, 855/865 don't. So
lets just not use them on i8xx at all.

This restores the old pre-vbo code and uses it on all 8xx hw.