mesa.git
16 years agocomments
Brian Paul [Fri, 11 Apr 2008 14:08:22 +0000 (08:08 -0600)]
comments

16 years agoGet the default GLXPixmap texture target from the server when appropriate.
Michel Dänzer [Thu, 10 Apr 2008 19:45:52 +0000 (15:45 -0400)]
Get the default GLXPixmap texture target from the server when appropriate.

Fixes compiz with direct rendering when both GLX_TEXTURE_2D_EXT and
GLX_TEXTURE_RECTANGLE_EXT are supported for a GLXPixmap and the
application didn't specify the texture target as a GLX drawable attribute
when creating the GLX drawable.

16 years agomore make clean items
Brian [Thu, 10 Apr 2008 04:30:14 +0000 (22:30 -0600)]
more make clean items

16 years agouse InitUniforms()
Brian [Thu, 10 Apr 2008 04:29:33 +0000 (22:29 -0600)]
use InitUniforms()

16 years agoReplace duplicated code with new shaderutil.c functions
Brian [Thu, 10 Apr 2008 04:28:23 +0000 (22:28 -0600)]
Replace duplicated code with new shaderutil.c functions

16 years agoshader utility functions
Brian [Thu, 10 Apr 2008 04:27:36 +0000 (22:27 -0600)]
shader utility functions

16 years agoAdd support for dfbsd to mklib script.
Hasso Tepper [Wed, 9 Apr 2008 18:03:05 +0000 (11:03 -0700)]
Add support for dfbsd to mklib script.

16 years agoAdd $(X11_INCLUDES) to shut makedepend up.
Hasso Tepper [Wed, 9 Apr 2008 17:56:12 +0000 (10:56 -0700)]
Add $(X11_INCLUDES) to shut makedepend up.

16 years agoautoconf: Add dfbsd support.
Hasso Tepper [Wed, 9 Apr 2008 17:51:21 +0000 (10:51 -0700)]
autoconf: Add dfbsd support.

16 years agoHandle fbconfig comparison correctly for attributes the X server didn't send.
Jie Luo [Tue, 8 Apr 2008 23:17:06 +0000 (19:17 -0400)]
Handle fbconfig comparison correctly for attributes the X server didn't send.

16 years agoOnly convert configs if screen creation was successful.
Kristian Høgsberg [Tue, 8 Apr 2008 22:26:24 +0000 (18:26 -0400)]
Only convert configs if screen creation was successful.

Thanks to Adam Jackson for pointing it out.

16 years agor300: Fix r300VAPInputRoute{0,1} for big endian platforms.
Michel Dänzer [Mon, 7 Apr 2008 08:28:42 +0000 (10:28 +0200)]
r300: Fix r300VAPInputRoute{0,1} for big endian platforms.

16 years ago7.0.3 updates
Brian [Sat, 5 Apr 2008 01:26:29 +0000 (19:26 -0600)]
7.0.3 updates

16 years agoupdated w/ 7.0.3 release
Brian [Sat, 5 Apr 2008 01:25:26 +0000 (19:25 -0600)]
updated w/ 7.0.3 release

16 years agoimport 7.0.3 relnotes from 7.0 branch
Brian [Sat, 5 Apr 2008 01:25:14 +0000 (19:25 -0600)]
import 7.0.3 relnotes from 7.0 branch

16 years agoadded glGetActiveUniform_func
Brian [Sat, 5 Apr 2008 00:55:22 +0000 (18:55 -0600)]
added glGetActiveUniform_func

16 years agomesa: add missing glPush/PopMatrix() calls
Brian [Fri, 4 Apr 2008 15:38:22 +0000 (09:38 -0600)]
mesa: add missing glPush/PopMatrix() calls

16 years agomesa: add missing glPush/PopMatrix() calls
Brian [Fri, 4 Apr 2008 13:30:29 +0000 (07:30 -0600)]
mesa: add missing glPush/PopMatrix() calls

16 years agorewrite some of the mat*mat, mat*vec intrinsics
Brian [Fri, 4 Apr 2008 03:51:31 +0000 (21:51 -0600)]
rewrite some of the mat*mat, mat*vec intrinsics

Also, remove obsolete matrix codegen code.

16 years agosilence warning
Brian [Fri, 4 Apr 2008 02:12:32 +0000 (20:12 -0600)]
silence warning

16 years agoPick up dri2proto from the standard proto header include path.
Kristian Høgsberg [Wed, 2 Apr 2008 23:17:31 +0000 (19:17 -0400)]
Pick up dri2proto from the standard proto header include path.

16 years agoInitialize GLX_EXT_texture_from_pixmap attributes correctly.
Kristian Høgsberg [Wed, 2 Apr 2008 23:04:57 +0000 (19:04 -0400)]
Initialize GLX_EXT_texture_from_pixmap attributes correctly.

16 years agofix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)
Roland Scheidegger [Tue, 1 Apr 2008 21:24:11 +0000 (23:24 +0200)]
fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)

16 years agoadded some missing calls to _mesa_enable_x_y_extensions()
Brian [Tue, 1 Apr 2008 14:41:08 +0000 (08:41 -0600)]
added some missing calls to _mesa_enable_x_y_extensions()

16 years agoUse AC_CHECK_PROGS to find alternate make programs
Dan Nicholson [Mon, 24 Mar 2008 17:01:50 +0000 (10:01 -0700)]
Use AC_CHECK_PROGS to find alternate make programs

The autoconf macro AC_PATH_PROGS handles the case of searching for
multiple program names already, so we don't need to open code it. Also
changed the search to AC_CHECK_PROGS so that it doesn't set the full
path unless the user specified. Finally, report back the found value at
the end for what the user should run.

16 years agofix parsing bug involving comments at the end of ARB v/f programs
Markus Amsler [Mon, 31 Mar 2008 20:58:28 +0000 (14:58 -0600)]
fix parsing bug involving comments at the end of ARB v/f programs

16 years agoDRI interface changes and DRI2 direct rendering support.
Kristian Høgsberg [Wed, 26 Mar 2008 23:26:59 +0000 (19:26 -0400)]
DRI interface changes and DRI2 direct rendering support.

Add DRI2 direct rendering support to libGL and add DRI2 client side
protocol code.  Extend the GLX 1.3 create drawable functions in
glx_pbuffer.c to call into the DRI driver when possible.

Introduce __DRIconfig, opaque struct that represents a DRI driver
configuration.  Get's rid of the open coded __GLcontextModes in the
DRI driver interface and the context modes create and destroy
functions that the loader was requires to provide.  glcore.h is no
longer part of the DRI driver interface.  The DRI config is GL binding
agnostic, that is, not specific to GLX, EGL or other bindings.

The core API is now also an extension, and the driver exports a list
of extensions as the symbol __driDriverExtensions, which the loader
must dlsym() for.  The list of extension will always include the DRI
core extension, which allows creating and manipulating DRI screens,
drawables and contexts.  The DRI legacy extension, when available,
provides alternative entry points for creating the DRI objects that
work with the XF86DRI infrastructure.

Change DRI2 client code to not use drm drawables or contexts.  We
never used drm_drawable_t's and the only use for drm_context_t was as
a unique identifier when taking the lock.  We now just allocate a
unique lock ID out of the DRILock sarea block.  Once we get rid of the
lock entirely, we can drop this hack.

Change the interface between dri_util.c and the drivers, so that the
drivers now export the DriverAPI struct as driDriverAPI instead of the
InitScreen entry point.  This lets us avoid dlsym()'ing for the DRI2
init screen function to see if DRI2 is supported by the driver.

16 years agomesa: Free all shader program data before deleting all
Xiang, Haihao [Mon, 31 Mar 2008 09:02:47 +0000 (17:02 +0800)]
mesa: Free all shader program data before deleting all
shader/shader program objects to avoid memory access error.

16 years agoRevert "mesa: separate shader program object from shader object." (bug#15244)
Xiang, Haihao [Mon, 31 Mar 2008 08:27:47 +0000 (16:27 +0800)]
Revert "mesa: separate shader program object from shader object." (bug#15244)

This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.

16 years agoi915: texture object's lod bias. fix bug #15192
Xiang, Haihao [Mon, 31 Mar 2008 05:45:06 +0000 (13:45 +0800)]
i915: texture object's lod bias. fix bug #15192

16 years agor300: Copy-and-paste error from the vertex program branch.
Markus Amsler [Sun, 30 Mar 2008 16:12:47 +0000 (16:12 +0000)]
r300: Copy-and-paste error from the vertex program branch.

16 years agor300: Take PROGRAM_CONSTANT into account.
Markus Amsler [Sun, 30 Mar 2008 16:10:47 +0000 (16:10 +0000)]
r300: Take PROGRAM_CONSTANT into account.

This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079.

16 years agoMerge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesa
Oliver McFadden [Sat, 29 Mar 2008 14:46:32 +0000 (14:46 +0000)]
Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesa

16 years agofix texture/renderbuffer mix-up in test_attachment_completeness()
Brian [Fri, 28 Mar 2008 19:24:12 +0000 (13:24 -0600)]
fix texture/renderbuffer mix-up in test_attachment_completeness()

16 years agoi965: depth offset on glPolygonMode(GL_LINE/GL_POINT)
Xiang, Haihao [Fri, 28 Mar 2008 09:32:45 +0000 (17:32 +0800)]
i965: depth offset on glPolygonMode(GL_LINE/GL_POINT)

16 years agor300: finish conversion of RS_INST regs
Dave Airlie [Fri, 28 Mar 2008 02:16:33 +0000 (13:16 +1100)]
r300: finish conversion of RS_INST regs

16 years agor300: move to using RS_INST names
Dave Airlie [Fri, 28 Mar 2008 02:06:28 +0000 (13:06 +1100)]
r300: move to using RS_INST names

16 years agoconsolidate some parsing functions that were pretty much identical for vertex/fragmen...
Brian [Thu, 27 Mar 2008 22:17:37 +0000 (16:17 -0600)]
consolidate some parsing functions that were pretty much identical for vertex/fragment programs

16 years agowhen negating scalar src args, use NEGATE_XYZW, not NEGATE_X
Brian [Thu, 27 Mar 2008 22:01:53 +0000 (16:01 -0600)]
when negating scalar src args, use NEGATE_XYZW, not NEGATE_X

This makes things easier on the back-end when generating GPU code.
cherry-picked from gallium-0.1

16 years agoSet param_var->param_binding_type = PROGRAM_CONSTANT
Brian [Thu, 27 Mar 2008 22:00:15 +0000 (16:00 -0600)]
Set param_var->param_binding_type = PROGRAM_CONSTANT

cherry-picked from gallium-0.1

16 years agoAdd a couple of test apps for line/unfilled polygon clipping.
Eric Anholt [Thu, 27 Mar 2008 18:57:08 +0000 (11:57 -0700)]
Add a couple of test apps for line/unfilled polygon clipping.

16 years ago[965] Fix massively broken state cache dirty flagging.
Michal Wajdeczko [Wed, 26 Mar 2008 20:43:16 +0000 (13:43 -0700)]
[965] Fix massively broken state cache dirty flagging.

It was flagging a last_bo update even when last_bo didn't change, but
another part was failing to update last_bo when it should have.

16 years ago[intel] Use mesa texmemory functions to allocate teximage Data.
Michal Wajdeczko [Wed, 26 Mar 2008 20:33:34 +0000 (13:33 -0700)]
[intel] Use mesa texmemory functions to allocate teximage Data.

Failure to consistently do so resulted in mismatched aligned versus
unaligned alloc/free.

16 years ago[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/lit
Eric Anholt [Wed, 26 Mar 2008 20:23:43 +0000 (13:23 -0700)]
[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/lit

This patch is a variant of a submission by Michal Wajdeczko to fix
oglconform fpalu failures.

16 years ago[965] Correctly set read mask for OPCODE_SWZ in pass1.
Michal Wajdeczko [Wed, 26 Mar 2008 19:51:20 +0000 (12:51 -0700)]
[965] Correctly set read mask for OPCODE_SWZ in pass1.

While OPCODE_SWZ has usually been optimized away in pass0, it may still
exist if a SWZ with dst saturate was emitted in pass_fp.  Fixes an error
in oglconform fpalu.c.

16 years ago[965] Clean up whitespace and dead code from do_unfilled change.
Eric Anholt [Tue, 25 Mar 2008 17:22:50 +0000 (10:22 -0700)]
[965] Clean up whitespace and dead code from do_unfilled change.

16 years agor300: Indented the vertex program code...
Oliver McFadden [Wed, 26 Mar 2008 08:01:13 +0000 (08:01 +0000)]
r300: Indented the vertex program code...

16 years agor300: Cleaned up the default vertex program code with longer lines.
Oliver McFadden [Wed, 26 Mar 2008 07:53:16 +0000 (07:53 +0000)]
r300: Cleaned up the default vertex program code with longer lines.

16 years agor300: Removed the last of the duplicate vertex program macros.
Oliver McFadden [Wed, 26 Mar 2008 07:28:29 +0000 (07:28 +0000)]
r300: Removed the last of the duplicate vertex program macros.

16 years agor300: Added Copyright lines to the vertex program code.
Oliver McFadden [Wed, 26 Mar 2008 07:09:21 +0000 (07:09 +0000)]
r300: Added Copyright lines to the vertex program code.

16 years ago[i915] don't use 4x4 filter for 1D shadowmap
Zou Nan hai [Wed, 26 Mar 2008 06:40:30 +0000 (14:40 +0800)]
[i915] don't use 4x4 filter for 1D shadowmap

16 years agor300: Renamed the Mesa opcode translation functions.
Oliver McFadden [Wed, 26 Mar 2008 06:31:33 +0000 (06:31 +0000)]
r300: Renamed the Mesa opcode translation functions.

16 years agor300: Renamed the destination-and-opcode/source macros to more appropriate names.
Oliver McFadden [Wed, 26 Mar 2008 06:24:48 +0000 (06:24 +0000)]
r300: Renamed the destination-and-opcode/source macros to more appropriate names.

16 years agoimplement glGet/BindAttribLocationARB() for display lists
Brian [Tue, 25 Mar 2008 20:03:52 +0000 (14:03 -0600)]
implement glGet/BindAttribLocationARB() for display lists

More such shader functions are needed...

16 years agoupdated to version 40
Brian [Tue, 25 Mar 2008 14:11:27 +0000 (08:11 -0600)]
updated to version 40

16 years agointel: fix the issue "VBO: Cannot allocate memory for a BO" on
Xiang, Haihao [Tue, 25 Mar 2008 09:29:08 +0000 (17:29 +0800)]
intel: fix the issue "VBO: Cannot allocate memory for a BO" on
965 after merging intel_context.c from i915 and i965. fix bug# 15152.

16 years agoadd GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
Brian [Tue, 25 Mar 2008 01:55:41 +0000 (19:55 -0600)]
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file

16 years agofix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokens
Brian [Tue, 25 Mar 2008 01:55:11 +0000 (19:55 -0600)]
fix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokens

16 years agoR300: fix typo r300 fog reg
Alex Deucher [Mon, 24 Mar 2008 18:49:43 +0000 (14:49 -0400)]
R300: fix typo r300 fog reg

Noticed by pzad on IRC

16 years agor300: Merged the constant zero/one source macros.
Oliver McFadden [Mon, 24 Mar 2008 12:46:56 +0000 (12:46 +0000)]
r300: Merged the constant zero/one source macros.

16 years agor300: Merged the Vector and Math Engine opcode macros.
Oliver McFadden [Mon, 24 Mar 2008 12:46:40 +0000 (12:46 +0000)]
r300: Merged the Vector and Math Engine opcode macros.

16 years agoautoconf: Add a workaround for second AC_PROG_PATH not overwriting results.
Eric Anholt [Sat, 22 Mar 2008 18:03:16 +0000 (11:03 -0700)]
autoconf: Add a workaround for second AC_PROG_PATH not overwriting results.

16 years agouse ctx->Driver.DeleteProgram() in a few more places
Brian [Sat, 22 Mar 2008 16:27:03 +0000 (10:27 -0600)]
use ctx->Driver.DeleteProgram() in a few more places

16 years agodelete default programs with ctx->Driver.DeleteProgram()
Brian [Sat, 22 Mar 2008 15:11:43 +0000 (09:11 -0600)]
delete default programs with ctx->Driver.DeleteProgram()

16 years ago[965] Avoid emitting dead code for DPx/math instructions.
Michal Wajdeczko [Fri, 21 Mar 2008 21:18:26 +0000 (14:18 -0700)]
[965] Avoid emitting dead code for DPx/math instructions.

The pass1 optimization stage clears out writemasks and registers, but the
instructions themselves are still being processed at this stage, and could
have resulted in them still being emitted.

16 years ago[965] Improve pinterp performance by delaying reads of just-written regs.
Michal Wajdeczko [Fri, 21 Mar 2008 20:48:12 +0000 (13:48 -0700)]
[965] Improve pinterp performance by delaying reads of just-written regs.

16 years ago[965] Fix negating of unsigned value in emit_wpos_xy.
Michal Wajdeczko [Fri, 21 Mar 2008 20:43:44 +0000 (13:43 -0700)]
[965] Fix negating of unsigned value in emit_wpos_xy.

16 years ago[965] Add MVP code for position invariant vertex programs.
Michal Wajdeczko [Fri, 21 Mar 2008 20:41:12 +0000 (13:41 -0700)]
[965] Add MVP code for position invariant vertex programs.

This fixes the arbvptorus demo.

16 years ago[win32] Use native aligned memory allocation functions.
Michal Wajdeczko [Fri, 21 Mar 2008 20:11:07 +0000 (13:11 -0700)]
[win32] Use native aligned memory allocation functions.

16 years ago[965] Shuffle state flags to match the order we initialize them in.
Michal Wajdeczko [Fri, 21 Mar 2008 20:05:42 +0000 (13:05 -0700)]
[965] Shuffle state flags to match the order we initialize them in.

16 years agointel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.
Michal Wajdeczko [Fri, 21 Mar 2008 00:38:12 +0000 (17:38 -0700)]
intel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.

16 years agoautoconf: automatically detect if -ldl is required.
Eric Anholt [Fri, 21 Mar 2008 00:28:58 +0000 (17:28 -0700)]
autoconf: automatically detect if -ldl is required.

This logic was copied from the xserver.

16 years agoFix xdemos build on FreeBSD: <sys/types.h> before <netinet/tcp.h>
Eric Anholt [Fri, 21 Mar 2008 00:19:07 +0000 (17:19 -0700)]
Fix xdemos build on FreeBSD: <sys/types.h> before <netinet/tcp.h>

16 years agoFix autoconf build on FreeBSD: detect gmake, and put -D*_SOURCE under linux.
Eric Anholt [Fri, 21 Mar 2008 00:14:20 +0000 (17:14 -0700)]
Fix autoconf build on FreeBSD: detect gmake, and put -D*_SOURCE under linux.

16 years agoRefactor PBO validate/map code.
Brian [Fri, 21 Mar 2008 20:19:28 +0000 (14:19 -0600)]
Refactor PBO validate/map code.

We always need to do PBO validation, so do that in core Mesa before calling driver routine.

16 years agoinclude varray.h to silence warning
Brian [Fri, 21 Mar 2008 19:42:36 +0000 (13:42 -0600)]
include varray.h to silence warning

16 years agoadd a number of PBO validate/map/unmap functions
Brian [Fri, 21 Mar 2008 19:41:00 +0000 (13:41 -0600)]
add a number of PBO validate/map/unmap functions

Helper functions for (some) drivers, including swrast.

16 years agoFix some PBO breakage.
Brian [Fri, 21 Mar 2008 18:31:21 +0000 (12:31 -0600)]
Fix some PBO breakage.

In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO.  Similarly for _mesa_GetTexImage.

16 years ago [i965] multiple rendering target fix
Zou Nan hai [Fri, 21 Mar 2008 10:16:11 +0000 (18:16 +0800)]
 [i965] multiple rendering target fix

16 years ago[i915] GL_DEPTH_TEXTURE_MODE fix
Zou Nan hai [Thu, 20 Mar 2008 09:47:02 +0000 (17:47 +0800)]
[i915] GL_DEPTH_TEXTURE_MODE fix

16 years agomesa: The span array is only populated in single-pixel
Xiang, Haihao [Thu, 20 Mar 2008 03:22:46 +0000 (11:22 +0800)]
mesa: The span array is only populated in single-pixel
point drawing function.

16 years ago[965] Initialize region surface key structure padding.
Eric Anholt [Thu, 20 Mar 2008 00:53:21 +0000 (17:53 -0700)]
[965] Initialize region surface key structure padding.

Fixes valgrind warnings, and potential performance loss from cache misses.

16 years ago[intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.
Eric Anholt [Wed, 19 Mar 2008 23:14:48 +0000 (16:14 -0700)]
[intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.

It was harmless, as the only time we need to clear PRESUMED_OFFSET, the
variable had been initialized already.

16 years agofix IEEE_ONE definition for ICC compiler (bug 15134)
Brian [Wed, 19 Mar 2008 23:24:20 +0000 (17:24 -0600)]
fix IEEE_ONE definition for ICC compiler (bug 15134)

16 years agoRadeon 9500 (0x4144) only has one pipe
Alex Deucher [Wed, 19 Mar 2008 22:10:47 +0000 (18:10 -0400)]
Radeon 9500 (0x4144) only has one pipe

confirmed by Reid Linnemann <lreid@cs.okstate.edu>

16 years agox86_init_func_size() returns int to indicate success/fail (bug 15119)
Brian [Wed, 19 Mar 2008 15:52:08 +0000 (09:52 -0600)]
x86_init_func_size() returns int to indicate success/fail (bug 15119)

16 years agos/x86_init_func/x86_init_func_size (fixes bug 15119)
Brian [Wed, 19 Mar 2008 14:38:28 +0000 (08:38 -0600)]
s/x86_init_func/x86_init_func_size (fixes bug 15119)

16 years ago [i915] arb point sprite only support in i965
Zou Nan hai [Wed, 19 Mar 2008 08:32:29 +0000 (16:32 +0800)]
 [i915] arb point sprite only support in i965

16 years ago[i915] fix fragment.position
Zou Nan hai [Wed, 19 Mar 2008 08:29:47 +0000 (16:29 +0800)]
[i915] fix fragment.position

16 years ago[i915] Bug #13634: Fix bugs in 945 cube mipmap layout.
Eric Anholt [Wed, 19 Mar 2008 02:45:30 +0000 (19:45 -0700)]
[i915] Bug #13634: Fix bugs in 945 cube mipmap layout.

The most egregious, and the one the bug report and failure in the cubemap
demo were about was introduced with intel_mipmap_pitch_align(), where a
"* 2" for the pitch calculation was lost.  The base size < 32 case also
failed to align, which may have caused problems with render to texture.
Another bug would have broken 2x2/1x1 base mipmap levels by placing the
data where the hardware wouldn't look for it.

Other bugs remain with the layout of the small mipmap faces (hardware looks
for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out
X,-X,Y,-Y,Z,-Z).

16 years ago[i915] Add comments about how cube texture layout works.
Eric Anholt [Wed, 19 Mar 2008 00:49:31 +0000 (17:49 -0700)]
[i915] Add comments about how cube texture layout works.

16 years ago[i915] Move miptree layout code into separate functions per target.
Eric Anholt [Tue, 18 Mar 2008 23:06:41 +0000 (16:06 -0700)]
[i915] Move miptree layout code into separate functions per target.

Also clean up some other miscellaneous formatting nits while I'm at it.

16 years ago[intel] Clarify miptree layout by using byte offsets to images.
Eric Anholt [Tue, 18 Mar 2008 23:20:44 +0000 (16:20 -0700)]
[intel] Clarify miptree layout by using byte offsets to images.

16 years ago[945] Remove conditional in 945 3D mipmap layout checking for cube layout.
Eric Anholt [Tue, 18 Mar 2008 22:29:11 +0000 (15:29 -0700)]
[945] Remove conditional in 945 3D mipmap layout checking for cube layout.

16 years agoset outputs_safe to 0 as it's possible for the code generation
Alan Hourihane [Wed, 19 Mar 2008 01:03:48 +0000 (01:03 +0000)]
set outputs_safe to 0 as it's possible for the code generation
to slip over the allocated memory for the vb.

pull in sse fixes from gallium-0.1

16 years agoRevert "[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP"
Zou Nan hai [Tue, 18 Mar 2008 09:37:25 +0000 (17:37 +0800)]
Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP"
There is no information in GS to determinate when to reset line stipple count, still fallback to software
This reverts commit 5a0314b431ab147c6156c3011f4cb54161ba4b25.

16 years agoglx: Add isDirect back to __GLXcontextRec. It is needed
Xiang, Haihao [Tue, 18 Mar 2008 07:02:57 +0000 (15:02 +0800)]
glx: Add isDirect back to __GLXcontextRec. It is needed
to check whether oldGC is used for direct rendering in
function MakeContextCurrent. However it is possible
oldGC->driContext is already freed. fix bug #14926.

16 years ago[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP
Zou Nan hai [Tue, 18 Mar 2008 02:27:20 +0000 (10:27 +0800)]
[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP

16 years agor300: add new rs690 pci id
Dave Airlie [Tue, 18 Mar 2008 00:29:16 +0000 (10:29 +1000)]
r300: add new rs690 pci id

16 years ago[965] Fix fp temp reg release code to not usually release all temps.
Andrzej Trznadel [Mon, 17 Mar 2008 22:54:24 +0000 (15:54 -0700)]
[965] Fix fp temp reg release code to not usually release all temps.

Also, use wrapped ffs() instead of native.