mesa.git
14 years agogallium: add basic support for stream output queries
Zack Rusin [Mon, 7 Jun 2010 16:14:56 +0000 (12:14 -0400)]
gallium: add basic support for stream output queries

14 years agogallium: adjust the query interface to support custom types
Zack Rusin [Thu, 3 Jun 2010 20:12:08 +0000 (16:12 -0400)]
gallium: adjust the query interface to support custom types

we need to change it to support composite types

14 years agogallium: rename draw_auto to draw_stream_output, plus fix a comment
Zack Rusin [Wed, 2 Jun 2010 16:57:58 +0000 (12:57 -0400)]
gallium: rename draw_auto to draw_stream_output, plus fix a comment

Brian spotted those

14 years agogallium: make draw auto work and add relevant caps and docs
Zack Rusin [Tue, 1 Jun 2010 16:47:23 +0000 (12:47 -0400)]
gallium: make draw auto work and add relevant caps and docs

14 years agogallium: add interface for DrawAuto and implement it in softpipe
Zack Rusin [Tue, 1 Jun 2010 00:41:18 +0000 (20:41 -0400)]
gallium: add interface for DrawAuto and implement it in softpipe

14 years agogallium: a lot more complete implementation of stream output
Zack Rusin [Mon, 31 May 2010 06:20:34 +0000 (02:20 -0400)]
gallium: a lot more complete implementation of stream output

interface wise we have everything needed by d3d10 and gl transform feedback.
the draw module misses implementation of some corner cases (e.g. when stream
output wants different number of components per output than normal rendering
paths)

14 years agogallium: basic and initial implementation of the stream output interface
Zack Rusin [Fri, 28 May 2010 17:14:07 +0000 (13:14 -0400)]
gallium: basic and initial implementation of the stream output interface

aka transform feedback

14 years agost/mesa: attempt to fix TFP by using sampler views (v1)
Dave Airlie [Sat, 24 Apr 2010 08:53:55 +0000 (18:53 +1000)]
st/mesa: attempt to fix TFP by using sampler views (v1)

Okay I think this is good enough for now, I can't see any other reason
for mesa to want to use a sampler view so lets just leave it at all the A->X conversions for now.

I've been running gnome-shell under r300g with this for day or so and it seems fine.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agollvmpipe: Add geom shader file to make build
Jakob Bornecrantz [Tue, 8 Jun 2010 02:24:17 +0000 (04:24 +0200)]
llvmpipe: Add geom shader file to make build

14 years agograw: Fix file handle leaks.
Vinson Lee [Tue, 8 Jun 2010 01:34:13 +0000 (18:34 -0700)]
graw: Fix file handle leaks.

14 years agograw: Remove unnecessary headers.
Vinson Lee [Tue, 8 Jun 2010 01:14:34 +0000 (18:14 -0700)]
graw: Remove unnecessary headers.

14 years agosw: Remove unnecessary header.
Vinson Lee [Tue, 8 Jun 2010 01:08:33 +0000 (18:08 -0700)]
sw: Remove unnecessary header.

14 years agoglew: Drop glew now that we don't need it for the progs
Jakob Bornecrantz [Sat, 5 Jun 2010 11:33:58 +0000 (13:33 +0200)]
glew: Drop glew now that we don't need it for the progs

 configs/beos           |    2 +-
 configs/darwin         |    2 +-
 configs/default        |    4 +-
 configs/freebsd-dri    |    2 +-
 configs/linux-cell     |    2 +-
 configs/linux-dri-xcb  |    2 +-
 configs/linux-indirect |    2 +-
 configure.ac           |    2 +-
 include/GL/glew.h      |14435 ------------------------------------------------
 include/GL/glxew.h     | 1476 -----
 include/GL/wglew.h     | 1247 -----
 src/SConscript         |    1 -
 src/glew/LICENSE.txt   |   73 -
 src/glew/Makefile      |   54 -
 src/glew/SConscript    |   69 -
 src/glew/glew.c        |14320 -----------------------------------------------
 src/glew/glewinfo.c    | 8441 ----------------------------
 src/glew/visualinfo.c  | 1173 ----
 18 files changed, 8 insertions(+), 41299 deletions(-)

Revert "glew: update to version 1.5.4"
This reverts commit a189b1c53b6a3b6c055cc86145c8ef48c580e9d0.

Revert "glew: Include X11 headers and libraries in SCons build."
This reverts commit efdd33985cb38429aeae845a556db2322957e71a.

Revert "scons: Fix GLEW build on Mac OS X."
This reverts commit 8f81769148eab0042ffb7192a702350275648715.

Revert "scons: Use static glew library on Unices to avoid binary compatability issues"
This reverts commit de22c940a1df66d13825dd15c015eafabb61a11d.

Revert "glew: Update to version 1.5.2."
This reverts commit aaf7ecfd816f82fef314f4f772cc53bc0ced553e.

Revert "scons: Build glew on all platforms."
This reverts commit 52eb3e4235cc661ab9626a704c555a5f096c628a.

Revert "scons: Put glut and glew shared libraries into build/xxx/bin or lib."
This reverts commit 8a318edd0838ee3343be0425019d93541b621567.
Didn't revert scons/gallium.py

Revert "scons: Fix glew build on MSVC."
This reverts commit 14a8c9dac7ea43ad8a45052e17f7127451344e5a.

Revert "scons: Build progs together with everything else."
This reverts commit 7bbf7f94ea786e41ff1364cedaf7dd5c0bbf605a.
Only changed src/glew/SConscript

Revert "mesa: include glew headers in MesaDemos tarballs"
This reverts commit c57d81ddc9ba3052ff7f6b72091accab2c2db0ae.

Revert "mesa: include GLEW sources in MesaDemos tarball"
This reverts commit b9e2e32daf5505896a662dc8df60104c0f51b4b9.

Revert "glew: correct misspelling of glFramebufferTextureLayer"
This reverts commit 1b05b5b4fecd9ac8ef34abdda6c085868016ad84.

Revert "glew: fix GLEW_LIB_NAME"
This reverts commit c10df26a31b6af5a720fbfd06411d580cd38a2c8.

Revert "Add dummy install target for glew to fix 'make install'"
This reverts commit c273dfe6a28d4bb64ce167685b4053d22db5a727.

Revert "autoconf: Add GLEW needed by progs when building GLUT"
This reverts commit 2977cee38e21b8e5ebba1635b101185d64ee44a9.

Revert "glew: Build it as a static lib."
This reverts commit fcf9353fea8343a1a86c8c6e0144c8429440c648.

Revert "glew: Initial import."
This reverts commit 57d00016cab9afa3e7853d9830044a8ece9541c4.

14 years agor600g: Remove unnecessary header.
Vinson Lee [Mon, 7 Jun 2010 23:54:18 +0000 (16:54 -0700)]
r600g: Remove unnecessary header.

14 years agollvmpipe: Remove unnecessary header.
Vinson Lee [Mon, 7 Jun 2010 23:44:22 +0000 (16:44 -0700)]
llvmpipe: Remove unnecessary header.

14 years agograw: Add gallium library to SCons build.
Vinson Lee [Mon, 7 Jun 2010 23:34:03 +0000 (16:34 -0700)]
graw: Add gallium library to SCons build.

Fixes MSVC SCons build.

14 years agor300g: fix hardlock caused by an incompatible vertex format
Marek Olšák [Mon, 7 Jun 2010 20:10:47 +0000 (22:10 +0200)]
r300g: fix hardlock caused by an incompatible vertex format

The drivers aborts instead, I am working on a real fix...

14 years agograw: add gs-test.c and some simple geometry shader examples
Keith Whitwell [Mon, 7 Jun 2010 18:52:43 +0000 (19:52 +0100)]
graw: add gs-test.c and some simple geometry shader examples

14 years agosoftpipe: use util_clear_render_target/depth_stencil fallbacks
Roland Scheidegger [Mon, 7 Jun 2010 18:47:54 +0000 (20:47 +0200)]
softpipe: use util_clear_render_target/depth_stencil fallbacks

14 years agollvmpipe: use util_clear_render_target/depth_stencil fallbacks
Roland Scheidegger [Mon, 7 Jun 2010 18:47:45 +0000 (20:47 +0200)]
llvmpipe: use util_clear_render_target/depth_stencil fallbacks

14 years agoutil: implement util_clear_depth_stencil fallback
Roland Scheidegger [Mon, 7 Jun 2010 18:47:07 +0000 (20:47 +0200)]
util: implement util_clear_depth_stencil fallback

this doesn't really look terribly useful for drivers to use, but until
drivers use their own implementation provide this since some state trackers
really want to use these functions.

14 years agograw: add parse_geometry_shader helper
Keith Whitwell [Mon, 7 Jun 2010 18:37:44 +0000 (19:37 +0100)]
graw: add parse_geometry_shader helper

14 years agotgsi: null-terminate string in parse_identifier
Keith Whitwell [Mon, 7 Jun 2010 18:37:24 +0000 (19:37 +0100)]
tgsi: null-terminate string in parse_identifier

Hit this parsing geometry shader properties.

14 years agodraw: don't use llvm engine when geometry shaders active
Keith Whitwell [Mon, 7 Jun 2010 18:35:31 +0000 (19:35 +0100)]
draw: don't use llvm engine when geometry shaders active

They aren't implemented for llvm.

14 years agograw: trivial geometry shader test
Keith Whitwell [Mon, 7 Jun 2010 18:34:04 +0000 (19:34 +0100)]
graw: trivial geometry shader test

14 years agograw: add symlinks to shader test directories
Keith Whitwell [Mon, 7 Jun 2010 18:05:57 +0000 (19:05 +0100)]
graw: add symlinks to shader test directories

14 years agoi965g: Use Xorg template makefile
Jakob Bornecrantz [Sun, 6 Jun 2010 11:22:26 +0000 (12:22 +0100)]
i965g: Use Xorg template makefile

14 years agonouveau: Use Xorg template makefile
Jakob Bornecrantz [Sun, 6 Jun 2010 11:18:40 +0000 (12:18 +0100)]
nouveau: Use Xorg template makefile

14 years agonouveau: Remove left over argument in drm api
Jakob Bornecrantz [Sun, 6 Jun 2010 11:12:54 +0000 (12:12 +0100)]
nouveau: Remove left over argument in drm api

14 years agor300g: Use Xorg template makefile
Jakob Bornecrantz [Sun, 6 Jun 2010 10:50:12 +0000 (11:50 +0100)]
r300g: Use Xorg template makefile

14 years agograw: remove references to unistd.h
Keith Whitwell [Mon, 7 Jun 2010 16:53:43 +0000 (17:53 +0100)]
graw: remove references to unistd.h

14 years agoutil: new file u_dirty_flags.h
Keith Whitwell [Mon, 7 Jun 2010 16:25:45 +0000 (17:25 +0100)]
util: new file u_dirty_flags.h

14 years agotests/graw: missing file tri.c
Keith Whitwell [Mon, 7 Jun 2010 16:22:53 +0000 (17:22 +0100)]
tests/graw: missing file tri.c

14 years agograw_xlib: build fixes
Keith Whitwell [Mon, 7 Jun 2010 15:44:40 +0000 (16:44 +0100)]
graw_xlib: build fixes

14 years agograw: update graw_null after interface changes and build graw tests again
Keith Whitwell [Mon, 7 Jun 2010 15:43:49 +0000 (16:43 +0100)]
graw: update graw_null after interface changes and build graw tests again

14 years agosoftpipe: remove assert on setting constbufs greater than zero
Keith Whitwell [Mon, 31 May 2010 15:43:45 +0000 (16:43 +0100)]
softpipe: remove assert on setting constbufs greater than zero

14 years agollvmpipe: hook up basic gs and multiple constant buffer support
Keith Whitwell [Fri, 28 May 2010 15:54:35 +0000 (16:54 +0100)]
llvmpipe: hook up basic gs and multiple constant buffer support

14 years agocell/spu: divorce from tgsi_exec.h
Keith Whitwell [Sun, 30 May 2010 18:23:40 +0000 (19:23 +0100)]
cell/spu: divorce from tgsi_exec.h

14 years agoutil: add u_box_3d
Keith Whitwell [Sat, 22 May 2010 19:31:11 +0000 (20:31 +0100)]
util: add u_box_3d

14 years agogallivm: eliminate tgsi_exec.h include
Keith Whitwell [Mon, 7 Jun 2010 15:17:03 +0000 (16:17 +0100)]
gallivm: eliminate tgsi_exec.h include

14 years agoinclude/st: new file swrast_screen_create.h
Keith Whitwell [Mon, 31 May 2010 15:26:19 +0000 (16:26 +0100)]
include/st: new file swrast_screen_create.h

14 years agoutil: add util_framebuffer_min_size
Keith Whitwell [Thu, 27 May 2010 14:48:38 +0000 (15:48 +0100)]
util: add util_framebuffer_min_size

14 years agoutil: allocate larger tmp_row in util_format_translate
Keith Whitwell [Sun, 30 May 2010 12:26:36 +0000 (13:26 +0100)]
util: allocate larger tmp_row in util_format_translate

The tmp_row storage allocation took into account the format's y block
size by allocating y_step rows of data.  However, the x block size was
not being taken into account when deciding how wide those rows need to
be.

Now make sure that tmp_row is at least x_step by y_step in size.

14 years agotgsi: reject interpolation and semantics on vs inputs
Keith Whitwell [Fri, 4 Jun 2010 15:38:28 +0000 (16:38 +0100)]
tgsi: reject interpolation and semantics on vs inputs

14 years agoregress: remove interpolation and semantic info from vs inputs
Keith Whitwell [Fri, 4 Jun 2010 15:38:01 +0000 (16:38 +0100)]
regress: remove interpolation and semantic info from vs inputs

14 years agotest/graw: add vp-test
Keith Whitwell [Mon, 7 Jun 2010 09:49:07 +0000 (10:49 +0100)]
test/graw: add vp-test

14 years agotests/graw: add fp-test
Keith Whitwell [Fri, 4 Jun 2010 10:08:55 +0000 (11:08 +0100)]
tests/graw: add fp-test

14 years ago.gitignore: Ignore emacs .dir-locals.el files
Kristian Høgsberg [Mon, 7 Jun 2010 14:23:55 +0000 (10:23 -0400)]
.gitignore: Ignore emacs .dir-locals.el files

14 years agoRemove last bits of progs/ infrastructure
Kristian Høgsberg [Mon, 7 Jun 2010 14:08:48 +0000 (10:08 -0400)]
Remove last bits of progs/ infrastructure

14 years agor300g: fix 24-bit depth texturing
Marek Olšák [Mon, 7 Jun 2010 02:10:49 +0000 (04:10 +0200)]
r300g: fix 24-bit depth texturing

This is a secret texture format, do not tell anybody.
And it looks like we can read stencil in the shader too.

14 years agor600g: add shader literal constant support
Jerome Glisse [Sun, 6 Jun 2010 20:13:24 +0000 (22:13 +0200)]
r600g: add shader literal constant support

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
14 years agost/mesa: advertise GL_ARB_fragment_program_shadow
Marek Olšák [Sun, 6 Jun 2010 18:49:14 +0000 (20:49 +0200)]
st/mesa: advertise GL_ARB_fragment_program_shadow

There is nothing driver-specific about this one.
I've also tested it just to be sure.

14 years agor300g: workaround index bias on chipsets that do not support it
Marek Olšák [Mon, 26 Apr 2010 04:10:06 +0000 (06:10 +0200)]
r300g: workaround index bias on chipsets that do not support it

14 years agost/mesa: trivially enable GL_ATI_texture_env_combine3
Marek Olšák [Sat, 5 Jun 2010 17:33:29 +0000 (19:33 +0200)]
st/mesa: trivially enable GL_ATI_texture_env_combine3

This extension is implemented in the texenv program.
Gallium drivers pass patched glean/texCombine.
(I am going to send the patch soon)

Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.

14 years agomesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes
Marek Olšák [Sat, 5 Jun 2010 15:40:53 +0000 (17:40 +0200)]
mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes

The specifications are identical.

14 years agoi915g: Use template Xorg makefile
Jakob Bornecrantz [Tue, 1 Jun 2010 16:29:40 +0000 (17:29 +0100)]
i915g: Use template Xorg makefile

14 years agogallium: Use correct defines in Xorg template makefile
Jakob Bornecrantz [Tue, 1 Jun 2010 16:33:15 +0000 (17:33 +0100)]
gallium: Use correct defines in Xorg template makefile

14 years agogallium: Add winsys to include path to Xorg template makefile
Jakob Bornecrantz [Tue, 1 Jun 2010 16:29:13 +0000 (17:29 +0100)]
gallium: Add winsys to include path to Xorg template makefile

14 years agogallium: always build drivers/sw
Joakim Sindholt [Sat, 5 Jun 2010 14:53:38 +0000 (16:53 +0200)]
gallium: always build drivers/sw

14 years agor300compiler: fix scons build
Joakim Sindholt [Sat, 5 Jun 2010 14:23:05 +0000 (16:23 +0200)]
r300compiler: fix scons build

14 years agor600g: split instruction into scalar
Jerome Glisse [Sat, 5 Jun 2010 11:16:50 +0000 (13:16 +0200)]
r600g: split instruction into scalar

Split instruction into scalar in core compiler this simplify
the way we translate the instruction in latter stage.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
14 years agoRevert "llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query"
Roland Scheidegger [Sat, 5 Jun 2010 14:55:51 +0000 (16:55 +0200)]
Revert "llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query"

This reverts commit acb20e7208341fb6a2b81ac10aa01f17e93a1dea.
Oops should check commits after rebase...

14 years agoi915g: fix bug in ds clear logic (still disabled)
Roland Scheidegger [Sat, 5 Jun 2010 14:49:51 +0000 (16:49 +0200)]
i915g: fix bug in ds clear logic (still disabled)

14 years agost/mesa: fix bug in depthstencil optimizing clear logic
Roland Scheidegger [Sat, 5 Jun 2010 14:44:31 +0000 (16:44 +0200)]
st/mesa: fix bug in depthstencil optimizing clear logic

14 years agollvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query
Roland Scheidegger [Sat, 5 Jun 2010 14:18:06 +0000 (16:18 +0200)]
llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query

asserts on unknown caps

14 years agollvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.
José Fonseca [Sat, 5 Jun 2010 13:48:39 +0000 (14:48 +0100)]
llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.

14 years agoi915: Only emit a MI_FLUSH when the drawing rectangle offset changes.
Chris Wilson [Sat, 5 Jun 2010 09:04:59 +0000 (10:04 +0100)]
i915: Only emit a MI_FLUSH when the drawing rectangle offset changes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoi915: Fix off-by-one for drawing rectangle.
Chris Wilson [Sat, 5 Jun 2010 08:33:58 +0000 (09:33 +0100)]
i915: Fix off-by-one for drawing rectangle.

The drawing rectangle is given in *inclusive* pixel values, so the range
is only [0,2047]. Hence when rendering to a 2048 wide target, such as an
extended desktop, we would issue an illegal instruction zeroing the draw
area.

Fixes:

  Bug 27408: Primary and Secondary display blanks in extended
             desktop mode with Compiz enabled
  https://bugs.freedesktop.org/show_bug.cgi?id=27408

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agoi915: Inhibit render cache flush when changing drawing rectangle offset.
Chris Wilson [Sat, 5 Jun 2010 08:32:28 +0000 (09:32 +0100)]
i915: Inhibit render cache flush when changing drawing rectangle offset.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
14 years agomesa/st: add support for EXT_texture_swizzle.
Dave Airlie [Tue, 27 Apr 2010 11:06:44 +0000 (21:06 +1000)]
mesa/st: add support for EXT_texture_swizzle.

This passes on r300g, the only bit I'm not really sure about is the handling
of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle
value changes and I also have to create a new set of functions to create a new
one since the u_sampler.c ones don't handle swizzle so much.

adds r300g + softpipe enables, I think other drivers could pass easily enough.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor300/compiler: implement SIN+COS+SCS for vertex shaders
Marek Olšák [Sat, 5 Jun 2010 03:07:41 +0000 (05:07 +0200)]
r300/compiler: implement SIN+COS+SCS for vertex shaders

14 years agor300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VS
Marek Olšák [Sat, 5 Jun 2010 02:58:40 +0000 (04:58 +0200)]
r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VS

14 years agor300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VS
Marek Olšák [Sat, 5 Jun 2010 02:18:28 +0000 (04:18 +0200)]
r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VS

Fixes piglit/glsl-vs-vec4-indexing-4.

14 years agor300/compiler: implement SFL for vertex shaders
Marek Olšák [Fri, 4 Jun 2010 21:10:11 +0000 (23:10 +0200)]
r300/compiler: implement SFL for vertex shaders

And sort the "case" statements alphabetically.

14 years agodocs: note that the Mesa demos are in a new repo
Brian Paul [Fri, 4 Jun 2010 23:47:34 +0000 (17:47 -0600)]
docs: note that the Mesa demos are in a new repo

14 years agodocs: links to the Mesa demos git repo
Brian Paul [Fri, 4 Jun 2010 23:47:06 +0000 (17:47 -0600)]
docs: links to the Mesa demos git repo

14 years agomesa: remove PROGRAM_DIRS from config files
Brian Paul [Fri, 4 Jun 2010 23:42:04 +0000 (17:42 -0600)]
mesa: remove PROGRAM_DIRS from config files

14 years agomesa: remove old references to demo files and progs subdir
Brian Paul [Fri, 4 Jun 2010 23:36:17 +0000 (17:36 -0600)]
mesa: remove old references to demo files and progs subdir

14 years agoprogs: remove rbug subdir
Brian Paul [Fri, 4 Jun 2010 23:29:59 +0000 (17:29 -0600)]
progs: remove rbug subdir

14 years agodemos: remove fbdev subdir
Brian Paul [Fri, 4 Jun 2010 23:29:01 +0000 (17:29 -0600)]
demos: remove fbdev subdir

14 years agoprogs: remove beos subdir
Brian Paul [Fri, 4 Jun 2010 23:27:50 +0000 (17:27 -0600)]
progs: remove beos subdir

14 years agoprogs: remove tools subdir
Brian Paul [Fri, 4 Jun 2010 23:26:28 +0000 (17:26 -0600)]
progs: remove tools subdir

14 years agoprogs: remove slang subdir
Brian Paul [Fri, 4 Jun 2010 23:25:36 +0000 (17:25 -0600)]
progs: remove slang subdir

14 years agovbo: misc clean-ups
Brian Paul [Fri, 4 Jun 2010 23:24:40 +0000 (17:24 -0600)]
vbo: misc clean-ups

14 years agoi915g: Rename winsys c file.
Vinson Lee [Fri, 4 Jun 2010 23:18:27 +0000 (16:18 -0700)]
i915g: Rename winsys c file.

This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c.
Fixes i915g SCons build.

14 years agollvmpipe: new -s option to run single test
Brian Paul [Fri, 4 Jun 2010 23:00:48 +0000 (17:00 -0600)]
llvmpipe: new -s option to run single test

Put specific test code in the test_single() function and pass -s to
execute that code.

14 years agoi915: Don't use XRGB8888 on 830 and 845.
Eric Anholt [Fri, 4 Jun 2010 20:40:48 +0000 (13:40 -0700)]
i915: Don't use XRGB8888 on 830 and 845.

The support for XRGB8888 appeared in the 855 and 865, and this format
is reserved on 830/845.  This should fix a regression from
b4a6169412819cc3a027c6a118f0537911145a30 that caused hangs in etracer
on 845s.

Bug #26557.

14 years agoi915: Clamp minimum lod to maximum texture level too.
Eric Anholt [Fri, 4 Jun 2010 20:27:05 +0000 (13:27 -0700)]
i915: Clamp minimum lod to maximum texture level too.

Otherwise, we'd run into minlod > maxlod, and the sampler would give
us the undefined we asked for.

Bug #24846.  Fixes OGLC texlod.c.

14 years agointel: Fix intel_compressed_num_bytes for FXT1 after I broke it.
Eric Anholt [Fri, 4 Jun 2010 19:43:15 +0000 (12:43 -0700)]
intel: Fix intel_compressed_num_bytes for FXT1 after I broke it.

Fixes piglit fxt1-teximage since
7554b83a21bd62b20df5a7327b69f08108ac9ab6, and also OGLC tests that hit
FXT1 with a million other things.

Bug #28184.

14 years agoglsl: Recject rect samplers when GL_ARB_texture_rectangle is disabled
Kristian Høgsberg [Fri, 4 Jun 2010 13:06:22 +0000 (09:06 -0400)]
glsl: Recject rect samplers when GL_ARB_texture_rectangle is disabled

14 years agollvmpipe: Do unswizzling in parallel when flushing for transfers.
José Fonseca [Fri, 4 Jun 2010 11:22:14 +0000 (12:22 +0100)]
llvmpipe: Do unswizzling in parallel when flushing for transfers.

14 years agoprogs: Remove forked/dead files.
José Fonseca [Fri, 4 Jun 2010 11:20:46 +0000 (12:20 +0100)]
progs: Remove forked/dead files.

14 years agost/egl: Fix compiler warnings.
Chia-I Wu [Fri, 4 Jun 2010 04:52:51 +0000 (12:52 +0800)]
st/egl: Fix compiler warnings.

Forgot to stage this chunk in last commit.

14 years agost/egl: Move sw screen creation to native helper.
Chia-I Wu [Fri, 4 Jun 2010 04:05:37 +0000 (12:05 +0800)]
st/egl: Move sw screen creation to native helper.

The code is shared by ximage and gdi backend.

14 years agoscons: Add cygwin to list of accepted platforms.
Vinson Lee [Fri, 4 Jun 2010 01:41:19 +0000 (18:41 -0700)]
scons: Add cygwin to list of accepted platforms.

14 years agor600g: implement clear_{render_target, depth_stencil}, resource_copy_region
Marek Olšák [Fri, 4 Jun 2010 00:59:37 +0000 (02:59 +0200)]
r600g: implement clear_{render_target, depth_stencil}, resource_copy_region

resource_copy_region uses a software fallback because it relies on texture
samplers which haven't been implemented yet.

14 years agor600g: make blit functions static (private)
Marek Olšák [Fri, 4 Jun 2010 00:57:32 +0000 (02:57 +0200)]
r600g: make blit functions static (private)

14 years agor600g: use cast wrappers
Marek Olšák [Fri, 4 Jun 2010 00:47:35 +0000 (02:47 +0200)]
r600g: use cast wrappers

14 years agor600g: Move declaration before code.
Vinson Lee [Fri, 4 Jun 2010 00:41:57 +0000 (17:41 -0700)]
r600g: Move declaration before code.

Fixes SCons build.

14 years agoutil: Remove unnecessary header.
Vinson Lee [Fri, 4 Jun 2010 00:30:55 +0000 (17:30 -0700)]
util: Remove unnecessary header.