mesa.git
15 years agortasm: Remove spurious semi-colons after function bodies.
José Fonseca [Tue, 30 Dec 2008 17:06:51 +0000 (17:06 +0000)]
rtasm: Remove spurious semi-colons after function bodies.

15 years agogdi: Remove accidental keypresses.
José Fonseca [Tue, 30 Dec 2008 16:35:46 +0000 (16:35 +0000)]
gdi: Remove accidental keypresses.

15 years agoegl: fix egl closure
Alan Hourihane [Tue, 23 Dec 2008 15:33:46 +0000 (15:33 +0000)]
egl: fix egl closure

15 years agoegl: fix startup query version
Alan Hourihane [Tue, 23 Dec 2008 14:18:36 +0000 (14:18 +0000)]
egl: fix startup query version

15 years agoegl: support GLXFBConfigs, pbuffers and pixmaps.
Alan Hourihane [Tue, 23 Dec 2008 13:20:18 +0000 (13:20 +0000)]
egl: support GLXFBConfigs, pbuffers and pixmaps.

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
José Fonseca [Mon, 22 Dec 2008 19:31:52 +0000 (19:31 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/auxiliary/util/Makefile

15 years agogdi: Cleanup sconsfile.
José Fonseca [Thu, 11 Dec 2008 05:42:25 +0000 (14:42 +0900)]
gdi: Cleanup sconsfile.

15 years agosoftpipe: initialize refcount and winsys
Jerome Glisse [Thu, 18 Dec 2008 18:56:45 +0000 (19:56 +0100)]
softpipe: initialize refcount and winsys

15 years agosoftpipe: convert to use texture instead of surface
Jerome Glisse [Thu, 18 Dec 2008 12:34:27 +0000 (13:34 +0100)]
softpipe: convert to use texture instead of surface

15 years agogallium: const correctness.
José Fonseca [Mon, 22 Dec 2008 16:55:27 +0000 (16:55 +0000)]
gallium: const correctness.

15 years agoIgnore new tests executables.
José Fonseca [Sun, 21 Dec 2008 13:48:43 +0000 (13:48 +0000)]
Ignore new tests executables.

15 years agogallium: Fix typo in define name.
José Fonseca [Sat, 20 Dec 2008 12:59:51 +0000 (12:59 +0000)]
gallium: Fix typo in define name.

15 years agoMerge commit 'origin/master' into gallium-0.2
Brian Paul [Fri, 19 Dec 2008 23:56:56 +0000 (16:56 -0700)]
Merge commit 'origin/master' into gallium-0.2

15 years agogallium: begin adapting Ian's 3D mipmap gen code to gallium utility lib
Brian Paul [Fri, 19 Dec 2008 23:37:06 +0000 (16:37 -0700)]
gallium: begin adapting Ian's 3D mipmap gen code to gallium utility lib

Unfinished, a big no-op for now.

15 years agogallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
Brian Paul [Fri, 19 Dec 2008 23:14:48 +0000 (16:14 -0700)]
gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV

This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f

15 years agoAdd do_row_3d for mipmapping 3D textures
Ian Romanick [Fri, 19 Dec 2008 21:03:51 +0000 (13:03 -0800)]
Add do_row_3d for mipmapping 3D textures

Previously 3D textures were mipmapped using multiple passed through
the 2D mipmap generation code.  This had 3 disadvantages.  First, the
extra passes were slow.  Second, this required the allocation of a
temporary buffer to hold intermediate data.  Third, and most
important, the extra passes caused loss of additional bits due to
integer division / bit-shifting.

With this change, our mipmapgen conformance test passes for
non-compressed texture formats.

15 years agoFix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
Ian Romanick [Fri, 19 Dec 2008 20:58:01 +0000 (12:58 -0800)]
Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV

15 years ago965 / GLSL: Use full precision for EXP instruction
Ian Romanick [Thu, 18 Dec 2008 22:13:26 +0000 (14:13 -0800)]
965 / GLSL: Use full precision for EXP instruction

The partial precision mode doesn't have quite enough bits of precision
to pass conformance tests.

15 years agoGLSL: The LOG2 macro doesn't have enough precision
Ian Romanick [Thu, 18 Dec 2008 22:11:06 +0000 (14:11 -0800)]
GLSL: The LOG2 macro doesn't have enough precision

It looks like the LOG2 macro only has 8 or 9 bits of precission, but
the ARB_vertex_program spec says "accurate to at least 10 bits".

15 years agointel: Fix glBitmap top/bottom clipping.
Eric Anholt [Fri, 19 Dec 2008 00:00:09 +0000 (16:00 -0800)]
intel: Fix glBitmap top/bottom clipping.

Bug #19139.

15 years agointel: Don't forget the source bitmap size when clipping the size we draw.
Eric Anholt [Thu, 18 Dec 2008 06:10:57 +0000 (22:10 -0800)]
intel: Don't forget the source bitmap size when clipping the size we draw.

15 years agointel: Update mesa state in blit operations that want post-scissor draw bounds.
Eric Anholt [Thu, 18 Dec 2008 05:18:20 +0000 (21:18 -0800)]
intel: Update mesa state in blit operations that want post-scissor draw bounds.

15 years agointel: don't clip to scissor-clipped read framebuffer bounds in copypixels.
Eric Anholt [Thu, 18 Dec 2008 05:18:00 +0000 (21:18 -0800)]
intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.

15 years agogallium: Simple and efficient cache.
José Fonseca [Fri, 19 Dec 2008 20:06:11 +0000 (20:06 +0000)]
gallium: Simple and efficient cache.

Fixed size hash table. Collisions are handled by simply destroying the
previous entry.

It hasn't received much testing yet.

15 years agocell: fix build breakage
Brian Paul [Fri, 19 Dec 2008 15:01:03 +0000 (08:01 -0700)]
cell: fix build breakage

15 years agogallium: set ST_NEW_FRAMEBUFFER when setting new surfaces
Alan Hourihane [Fri, 19 Dec 2008 14:59:43 +0000 (14:59 +0000)]
gallium: set ST_NEW_FRAMEBUFFER when setting new surfaces

15 years agomesa: s/CC/APP_CC/ in progs/glsl/Makefile
Brian Paul [Fri, 19 Dec 2008 14:57:09 +0000 (07:57 -0700)]
mesa: s/CC/APP_CC/ in progs/glsl/Makefile

15 years agogallium: replace #elif with #else
Brian Paul [Fri, 19 Dec 2008 14:33:17 +0000 (07:33 -0700)]
gallium: replace #elif with #else

15 years agogallium: replace #elif with #else
Brian Paul [Fri, 19 Dec 2008 14:32:52 +0000 (07:32 -0700)]
gallium: replace #elif with #else

15 years agointel: Move copyteximage source clipping out of copytexsubimage.
Eric Anholt [Fri, 19 Dec 2008 02:42:06 +0000 (18:42 -0800)]
intel: Move copyteximage source clipping out of copytexsubimage.

glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't
need the path.  While moving the clipping out, replace the code with the mesa
path to do the same job.

15 years agomesa: Clip copytexsubimage to read framebuffer bounds, not scissor region.
Eric Anholt [Fri, 19 Dec 2008 02:31:25 +0000 (18:31 -0800)]
mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region.

15 years agomesa: Correct _mesa_clip_to_region() off-by-one.
Eric Anholt [Fri, 19 Dec 2008 02:23:51 +0000 (18:23 -0800)]
mesa: Correct _mesa_clip_to_region() off-by-one.

Note how if:
x + width == xmax + 0: width -= 0
x + width == xmax + 1: width -= 0
x + width == xmax + 2: width -= 1

So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was
supposed to.  Same for ymax.

15 years agotgsi: scan for additional info: uses_fogcoord, uses_frontfacing
Brian Paul [Fri, 19 Dec 2008 01:06:38 +0000 (18:06 -0700)]
tgsi: scan for additional info: uses_fogcoord, uses_frontfacing

15 years agotgsi: scan for additional info: uses_fogcoord, uses_frontfacing
Brian Paul [Fri, 19 Dec 2008 01:06:38 +0000 (18:06 -0700)]
tgsi: scan for additional info: uses_fogcoord, uses_frontfacing

15 years agogallium: fix two-sided lighting test in state tracker
Brian Paul [Thu, 18 Dec 2008 23:00:20 +0000 (16:00 -0700)]
gallium: fix two-sided lighting test in state tracker

This fixes two-sided lighting for vertex shaders.

15 years agogallium: fix two-sided lighting test in state tracker
Brian Paul [Thu, 18 Dec 2008 23:00:20 +0000 (16:00 -0700)]
gallium: fix two-sided lighting test in state tracker

This fixes two-sided lighting for vertex shaders.

15 years agoglsl: Fix handling of nested parens in macro actual arguments.
Michal Krol [Thu, 18 Dec 2008 17:45:32 +0000 (18:45 +0100)]
glsl: Fix handling of nested parens in macro actual arguments.

15 years agodemos: all glutDestroyWindow() upon exit to test query object clean-up
Brian Paul [Thu, 18 Dec 2008 16:48:20 +0000 (09:48 -0700)]
demos: all glutDestroyWindow() upon exit to test query object clean-up

15 years agoi915: check WRAP_T instead of WRAP_R for cube map texture.
Xiang, Haihao [Thu, 18 Dec 2008 04:57:41 +0000 (12:57 +0800)]
i915: check WRAP_T instead of WRAP_R for cube map texture.

15 years agoi915: fix abort issue. (bug #19147)
Xiang, Haihao [Thu, 18 Dec 2008 02:07:45 +0000 (10:07 +0800)]
i915: fix abort issue. (bug #19147)

15 years agomesa: remove unneeded _mesa_reference_fragprog() call
Brian Paul [Thu, 18 Dec 2008 01:05:03 +0000 (18:05 -0700)]
mesa: remove unneeded _mesa_reference_fragprog() call

The subsequent if/else cases always call _mesa_reference_fragprog() anyway.

15 years agodri: fix for Cygwin compilation, bug 19144
Jon Turney [Thu, 18 Dec 2008 01:01:16 +0000 (18:01 -0700)]
dri: fix for Cygwin compilation, bug 19144

15 years agomesa: updated comments
Brian Paul [Wed, 17 Dec 2008 21:54:46 +0000 (14:54 -0700)]
mesa: updated comments

15 years agodemos: add test of vertex-only and fragment-only shader programs
Brian Paul [Wed, 17 Dec 2008 20:58:31 +0000 (13:58 -0700)]
demos: add test of vertex-only and fragment-only shader programs

15 years agoutil: check for frag/vertShader=0 before attaching
Brian Paul [Wed, 17 Dec 2008 20:58:05 +0000 (13:58 -0700)]
util: check for frag/vertShader=0 before attaching

15 years agosoftpipe: initialize refcount and winsys
Jerome Glisse [Thu, 18 Dec 2008 18:56:45 +0000 (19:56 +0100)]
softpipe: initialize refcount and winsys

15 years agoGallium: fix for conform test
Robert Ellison [Thu, 18 Dec 2008 16:46:53 +0000 (09:46 -0700)]
Gallium: fix for conform test

The following construction in util_surface_copy() in
gallium/auxiliary/util/u_rect.c, introduced in commit
d177c9ddda2c452cf7d6696d89cf4458ef986f98, incorrectly inverts
the Y coordinate in the last parameter to pipe_copy_rect().

      /* If do_flip, invert src_y position and pass negative src stride
*/
      pipe_copy_rect(dst_map,
                     &dst->block,
                     dst->stride,
                     dst_x, dst_y,
                     w, h,
                     src_map,
                     do_flip ? -(int) src->stride : src->stride,
                     src_x,
                     do_flip ? w - src_y : src_y);

The intention is to start at the last Y coordinate line and move
backwards, in the case of a flip; in that case, the correct
calculation is "src_y + h - 1", not "w - src_y".

This fixes a Gallium assertion failure in the conformance tests:

      u_rect.c:65:pipe_copy_rect: Assertion `src_y >= 0' failed.
      debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE
      Trace/breakpoint trap

15 years agoglsl: Fix handling of nested parens in macro actual arguments.
Michal Krol [Thu, 18 Dec 2008 17:45:32 +0000 (18:45 +0100)]
glsl: Fix handling of nested parens in macro actual arguments.

15 years agoglsl: Fix handling of nested parens in macro actual arguments.
Michal Krol [Thu, 18 Dec 2008 17:45:32 +0000 (18:45 +0100)]
glsl: Fix handling of nested parens in macro actual arguments.

15 years agodemos: all glutDestroyWindow() upon exit to test query object clean-up
Brian Paul [Thu, 18 Dec 2008 16:48:20 +0000 (09:48 -0700)]
demos: all glutDestroyWindow() upon exit to test query object clean-up

15 years agosoftpipe: convert to use texture instead of surface
Jerome Glisse [Thu, 18 Dec 2008 12:34:27 +0000 (13:34 +0100)]
softpipe: convert to use texture instead of surface

15 years agoGallium: fix for conform test
Robert Ellison [Thu, 18 Dec 2008 16:46:53 +0000 (09:46 -0700)]
Gallium: fix for conform test

The following construction in util_surface_copy() in
gallium/auxiliary/util/u_rect.c, introduced in commit
d177c9ddda2c452cf7d6696d89cf4458ef986f98, incorrectly inverts
the Y coordinate in the last parameter to pipe_copy_rect().

      /* If do_flip, invert src_y position and pass negative src stride
*/
      pipe_copy_rect(dst_map,
                     &dst->block,
                     dst->stride,
                     dst_x, dst_y,
                     w, h,
                     src_map,
                     do_flip ? -(int) src->stride : src->stride,
                     src_x,
                     do_flip ? w - src_y : src_y);

The intention is to start at the last Y coordinate line and move
backwards, in the case of a flip; in that case, the correct
calculation is "src_y + h - 1", not "w - src_y".

This fixes a Gallium assertion failure in the conformance tests:

      u_rect.c:65:pipe_copy_rect: Assertion `src_y >= 0' failed.
      debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE
      Trace/breakpoint trap

15 years agomesa: Pass the context to query object delete cb to avoid null dereference.
Eric Anholt [Wed, 8 Oct 2008 01:47:31 +0000 (18:47 -0700)]
mesa: Pass the context to query object delete cb to avoid null dereference.

15 years agogallium: Enable memory debugging on all windows platforms.
José Fonseca [Thu, 18 Dec 2008 14:53:24 +0000 (14:53 +0000)]
gallium: Enable memory debugging on all windows platforms.

15 years agoi915: check WRAP_T instead of WRAP_R for cube map texture.
Xiang, Haihao [Thu, 18 Dec 2008 04:57:41 +0000 (12:57 +0800)]
i915: check WRAP_T instead of WRAP_R for cube map texture.

15 years agoi915: fix abort issue. (bug #19147)
Xiang, Haihao [Thu, 18 Dec 2008 02:07:45 +0000 (10:07 +0800)]
i915: fix abort issue. (bug #19147)

15 years agomesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()
Brian Paul [Thu, 18 Dec 2008 02:01:34 +0000 (19:01 -0700)]
mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()

This is a work-around the for the fact that we do fragment shader state
validation before vertex shader validation (see comments in state.c) so in
get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to
date yet.

This fixes a glean glsl1 test failure.

15 years agogallium: fix memory corruption in u_gen_mipmap.c
Brian Paul [Thu, 18 Dec 2008 01:52:10 +0000 (18:52 -0700)]
gallium: fix memory corruption in u_gen_mipmap.c

Remove the old/initial vbuf allocation in util_create_gen_mipmap().
We were allocating a small vbuf at this point so get_next_slot() didn't have
as large of buffer as it expected.  So all but the first set_vertex_data()
was writing out of bounds.

Also added some comments.

15 years agomesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()
Brian Paul [Thu, 18 Dec 2008 02:01:34 +0000 (19:01 -0700)]
mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()

This is a work-around the for the fact that we do fragment shader state
validation before vertex shader validation (see comments in state.c) so in
get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to
date yet.

This fixes a glean glsl1 test failure.

15 years agosoftpipe: fix vertex shader texture sampling
Brian Paul [Thu, 18 Dec 2008 01:59:58 +0000 (18:59 -0700)]
softpipe: fix vertex shader texture sampling

Need to disable/bypass lambda calculation since derivatives of texcoords
are meaningless for adjacent vertices.

15 years agogallium: fix memory corruption in u_gen_mipmap.c
Brian Paul [Thu, 18 Dec 2008 01:52:10 +0000 (18:52 -0700)]
gallium: fix memory corruption in u_gen_mipmap.c

Remove the old/initial vbuf allocation in util_create_gen_mipmap().
We were allocating a small vbuf at this point so get_next_slot() didn't have
as large of buffer as it expected.  So all but the first set_vertex_data()
was writing out of bounds.

Also added some comments.

15 years agomesa: remove unneeded _mesa_reference_fragprog() call
Brian Paul [Thu, 18 Dec 2008 01:05:03 +0000 (18:05 -0700)]
mesa: remove unneeded _mesa_reference_fragprog() call

The subsequent if/else cases always call _mesa_reference_fragprog() anyway.

15 years agodri: fix for Cygwin compilation, bug 19144
Jon Turney [Thu, 18 Dec 2008 01:01:16 +0000 (18:01 -0700)]
dri: fix for Cygwin compilation, bug 19144

15 years agomesa: updated comments
Brian Paul [Wed, 17 Dec 2008 21:54:46 +0000 (14:54 -0700)]
mesa: updated comments

15 years agomesa: fix fixed-function test in get_fp_input_mask() - again.
Brian Paul [Wed, 17 Dec 2008 21:04:03 +0000 (14:04 -0700)]
mesa: fix fixed-function test in get_fp_input_mask() - again.

The problem we're solving only occured when there was a user-defined
vertex shader but no fragment shader.  Check for that case now.
Fixes glean api2 vertex array failure.

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 agomesa: fix fixed-function test in get_fp_input_mask() - again.
Brian Paul [Wed, 17 Dec 2008 21:04:03 +0000 (14:04 -0700)]
mesa: fix fixed-function test in get_fp_input_mask() - again.

The problem we're solving only occured when there was a user-defined
vertex shader but no fragment shader.  Check for that case now.
Fixes glean api2 vertex array failure.

15 years agodemos: add test of vertex-only and fragment-only shader programs
Brian Paul [Wed, 17 Dec 2008 20:58:31 +0000 (13:58 -0700)]
demos: add test of vertex-only and fragment-only shader programs

15 years agoutil: check for frag/vertShader=0 before attaching
Brian Paul [Wed, 17 Dec 2008 20:58:05 +0000 (13:58 -0700)]
util: check for frag/vertShader=0 before attaching

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:42 +0000 (11:29 -0700)]
Revert "mesa: fix vertex program test in get_fp_input_mask()"

This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708.

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: 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.