mesa.git
14 years agor600: check if textures are actually enabled before submission
Alex Deucher [Wed, 9 Sep 2009 15:14:17 +0000 (11:14 -0400)]
r600: check if textures are actually enabled before submission

noticed by taiu on IRC.

14 years agor600: fix ftp for dri1
Alex Deucher [Wed, 9 Sep 2009 05:41:46 +0000 (01:41 -0400)]
r600: fix ftp for dri1

We use t->bo for dri1 since r600 uses CS for dri1.

14 years agor600: don't setup hardware state if TFP
Dave Airlie [Wed, 9 Sep 2009 05:02:16 +0000 (15:02 +1000)]
r600: don't setup hardware state if TFP

if we have a BO here it means TFP and we should have set it
up already.

tested by b0le on #radeon

14 years agor600: fix dri2 clipping
Alex Deucher [Tue, 8 Sep 2009 20:03:25 +0000 (16:03 -0400)]
r600: fix dri2 clipping

14 years agogdi: Update for WGL state tracker interface changes.
José Fonseca [Thu, 24 Sep 2009 12:09:40 +0000 (13:09 +0100)]
gdi: Update for WGL state tracker interface changes.

14 years agowgl: DWM integration.
José Fonseca [Thu, 24 Sep 2009 12:08:34 +0000 (13:08 +0100)]
wgl: DWM integration.

14 years agoscons: Don't require -liberty on MinGW.
José Fonseca [Thu, 24 Sep 2009 12:05:27 +0000 (13:05 +0100)]
scons: Don't require -liberty on MinGW.

Not always present.

14 years agomesa: Fix missing finite symbol error on Windows.
José Fonseca [Thu, 24 Sep 2009 11:36:11 +0000 (12:36 +0100)]
mesa: Fix missing finite symbol error on Windows.

Caused by some weird logic regarding the __WIN32__ define which made
the finite definition dependent on the header include order.

14 years agor600: fix up ordering of functions in draw prims path
Alex Deucher [Wed, 23 Sep 2009 23:42:07 +0000 (19:42 -0400)]
r600: fix up ordering of functions in draw prims path

Shaders and IB need to be updated and allocated before
calling validatebuffers.

14 years agor300: fallback to software rendering if we are out of free texcoords
Maciej Cencora [Sat, 19 Sep 2009 16:45:59 +0000 (18:45 +0200)]
r300: fallback to software rendering if we are out of free texcoords

Fixes #22741

14 years agor600: fix r700PredictRenderSize for draw prims path
Alex Deucher [Wed, 23 Sep 2009 20:54:12 +0000 (16:54 -0400)]
r600: fix r700PredictRenderSize for draw prims path

14 years agor600 : add hw index buffer draw support.
Richard Li [Wed, 23 Sep 2009 20:10:20 +0000 (16:10 -0400)]
r600 : add hw index buffer draw support.

14 years agoprogs/perf: added glReadPixels benchmark
Brian Paul [Wed, 23 Sep 2009 20:04:38 +0000 (14:04 -0600)]
progs/perf: added glReadPixels benchmark

14 years agoprogs/perf: also request a stencil buffer
Brian Paul [Wed, 23 Sep 2009 20:04:25 +0000 (14:04 -0600)]
progs/perf: also request a stencil buffer

14 years agoswrast: add lod bias when texture sampling
Brian Paul [Wed, 23 Sep 2009 19:35:03 +0000 (13:35 -0600)]
swrast: add lod bias when texture sampling

Mostly fixes progs/demos/lodbias when MESA_TEX_PROG=1.  But the LOD still
seems off by -1 or so.
May be an issue with the params passed to _swrast_compute_lambda()

14 years agomesa: don't bias LOD in shader interpreter; do it in swrast
Brian Paul [Wed, 23 Sep 2009 19:34:30 +0000 (13:34 -0600)]
mesa: don't bias LOD in shader interpreter; do it in swrast

14 years agoswrast: fix typo in partial derivatives parameter passing
Brian Paul [Wed, 23 Sep 2009 18:54:14 +0000 (12:54 -0600)]
swrast: fix typo in partial derivatives parameter passing

14 years agoFinish removing glcore
Adam Jackson [Wed, 23 Sep 2009 19:22:19 +0000 (15:22 -0400)]
Finish removing glcore

14 years agor600: fix copy/paste typo
Alex Deucher [Wed, 23 Sep 2009 19:02:19 +0000 (15:02 -0400)]
r600: fix copy/paste typo

14 years agor600: fix some warnings
Alex Deucher [Wed, 23 Sep 2009 18:56:56 +0000 (14:56 -0400)]
r600: fix some warnings

14 years agor600: add support for CUBE textures, also TXP
Andre Maasikas [Wed, 23 Sep 2009 11:20:59 +0000 (14:20 +0300)]
r600: add support for CUBE textures, also TXP

seems to work here ...

14 years agoprogs/perf: Actually bind the newly created vbo.
Michal Krol [Wed, 23 Sep 2009 18:24:35 +0000 (20:24 +0200)]
progs/perf: Actually bind the newly created vbo.

14 years agost/mesa: trim calculated userbuffer size
Keith Whitwell [Wed, 23 Sep 2009 13:40:45 +0000 (14:40 +0100)]
st/mesa: trim calculated userbuffer size

In get_array_bounds we were previously defining a user buffer sized as
(nr_vertices * stride).  The trouble is that if the vertex data
occupies less than stride bytes, the extra tailing (stride - size)
bytes may extend outside the memory actually allocated by the app and
caused a segfault.

To fix this, define a the buffer bounds to be:

   ptr .. ptr + (nr-1)*stride + element_size

14 years agollvmpipe: move tile cache datatypes into .c file since they're private
Brian Paul [Wed, 23 Sep 2009 17:08:12 +0000 (11:08 -0600)]
llvmpipe: move tile cache datatypes into .c file since they're private

14 years agosoftpipe: replace macros with inline functions
Brian Paul [Wed, 23 Sep 2009 17:51:52 +0000 (11:51 -0600)]
softpipe: replace macros with inline functions

And update comments.

14 years agosoftpipe: white-space/formatting fixes and updated comments
Brian Paul [Wed, 23 Sep 2009 17:35:33 +0000 (11:35 -0600)]
softpipe: white-space/formatting fixes and updated comments

14 years agollvmpipe: added max texture/surface size sanity check
Brian Paul [Wed, 23 Sep 2009 17:04:57 +0000 (11:04 -0600)]
llvmpipe: added max texture/surface size sanity check

Carried over from softpipe driver.

14 years agollvmpipe: increase MAX_WIDTH/HEIGHT to match max texture size
Brian Paul [Wed, 23 Sep 2009 17:04:07 +0000 (11:04 -0600)]
llvmpipe: increase MAX_WIDTH/HEIGHT to match max texture size

14 years agoMerge branch 'mesa_7_6_branch'
Brian Paul [Wed, 23 Sep 2009 17:00:04 +0000 (11:00 -0600)]
Merge branch 'mesa_7_6_branch'

Conflicts:

src/gallium/drivers/softpipe/sp_tile_cache.c

14 years agosoftpipe: added max texture/surface size sanity check
Brian Paul [Wed, 23 Sep 2009 16:50:38 +0000 (10:50 -0600)]
softpipe: added max texture/surface size sanity check

14 years agosoftpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture size
Brian Paul [Tue, 22 Sep 2009 21:35:05 +0000 (15:35 -0600)]
softpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture size

14 years agoMerge branch 'softpipe-opt'
Keith Whitwell [Wed, 23 Sep 2009 16:37:28 +0000 (17:37 +0100)]
Merge branch 'softpipe-opt'

Conflicts:
progs/demos/cubemap.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_texture.c

14 years agogallium/include: update some comments
Keith Whitwell [Thu, 17 Sep 2009 18:18:39 +0000 (19:18 +0100)]
gallium/include: update some comments

14 years agost/xorg: fix a typo
Zack Rusin [Wed, 23 Sep 2009 16:05:13 +0000 (12:05 -0400)]
st/xorg: fix a typo

it'd be too easy, eh

14 years agost/xorg: keep the user buffer contents around
Zack Rusin [Tue, 22 Sep 2009 21:49:53 +0000 (17:49 -0400)]
st/xorg: keep the user buffer contents around

Michel noticed that they were getting out of scope

14 years agoprogs/perf: set TexSubImage4=FALSE
Brian Paul [Wed, 23 Sep 2009 14:06:29 +0000 (08:06 -0600)]
progs/perf: set TexSubImage4=FALSE

14 years agowgl: Eliminate the shared layer; implement WGL API on top of the ICD callbacks.
José Fonseca [Tue, 22 Sep 2009 17:51:41 +0000 (18:51 +0100)]
wgl: Eliminate the shared layer; implement WGL API on top of the ICD callbacks.

While the WGL API has been stale for decades now, the ICD interface has
been updated with new Windows versions, so it is much easier to define
everything in terms of the ICD interfaces, which is pretty much what
Microsoft's opengl32.dll does anyway.

14 years agogdi: Update for WGL statetracker source reorg.
José Fonseca [Tue, 22 Sep 2009 16:42:47 +0000 (17:42 +0100)]
gdi: Update for WGL statetracker source reorg.

14 years agowgl: Flatten the source tree.
José Fonseca [Tue, 22 Sep 2009 16:40:20 +0000 (17:40 +0100)]
wgl: Flatten the source tree.

It is easier to have the WGL API on top of the ICD callbacks as
Microsoft's own implementation does, than to have a seperate shared
entity. This source reorganization is in antecipation of that.

14 years agowgl: Fix debug_printf format specifiers.
José Fonseca [Tue, 22 Sep 2009 16:25:22 +0000 (17:25 +0100)]
wgl: Fix debug_printf format specifiers.

14 years agogallium: Update vendor string.
José Fonseca [Tue, 22 Sep 2009 16:16:35 +0000 (17:16 +0100)]
gallium: Update vendor string.

14 years agosoftpipe: fix bugs in POT texture sampling when texture is not square
root [Wed, 23 Sep 2009 02:14:05 +0000 (20:14 -0600)]
softpipe: fix bugs in POT texture sampling when texture is not square

Before, if level was greater than the logbase2(base size) we were
doing a negative bit shift and winding up with garbage values.

14 years agosoftpipe: additional assertions
Brian Paul [Tue, 22 Sep 2009 22:59:28 +0000 (16:59 -0600)]
softpipe: additional assertions

14 years agosoftpipe: disable a _debug_printf()
Brian Paul [Tue, 22 Sep 2009 22:42:15 +0000 (16:42 -0600)]
softpipe: disable a _debug_printf()

14 years agoMerge branch 'mesa_7_6_branch'
Brian Paul [Tue, 22 Sep 2009 22:06:18 +0000 (16:06 -0600)]
Merge branch 'mesa_7_6_branch'

14 years agomesa: don't re-use the meta glDrawPixels VBO; create a new one each time
Brian Paul [Tue, 22 Sep 2009 21:58:12 +0000 (15:58 -0600)]
mesa: don't re-use the meta glDrawPixels VBO; create a new one each time

This should help to work around bugs 24083 and 23670.

14 years agoprogs/perf: added glCopyTex[Sub]Image2D test
Brian Paul [Tue, 22 Sep 2009 21:28:34 +0000 (15:28 -0600)]
progs/perf: added glCopyTex[Sub]Image2D test

14 years agor600 : add draw_prim support, make up one lost change.
Richard Li [Tue, 22 Sep 2009 21:26:23 +0000 (17:26 -0400)]
r600 : add draw_prim support, make up one lost change.

14 years agor600 : add draw_prim support.
Richard Li [Tue, 22 Sep 2009 20:39:11 +0000 (16:39 -0400)]
r600 : add draw_prim support.

14 years agomesa: fix more buffer object error messages
Brian Paul [Tue, 22 Sep 2009 19:47:49 +0000 (13:47 -0600)]
mesa: fix more buffer object error messages

14 years agosoftpipe: need to write depth/stencil values even when stencil fails
Keith Whitwell [Tue, 22 Sep 2009 19:47:37 +0000 (20:47 +0100)]
softpipe: need to write depth/stencil values even when stencil fails

14 years agosoftpipe: set quad->facing value
Keith Whitwell [Tue, 22 Sep 2009 19:47:07 +0000 (20:47 +0100)]
softpipe: set quad->facing value

14 years agoMerge branch 'mesa_7_5_branch' into mesa_7_6_branch
Brian Paul [Tue, 22 Sep 2009 19:44:43 +0000 (13:44 -0600)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch

Conflicts:

src/mesa/main/bufferobj.c

14 years agoglx: include string.h to silence missing memset() prototype warning
Brian Paul [Tue, 22 Sep 2009 19:19:05 +0000 (13:19 -0600)]
glx: include string.h to silence missing memset() prototype warning

14 years agomesa: fix error message text
Brian Paul [Tue, 22 Sep 2009 19:14:55 +0000 (13:14 -0600)]
mesa: fix error message text

14 years agor300: Fix crash reported in bug #24066
Nicolai Hähnle [Tue, 22 Sep 2009 18:57:05 +0000 (20:57 +0200)]
r300: Fix crash reported in bug #24066

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
14 years agosoftpipe: fix polygon stipple
Keith Whitwell [Tue, 22 Sep 2009 18:38:34 +0000 (19:38 +0100)]
softpipe: fix polygon stipple

14 years agoprogs/perf: test glGetTexImage() also
Brian Paul [Tue, 22 Sep 2009 18:25:32 +0000 (12:25 -0600)]
progs/perf: test glGetTexImage() also

14 years agosoftpipe: fix occlusion counting
Keith Whitwell [Tue, 22 Sep 2009 18:26:08 +0000 (19:26 +0100)]
softpipe: fix occlusion counting

14 years agost/xorg: Fix two leeks
Jakob Bornecrantz [Tue, 22 Sep 2009 17:59:26 +0000 (10:59 -0700)]
st/xorg: Fix two leeks

We where leaking both surfaces in the composit code
and textures from pixmaps.

14 years agoi915g: Activate trace
Jakob Bornecrantz [Tue, 22 Sep 2009 18:00:58 +0000 (11:00 -0700)]
i915g: Activate trace

14 years agoi915g: Do propper references of surfaces in context
Jakob Bornecrantz [Tue, 22 Sep 2009 17:55:41 +0000 (10:55 -0700)]
i915g: Do propper references of surfaces in context

14 years agoprogs/perf: add missing texture enable in fbobind.c
Brian Paul [Tue, 22 Sep 2009 17:14:58 +0000 (11:14 -0600)]
progs/perf: add missing texture enable in fbobind.c

14 years agoprogs/perf: added fbobind.c test to test FBO binding speed
Brian Paul [Tue, 22 Sep 2009 17:03:43 +0000 (11:03 -0600)]
progs/perf: added fbobind.c test to test FBO binding speed

14 years agoprogs/perf: added PerfExtensionSupported() helper
Brian Paul [Tue, 22 Sep 2009 17:02:04 +0000 (11:02 -0600)]
progs/perf: added PerfExtensionSupported() helper

14 years agoteximage: add more tests, image formats
Keith Whitwell [Tue, 22 Sep 2009 16:59:24 +0000 (17:59 +0100)]
teximage: add more tests, image formats

Add a test which creates a new texture from scratch before uploading.
Add more image formats.
Don't run all tests on all image formats.

14 years agoprogs/perf: add another VBO test for Create/Draw/Destroy pattern
Brian Paul [Tue, 22 Sep 2009 15:53:35 +0000 (09:53 -0600)]
progs/perf: add another VBO test for Create/Draw/Destroy pattern

Report both MB/sec and draw/sec.

14 years agoprogs/perf: simplify the code
Brian Paul [Tue, 22 Sep 2009 15:43:08 +0000 (09:43 -0600)]
progs/perf: simplify the code

14 years agoprogs/perf: fix comment
Brian Paul [Tue, 22 Sep 2009 15:29:27 +0000 (09:29 -0600)]
progs/perf: fix comment

14 years agoprogs/perf: updated comments
Brian Paul [Tue, 22 Sep 2009 13:50:12 +0000 (07:50 -0600)]
progs/perf: updated comments

14 years agoprogs/perf: make teximage results easier to read, more reproducible
Keith Whitwell [Tue, 22 Sep 2009 11:35:56 +0000 (12:35 +0100)]
progs/perf: make teximage results easier to read, more reproducible

Always run the same tests on different drivers, give zero results
where test image is too big for driver.

Add a newline between groups of tests.

14 years agoprogs/perf: reset row_length after subimage test
Keith Whitwell [Tue, 22 Sep 2009 10:58:09 +0000 (11:58 +0100)]
progs/perf: reset row_length after subimage test

Also test fewer sizes in teximage generally.

14 years agoprogs/perf: clean up swapbuffers test a bit
Keith Whitwell [Tue, 22 Sep 2009 10:27:18 +0000 (11:27 +0100)]
progs/perf: clean up swapbuffers test a bit

14 years agoprogs/perf: break up long runs of fullscreen quads
Keith Whitwell [Tue, 22 Sep 2009 10:01:53 +0000 (11:01 +0100)]
progs/perf: break up long runs of fullscreen quads

Not all drivers cope gracefully with command-buffers with zillions of
fullscreen quads.

14 years agoprogs/perf: add first attempt at a swapbuffers rate test
Keith Whitwell [Mon, 21 Sep 2009 15:55:12 +0000 (16:55 +0100)]
progs/perf: add first attempt at a swapbuffers rate test

This is pretty ugly as the original framework assumed you'd set
a single window size at startup and keep it throughout, but for
swapbuffers you want to test the rate at various window sizes.

With luck a nicer solution can be found, but this at least lays out
a marker.

14 years agovbo: added comment about max array index
Brian Paul [Mon, 21 Sep 2009 22:54:35 +0000 (16:54 -0600)]
vbo: added comment about max array index

14 years agovbo: restore some lost warning output
Brian Paul [Mon, 21 Sep 2009 22:51:34 +0000 (16:51 -0600)]
vbo: restore some lost warning output

14 years agoGLX: Warn only once about applications calling GLX 1.3 functions
Tormod Volden [Sun, 20 Sep 2009 18:20:01 +0000 (20:20 +0200)]
GLX: Warn only once about applications calling GLX 1.3 functions

The warnings introduced in 1f309c40b8065b8729fce631540c66e4b50b84df
would pour out generously from some applications. This patch adds a
"warn once" wrapper macro, heavily inspired by
src/mesa/drivers/dri/r600/radeon_debug.h

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agovbo: disable the GL_ARB_draw_elements_base_vertex rebase path
Brian Paul [Mon, 21 Sep 2009 22:07:14 +0000 (16:07 -0600)]
vbo: disable the GL_ARB_draw_elements_base_vertex rebase path

This was introduced with commit 92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf.
It causes rendering of stray polygons (with sw rendering at least) when
running the OGL Distilled / Picking demo (click on an object).

This needs additional debugging to fix/restore.

Found one suspect thing: in _tnl_draw_prims() there's some mixed signed/
unsigned arithmetic/comparing at line 422 that may be incorrect.

14 years agoselinux: Fix mmap() return value check
Adam Jackson [Mon, 21 Sep 2009 21:03:58 +0000 (17:03 -0400)]
selinux: Fix mmap() return value check

14 years agomesa: refine the error checking vbo_exec_DrawRangeElements()
Brian Paul [Mon, 21 Sep 2009 20:23:07 +0000 (14:23 -0600)]
mesa: refine the error checking vbo_exec_DrawRangeElements()

If the 'end' index is out of bounds issue a warning as before.  But instead
of just no-op'ing the draw call, examine the actual array indices to see
if they're OK.  If the max array index is out of bounds, issue another
warning and no-op the draw call.  Otherwise, draw normally.  This is a
debug build-only feature since it could impact performance.

This "fixes" the missing torus in the OGL Distilled / Picking demo.

14 years agomesa: make max_buffer_index() a non-static function
Brian Paul [Mon, 21 Sep 2009 20:07:35 +0000 (14:07 -0600)]
mesa: make max_buffer_index() a non-static function

14 years agoradeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4b...
Maciej Cencora [Sun, 20 Sep 2009 11:54:59 +0000 (13:54 +0200)]
radeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0

14 years agomesa: add some debug info to teximage.c
Maciej Cencora [Sat, 19 Sep 2009 16:47:36 +0000 (18:47 +0200)]
mesa: add some debug info to teximage.c

14 years agor300: fix a typo
Maciej Cencora [Sat, 19 Sep 2009 16:46:51 +0000 (18:46 +0200)]
r300: fix a typo

14 years agoswrast: fix cube face selection
Brian Paul [Mon, 21 Sep 2009 14:32:43 +0000 (08:32 -0600)]
swrast: fix cube face selection

If arx and ary are equal, we still want to choose from one of them,
and not arz.

This is the same as Michal's softpipe fix.

14 years agoMerge branch 'mesa_7_5_branch' into mesa_7_6_branch
Brian Paul [Mon, 21 Sep 2009 20:49:46 +0000 (14:49 -0600)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch

14 years agor600: fix typo in the last commit
Alex Deucher [Mon, 21 Sep 2009 20:48:55 +0000 (16:48 -0400)]
r600: fix typo in the last commit

128 gprs, 256 reg-based consts

14 years agor600: various cleanups
Alex Deucher [Mon, 21 Sep 2009 20:30:14 +0000 (16:30 -0400)]
r600: various cleanups

- max texture size is 8k, but mesa doesn't support
that at the moment.
- attempt to set shader limits to what the hw actually
supports
- clean up some old r300 cruft
- no need to explicitly disable irqs.  This is fixed
in the drm now.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
14 years agomesa: refine the error checking vbo_exec_DrawRangeElements()
Brian Paul [Mon, 21 Sep 2009 20:23:07 +0000 (14:23 -0600)]
mesa: refine the error checking vbo_exec_DrawRangeElements()

If the 'end' index is out of bounds issue a warning as before.  But instead
of just no-op'ing the draw call, examine the actual array indices to see
if they're OK.  If the max array index is out of bounds, issue another
warning and no-op the draw call.  Otherwise, draw normally.  This is a
debug build-only feature since it could impact performance.

This "fixes" the missing torus in the OGL Distilled / Picking demo.

14 years agomesa: make max_buffer_index() a non-static function
Brian Paul [Mon, 21 Sep 2009 20:07:35 +0000 (14:07 -0600)]
mesa: make max_buffer_index() a non-static function

14 years agoradeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4b...
Maciej Cencora [Sun, 20 Sep 2009 11:54:59 +0000 (13:54 +0200)]
radeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0

14 years agomesa: add some debug info to teximage.c
Maciej Cencora [Sat, 19 Sep 2009 16:47:36 +0000 (18:47 +0200)]
mesa: add some debug info to teximage.c

14 years agor300: fix a typo
Maciej Cencora [Sat, 19 Sep 2009 16:46:51 +0000 (18:46 +0200)]
r300: fix a typo

14 years agomesa: Ensure TGSI tokens are freed with gallium's free.
José Fonseca [Mon, 21 Sep 2009 18:57:57 +0000 (19:57 +0100)]
mesa: Ensure TGSI tokens are freed with gallium's free.

To avoid breaking the gallium's builtin malloc debugging.

14 years agoprogs/perf: added fill-rate test
Brian Paul [Mon, 21 Sep 2009 18:17:49 +0000 (12:17 -0600)]
progs/perf: added fill-rate test

Many more fill modes could be tested, but this hits the basics including
blending, texturing and shaders.

14 years agoprogs/perf: added helpers for creating simple textures and shader programs
Brian Paul [Mon, 21 Sep 2009 17:58:03 +0000 (11:58 -0600)]
progs/perf: added helpers for creating simple textures and shader programs

14 years agoprogs/perf: offsetof() should be defined in stddef.h, include it
Brian Paul [Mon, 21 Sep 2009 17:09:00 +0000 (11:09 -0600)]
progs/perf: offsetof() should be defined in stddef.h, include it

If this breaks mingw, feel free to revert this.

14 years agointel: Mark the FBO as incomplete if there's no intel_renderbuffer for it.
Eric Anholt [Wed, 20 May 2009 21:05:03 +0000 (14:05 -0700)]
intel: Mark the FBO as incomplete if there's no intel_renderbuffer for it.

This happens to rendering with textures with a border, which had resulted
in a segfault on dereferencing the irb.

(cherry-picked from commit 8bba183b9eeb162661a287bf2e118c6dd419dd24)

14 years agor300g: Fix bad formatting parameters in calls to debug_printf
Nicolai Hähnle [Mon, 21 Sep 2009 15:35:10 +0000 (17:35 +0200)]
r300g: Fix bad formatting parameters in calls to debug_printf

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>