mesa.git
15 years agomesa: add missing cases for texture array targets
Brian Paul [Wed, 17 Dec 2008 20:17:15 +0000 (13:17 -0700)]
mesa: add missing cases for texture array targets

15 years agoRevert "mesa: fix vertex program test in get_fp_input_mask()"
Brian Paul [Wed, 17 Dec 2008 18:29:06 +0000 (11:29 -0700)]
Revert "mesa: fix vertex program test in get_fp_input_mask()"

This reverts commit 8dc88cb64305c591dfadded2b5acbb1e6b04cd7f.

This change broke other things...

15 years agomesa: fix vertex program test in get_fp_input_mask()
Brian Paul [Wed, 17 Dec 2008 17:55:40 +0000 (10:55 -0700)]
mesa: fix vertex program test in get_fp_input_mask()

We were accidentally using the fixed-function logic when a vertex shader was
being used.

15 years agowinsys: fix depth buffer size when using stencil
Brian Paul [Wed, 17 Dec 2008 17:55:29 +0000 (10:55 -0700)]
winsys: fix depth buffer size when using stencil

15 years agomesa: remove redundant Makefile lines
Brian Paul [Tue, 16 Dec 2008 23:38:11 +0000 (16:38 -0700)]
mesa: remove redundant Makefile lines

15 years agomesa: updated list of src files
Brian Paul [Tue, 16 Dec 2008 23:01:30 +0000 (16:01 -0700)]
mesa: updated list of src files

15 years agomesa: update SConscript with new source files
Brian Paul [Tue, 16 Dec 2008 22:53:35 +0000 (15:53 -0700)]
mesa: update SConscript with new source files

15 years agoMerge commit 'origin/master' into gallium-0.2
Brian Paul [Tue, 16 Dec 2008 22:50:14 +0000 (15:50 -0700)]
Merge commit 'origin/master' into gallium-0.2

15 years agotgsi: use flr(), not trunc() for ARL
Brian Paul [Tue, 16 Dec 2008 22:39:14 +0000 (15:39 -0700)]
tgsi: use flr(), not trunc() for ARL

15 years agomesa: disable debug output
Brian Paul [Tue, 16 Dec 2008 22:25:58 +0000 (15:25 -0700)]
mesa: disable debug output

15 years agomesa: fix some GLSL array regressions
Brian Paul [Tue, 16 Dec 2008 21:29:52 +0000 (14:29 -0700)]
mesa: fix some GLSL array regressions

array.length() wasn't working.
Swizzle mask for accessing elements of float arrays was incorrect.

15 years agogallium: fix some asserts
Alan Hourihane [Tue, 16 Dec 2008 09:42:52 +0000 (09:42 +0000)]
gallium: fix some asserts

15 years agonv40: apply ABS modifier to RSQ source in vp
Ben Skeggs [Tue, 16 Dec 2008 06:34:04 +0000 (17:34 +1100)]
nv40: apply ABS modifier to RSQ source in vp

Gallium used to do this for us :)

15 years agonouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
Ben Skeggs [Tue, 16 Dec 2008 06:30:04 +0000 (17:30 +1100)]
nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS

15 years agomesa: rename slang_library_noise.[ch] to prog_noise.[ch] and rename functions
Brian Paul [Tue, 16 Dec 2008 01:37:39 +0000 (18:37 -0700)]
mesa: rename slang_library_noise.[ch] to prog_noise.[ch] and rename functions

The noise functions were not glsl-specific.
Also, ran indent on the code to clean it up.

15 years agomesa: updated GLSL docs
Brian Paul [Tue, 16 Dec 2008 01:30:40 +0000 (18:30 -0700)]
mesa: updated GLSL docs

15 years agoMerge branch 'glsl-1.20-v2'
Brian Paul [Tue, 16 Dec 2008 01:25:43 +0000 (18:25 -0700)]
Merge branch 'glsl-1.20-v2'

15 years agomesa: bump glsl grammar revision
Brian Paul [Tue, 16 Dec 2008 01:24:16 +0000 (18:24 -0700)]
mesa: bump glsl grammar revision

And update some copyrights.

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 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 agomesa: more re-org of variable declarations in glsl compiler
Brian Paul [Tue, 16 Dec 2008 01:18:08 +0000 (18:18 -0700)]
mesa: more re-org of variable declarations in glsl compiler

15 years agomesa: more comments, clean up
Brian Paul [Mon, 15 Dec 2008 23:57:37 +0000 (16:57 -0700)]
mesa: more comments, clean up

15 years agomesa: added comments, remove unused code
Brian Paul [Mon, 15 Dec 2008 23:49:32 +0000 (16:49 -0700)]
mesa: added comments, remove unused code

15 years agomesa: checkpoint: handle uniform vars in _slang_gen_var_decl()
Brian Paul [Mon, 15 Dec 2008 23:44:55 +0000 (16:44 -0700)]
mesa: checkpoint: handle uniform vars in _slang_gen_var_decl()

This allows uniform declarations with scalar/array initializers.
The code is rough though, and will be cleaned up.

15 years agointel: stub out CompressedTexSubImage2D instead of segfaulting.
Eric Anholt [Mon, 15 Dec 2008 23:10:18 +0000 (15:10 -0800)]
intel: stub out CompressedTexSubImage2D instead of segfaulting.

15 years agoi965: Update state before checking for fallbacks in brw_try_draw_prims.
Eric Anholt [Mon, 15 Dec 2008 21:25:20 +0000 (13:25 -0800)]
i965: Update state before checking for fallbacks in brw_try_draw_prims.

This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6.

Bug #18907.  Thanks to idr for pointing me at a nicer testcase than blender.

15 years agogallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition.
Michal Krol [Mon, 15 Dec 2008 11:29:34 +0000 (12:29 +0100)]
gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition.

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
Alan Hourihane [Mon, 15 Dec 2008 11:22:19 +0000 (11:22 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/winsys/gdi/SConscript

15 years agoMerge commit 'origin/master' into gallium-0.2
Alan Hourihane [Mon, 15 Dec 2008 11:16:03 +0000 (11:16 +0000)]
Merge commit 'origin/master' into gallium-0.2

15 years agointel: Don't steal renderbuffer from caller in intel_miptree_create_for_region
Pierre Willenbrock [Fri, 12 Dec 2008 20:18:23 +0000 (21:18 +0100)]
intel: Don't steal renderbuffer from caller in intel_miptree_create_for_region

Fixes double-frees of some regions, once from the renderbuffer code and
once from the miptree itself.

Bug #19062

15 years agoi965: Add decode of index/vertex buffer and primitive emit.
Eric Anholt [Wed, 10 Dec 2008 20:43:58 +0000 (12:43 -0800)]
i965: Add decode of index/vertex buffer and primitive emit.

15 years agointel: Add batchbuffer assertions to hopefully catch future mistakes.
Eric Anholt [Wed, 10 Dec 2008 07:02:48 +0000 (23:02 -0800)]
intel: Add batchbuffer assertions to hopefully catch future mistakes.

15 years agoPerform range checking on app supplied texture base level
Ian Romanick [Mon, 15 Dec 2008 02:42:11 +0000 (18:42 -0800)]
Perform range checking on app supplied texture base level

It is possible for applications to specify any texture base level,
including trivially invalid values (i.e., 47000000).  When an app
specifies an invalide base level, we should gracefully disable the
texture instead of accessing memory outside the gl_texture_object.

This fixes an occasional segfault in one of our conformance tests.

15 years agoGLX: Include glapi.h before glapitable.h
Ian Romanick [Mon, 15 Dec 2008 02:40:39 +0000 (18:40 -0800)]
GLX: Include glapi.h before glapitable.h

A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change
some of the interdependencies between these two header files.  Now
glapi.h must be included before glapitable.h.

15 years agoGLX: Change resulting from previous commit
Ian Romanick [Fri, 12 Dec 2008 20:59:59 +0000 (12:59 -0800)]
GLX: Change resulting from previous commit

Commit db61cbfa2aa241da49589331d8b6875d9a77d826 made modifications to
the protocol generator data and scripts.  This commit represents the
changes to the generated files resulting from the previous changes.

This is the client-side part of the fix for bugzilla #11003.

15 years agoReturn 0 as the request size when the pixels parameter is NULL
Neil Roberts [Tue, 2 Dec 2008 15:03:01 +0000 (15:03 +0000)]
Return 0 as the request size when the pixels parameter is NULL

img_null_flag was being ignored when calculating the size of a request
so a BadLength error gets thrown for glTexImage3D when the pixels
parameter is NULL.

See bug #11003

15 years agoGLX: Fix protocol for glTexSubImage#D
Ian Romanick [Tue, 9 Dec 2008 22:43:09 +0000 (14:43 -0800)]
GLX: Fix protocol for glTexSubImage#D

The TexSubImage commands do not have the "NULL image" flag that was
introduced with glTexImage3D.  However, there is a CARD32 pad element
where that flag would be.  Removing the img_null_flag causes the flag
to be removed from the protocol.  This changes the protocol and breaks
everything.

In order to prevent needing to hand-code all of the TexSubImage
functions, a new attribute was added to the param element.  This new
attribute, called "padding," is a boolean flag that selects whether or
not the parameter is a real parameter (default / false) or is protocol
padding (true) that does not appear in the function's parameter list.

This change resulted in a number of changes to other Python scripts.
In almost all cases parameters with the is_padding flag set should not
be emitted.

This patch only changes the the XML, the DTD, and the generator
scripts.  It does NOT include the resulting changes to the generated
code.  Generated code in the X server is also changed by the script /
XML changes in this patch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
15 years agoAdd OSMesa pkg-config file
Dan Nicholson [Sun, 14 Dec 2008 17:35:29 +0000 (09:35 -0800)]
Add OSMesa pkg-config file

This makes the GLU .pc file a little simpler, too.

15 years agoAdd more package metadata to the pkg-config files
Dan Nicholson [Mon, 24 Nov 2008 19:01:57 +0000 (11:01 -0800)]
Add more package metadata to the pkg-config files

The pkg-config files have been filled in more thoroughly to allow users
to use mesa more effectively. By adding metadata to Requires.private,
Libs.private and Cflags, we can ensure that all the libraries and
headers will be found in all situations. However, the full substitutions
are only done when using the configure script.

This also fixes the glu pkg-config file to account for using GL or
OSMesa.

Fixes bug 18161.

15 years agoFix silly type mismatch error in multinoise demo.
Gary Wong [Sun, 14 Dec 2008 03:06:21 +0000 (20:06 -0700)]
Fix silly type mismatch error in multinoise demo.

15 years agoi965: Finish OPCODE_NOISEn instructions.
Gary Wong [Sat, 13 Dec 2008 21:15:33 +0000 (14:15 -0700)]
i965: Finish OPCODE_NOISEn instructions.

Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD)
in the initial RNDD instructions (which avoids saturating negative inputs
to 0).

15 years agoAdd "multinoise" demo, to test 1/2/3/4 dimensional noise.
Gary Wong [Sat, 13 Dec 2008 21:00:37 +0000 (14:00 -0700)]
Add "multinoise" demo, to test 1/2/3/4 dimensional noise.

15 years agoEnsure p.w is initialised in noise demo.
Gary Wong [Sat, 13 Dec 2008 19:58:18 +0000 (12:58 -0700)]
Ensure p.w is initialised in noise demo.

15 years agoNouveau: move the definition of log2i() to header
Pekka Paalanen [Sat, 13 Dec 2008 21:24:39 +0000 (23:24 +0200)]
Nouveau: move the definition of log2i() to header

Also make the type unsigned instead of signed, since negative
values do not make sense.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agomesa: use IFLOOR(x) instead of (int) FLOORF(x)
Brian Paul [Sat, 13 Dec 2008 01:03:48 +0000 (18:03 -0700)]
mesa: use IFLOOR(x) instead of (int) FLOORF(x)

15 years agomesa: place glsl constant arrays in constant memory
Brian Paul [Sat, 13 Dec 2008 01:00:47 +0000 (18:00 -0700)]
mesa: place glsl constant arrays in constant memory

For example, a declaration like
   const float[3] xxx = float[3](1.1, 2.2, 3.3);
will place the array in the constant buffer whereas a regular, non-const array
would be placed in the temporary register file.
Next up: do the same thing for uniform arrays.

15 years agomesa: remove old size=4 limit
Brian Paul [Sat, 13 Dec 2008 01:00:19 +0000 (18:00 -0700)]
mesa: remove old size=4 limit

15 years agomesa: code clean-up in glsl compiler
Brian Paul [Fri, 12 Dec 2008 23:20:31 +0000 (16:20 -0700)]
mesa: code clean-up in glsl compiler

15 years agomesa: remove unneeded swizzle init code in glsl compiler
Brian Paul [Fri, 12 Dec 2008 23:02:31 +0000 (16:02 -0700)]
mesa: remove unneeded swizzle init code in glsl compiler

15 years agoMerge commit 'origin/master' into gallium-0.2
Alan Hourihane [Fri, 12 Dec 2008 23:02:13 +0000 (23:02 +0000)]
Merge commit 'origin/master' into gallium-0.2

15 years agomesa: disable glsl debug output
Brian Paul [Fri, 12 Dec 2008 22:34:58 +0000 (15:34 -0700)]
mesa: disable glsl debug output

15 years agomesa: remove unused varpool code in glsl compiler
Brian Paul [Fri, 12 Dec 2008 22:11:08 +0000 (15:11 -0700)]
mesa: remove unused varpool code in glsl compiler

15 years agomesa: basic array constructors work now
Brian Paul [Fri, 12 Dec 2008 22:07:21 +0000 (15:07 -0700)]
mesa: basic array constructors work now

For example: float[3] xxx = float[3](1.1, 2.2, 3.3);

Optimizations for const-qualified arrays next.

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