mesa.git
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 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 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.

15 years agosoftpipe: minor tweaks, clean-ups
Brian [Sun, 30 Nov 2008 00:56:41 +0000 (17:56 -0700)]
softpipe: minor tweaks, clean-ups

15 years agosoftpipe: compute nearest/linear texcoords four at a time.
Brian [Fri, 28 Nov 2008 18:32:32 +0000 (11:32 -0700)]
softpipe: compute nearest/linear texcoords four at a time.

A small step toward SIMD-izing the code.

15 years agogallium: minor texture-related clean-ups, comments, etc
Brian [Fri, 28 Nov 2008 17:28:44 +0000 (10:28 -0700)]
gallium: minor texture-related clean-ups, comments, etc

15 years agomesa: fix conditional in save_Lightfv(), bug 18838
Brian [Tue, 2 Dec 2008 01:32:47 +0000 (18:32 -0700)]
mesa: fix conditional in save_Lightfv(), bug 18838

15 years agoscons: Target Windows XP on userspace.
José Fonseca [Mon, 1 Dec 2008 19:53:26 +0000 (11:53 -0800)]
scons: Target Windows XP on userspace.

15 years agoNouveau: minor winsys API fix
Pekka Paalanen [Sun, 30 Nov 2008 18:54:02 +0000 (20:54 +0200)]
Nouveau: minor winsys API fix

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: nv{10,20} set_primitive API fix
Pekka Paalanen [Sun, 30 Nov 2008 18:40:55 +0000 (20:40 +0200)]
Nouveau: nv{10,20} set_primitive API fix

Also changes nvgl_primitive() to return zero, i.e. error, on unknown
primitive.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: nv20 build fix: forgotten include
Pekka Paalanen [Sun, 30 Nov 2008 18:35:29 +0000 (20:35 +0200)]
Nouveau: nv20 build fix: forgotten include

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: fix minor API change in surface_copy
Pekka Paalanen [Sun, 30 Nov 2008 18:32:14 +0000 (20:32 +0200)]
Nouveau: fix minor API change in surface_copy

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: update nouveau_class.h
Pekka Paalanen [Sun, 30 Nov 2008 18:04:28 +0000 (20:04 +0200)]
Nouveau: update nouveau_class.h

Fresh from renouveau.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: nv20 (nv10) immediate vertex submission
Pekka Paalanen [Sat, 29 Nov 2008 19:21:12 +0000 (21:21 +0200)]
Nouveau: nv20 (nv10) immediate vertex submission

This is nv10 commands, but is in nv20 source files.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoNouveau: properly redo nv20_vertex_layout.
Pekka Paalanen [Sat, 29 Nov 2008 21:02:06 +0000 (23:02 +0200)]
Nouveau: properly redo nv20_vertex_layout.

This is still for NV10 hardware.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
15 years agoi965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE
Eric Anholt [Fri, 28 Nov 2008 20:43:10 +0000 (12:43 -0800)]
i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE

The CACHE_NEW_SURFACE bit always gets spammed since we get many different
surface BOs per state emit, but the only consumer of it wanted to just know
how many surfaces were enabled.

15 years agoi965: Fix clashing enums for BRW_NEW_INDICES/VERTICES versus BATCH/DEPTH_BUFFER.
Eric Anholt [Fri, 28 Nov 2008 20:16:51 +0000 (12:16 -0800)]
i965: Fix clashing enums for BRW_NEW_INDICES/VERTICES versus BATCH/DEPTH_BUFFER.

Fixes upload of large amounts of state for every new primitive emit.

15 years agoi965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs.
Eric Anholt [Fri, 28 Nov 2008 19:58:00 +0000 (11:58 -0800)]
i965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs.

This was causing a prepare of wm state at every primitive emit.

15 years agoi965: Add debug code for dumping how frequently different dirty bits are set.
Eric Anholt [Thu, 27 Nov 2008 20:26:00 +0000 (12:26 -0800)]
i965: Add debug code for dumping how frequently different dirty bits are set.

15 years agoi915: Remove dead early z enable bit which was always on.
Eric Anholt [Thu, 27 Nov 2008 04:42:59 +0000 (20:42 -0800)]
i915: Remove dead early z enable bit which was always on.

15 years agoi965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.
Eric Anholt [Thu, 27 Nov 2008 03:22:37 +0000 (19:22 -0800)]
i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.

Later primitives, even if they caused a full state validate, wouldn't check
that there was enough space in the batchbuffer, occasionally triggering the
sanity check.  We also skipped the aperture space check, even if it would
mean bringing in new programs and associated state.

15 years agomesa: add missing break statements
Brian Paul [Fri, 28 Nov 2008 23:17:38 +0000 (16:17 -0700)]
mesa: add missing break statements

15 years agomesa: enable texture compression extensions for software drivers when possible
Brian Paul [Fri, 28 Nov 2008 21:08:04 +0000 (14:08 -0700)]
mesa: enable texture compression extensions for software drivers when possible

15 years agomesa: remove unneeded compressed texure size checks
Phillip Klaus Krause [Fri, 28 Nov 2008 20:54:08 +0000 (13:54 -0700)]
mesa: remove unneeded compressed texure size checks

15 years agomesa: fix default switch case in append_token(), see bug 18734
Brian Paul [Fri, 28 Nov 2008 20:50:41 +0000 (13:50 -0700)]
mesa: fix default switch case in append_token(), see bug 18734

15 years agoMerge commit 'origin/master' into gallium-0.2
Alan Hourihane [Fri, 28 Nov 2008 16:19:10 +0000 (16:19 +0000)]
Merge commit 'origin/master' into gallium-0.2

15 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
Alan Hourihane [Fri, 28 Nov 2008 16:18:36 +0000 (16:18 +0000)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

Conflicts:

src/gallium/auxiliary/tgsi/tgsi_sse2.c

15 years agomesa: remove an assertion (see bug 18734)
Brian Paul [Thu, 27 Nov 2008 18:01:30 +0000 (11:01 -0700)]
mesa: remove an assertion (see bug 18734)

15 years agoRevert "glx: xcbified visual and FBConfig choosing"
RALOVICH, Kristóf [Thu, 27 Nov 2008 11:53:43 +0000 (12:53 +0100)]
Revert "glx: xcbified visual and FBConfig choosing"

This reverts commit 62688f11355cfa865d420755aa159875b425cc9b.

15 years agoRevert "glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX"
RALOVICH, Kristóf [Thu, 27 Nov 2008 11:53:19 +0000 (12:53 +0100)]
Revert "glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX"

This reverts commit 53698765019e50172be25a4ff48c83d54f0e7981.

15 years agotgsi: Reenable OPCODE_ARR.
Michal Krol [Wed, 26 Nov 2008 21:29:49 +0000 (22:29 +0100)]
tgsi: Reenable OPCODE_ARR.

15 years agoglx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX
RALOVICH, Kristóf [Sat, 8 Nov 2008 17:18:26 +0000 (18:18 +0100)]
glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX

This uses a GLX VendorPrivate request. VendorPrivates are real GLX API
calls but use the same protocol request. XCB does not currently
support specific VendorPrivetes directly. See eg.:
http://lists.freedesktop.org/archives/xcb/2008-November/004036.html
for more information.

15 years agoglx: remove XCB debug leftover
RALOVICH, Kristóf [Sat, 8 Nov 2008 16:58:55 +0000 (17:58 +0100)]
glx: remove XCB debug leftover

15 years agoglx: xcbified glXSwapBuffers
RALOVICH, Kristóf [Tue, 4 Nov 2008 16:30:21 +0000 (17:30 +0100)]
glx: xcbified glXSwapBuffers

15 years agoglx: xcbified visual and FBConfig choosing
RALOVICH, Kristóf [Tue, 4 Nov 2008 16:17:18 +0000 (17:17 +0100)]
glx: xcbified visual and FBConfig choosing

15 years agoglx: xcbified __glXClientInfo
RALOVICH, Kristóf [Tue, 4 Nov 2008 11:41:55 +0000 (12:41 +0100)]
glx: xcbified __glXClientInfo

15 years agoconfigure.ac: advertise XCB
RALOVICH, Kristóf [Tue, 4 Nov 2008 10:53:32 +0000 (11:53 +0100)]
configure.ac: advertise XCB

15 years agoglx: no graphics context during initialization
RALOVICH, Kristóf [Tue, 4 Nov 2008 10:31:53 +0000 (11:31 +0100)]
glx: no graphics context during initialization

15 years agoglx: xcbified __glXIsDirect
RALOVICH, Kristóf [Tue, 4 Nov 2008 09:59:39 +0000 (10:59 +0100)]
glx: xcbified __glXIsDirect

15 years agoglx: missing static on local function
RALOVICH, Kristóf [Tue, 4 Nov 2008 09:43:06 +0000 (10:43 +0100)]
glx: missing static on local function

15 years agoglx: use __glXGetString
RALOVICH, Kristóf [Mon, 3 Nov 2008 17:32:35 +0000 (18:32 +0100)]
glx: use __glXGetString

15 years agoglx: use __glXQueryServerString
RALOVICH, Kristóf [Mon, 3 Nov 2008 17:32:20 +0000 (18:32 +0100)]
glx: use __glXQueryServerString

15 years agoglx: implement __glXGetString, hide __glXGetStringFromServer
RALOVICH, Kristóf [Mon, 3 Nov 2008 17:31:22 +0000 (18:31 +0100)]
glx: implement __glXGetString, hide __glXGetStringFromServer

15 years agoglx: implement QueryVersion using XCB
RALOVICH, Kristóf [Sat, 18 Oct 2008 15:00:13 +0000 (17:00 +0200)]
glx: implement QueryVersion using XCB

15 years agoglx: implement __glXQueryServerString using XCB
RALOVICH, Kristóf [Sat, 18 Oct 2008 14:53:08 +0000 (16:53 +0200)]
glx: implement __glXQueryServerString using XCB

15 years agowindows: fix visual object memleak
Thomas Henn [Wed, 26 Nov 2008 16:51:29 +0000 (09:51 -0700)]
windows: fix visual object memleak

15 years agowindows: fix _mesa_unreference_framebuffer() to pass ** type.
Thomas Henn [Wed, 26 Nov 2008 16:49:32 +0000 (09:49 -0700)]
windows: fix _mesa_unreference_framebuffer() to pass ** type.

15 years agomesa: add missing type check for function calls
Brian Paul [Wed, 26 Nov 2008 16:35:26 +0000 (09:35 -0700)]
mesa: add missing type check for function calls

15 years agomesa: add missing size check for assignment optimization
Brian Paul [Wed, 26 Nov 2008 16:35:08 +0000 (09:35 -0700)]
mesa: add missing size check for assignment optimization

15 years agotgsi: Fix build.
Michal Krol [Wed, 26 Nov 2008 16:20:07 +0000 (17:20 +0100)]
tgsi: Fix build.

15 years agotgsi: Implement OPCODE_ROUND for SSE2 backend.
Michal Krol [Wed, 26 Nov 2008 11:56:23 +0000 (12:56 +0100)]
tgsi: Implement OPCODE_ROUND for SSE2 backend.

15 years agotgsi: Implement OPCODE_SSG/SGN.
Michal Krol [Wed, 26 Nov 2008 12:54:28 +0000 (13:54 +0100)]
tgsi: Implement OPCODE_SSG/SGN.

15 years agomesa: remove debug code
Brian Paul [Wed, 26 Nov 2008 16:02:37 +0000 (09:02 -0700)]
mesa: remove debug code

15 years agodemos: press SPACE to toggle fbo_firecube animation
Brian Paul [Wed, 26 Nov 2008 16:00:44 +0000 (09:00 -0700)]
demos: press SPACE to toggle fbo_firecube animation

15 years agogallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone.
Brian Paul [Wed, 26 Nov 2008 14:41:19 +0000 (07:41 -0700)]
gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone.

15 years agoRevert "tgsi: Implement OPCODE_ROUND for SSE2 backend."
Brian Paul [Wed, 26 Nov 2008 14:38:31 +0000 (07:38 -0700)]
Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend."

This reverts commit 685fd2c035e284db2447ede0f6da278adaa70a0d.

Does not compile since emit_rnd() is trying to pass 4 params to
emit_func_call_dst() which takes 3 params.

15 years agomesa: add some missing switch cases for generating state var strings
Brian Paul [Wed, 26 Nov 2008 14:21:12 +0000 (07:21 -0700)]
mesa: add some missing switch cases for generating state var strings

15 years agofix possible memory leak in bezierPatchMeshMake
Daniel Zimmermann [Wed, 26 Nov 2008 10:48:53 +0000 (11:48 +0100)]
fix possible memory leak in bezierPatchMeshMake

15 years agogallium: fix glBitmap color bug
Brian Paul [Wed, 26 Nov 2008 14:06:26 +0000 (07:06 -0700)]
gallium: fix glBitmap color bug

By time we get around to rendering the cached bitmap, the current color may
have changed.  Need to make sure we load the constant slot with the cached
color.

15 years agogallium: replace 2 with PIPE_SHADER_TYPES
Brian Paul [Wed, 26 Nov 2008 14:06:14 +0000 (07:06 -0700)]
gallium: replace 2 with PIPE_SHADER_TYPES

15 years agotgsi: Implement OPCODE_SSG/SGN.
Michal Krol [Wed, 26 Nov 2008 12:54:28 +0000 (13:54 +0100)]
tgsi: Implement OPCODE_SSG/SGN.

15 years agotgsi: Implement OPCODE_ARR.
Michal Krol [Wed, 26 Nov 2008 12:17:25 +0000 (13:17 +0100)]
tgsi: Implement OPCODE_ARR.

15 years agotgsi: Implement OPCODE_ROUND for SSE2 backend.
Michal Krol [Wed, 26 Nov 2008 11:56:23 +0000 (12:56 +0100)]
tgsi: Implement OPCODE_ROUND for SSE2 backend.