Roland Scheidegger [Tue, 22 Dec 2009 20:26:51 +0000 (21:26 +0100)]
i965g: fix for edgeflag changes (untested)
Roland Scheidegger [Tue, 22 Dec 2009 19:54:26 +0000 (20:54 +0100)]
Merge branch 'gallium-edgeflags'
Conflicts:
src/mesa/state_tracker/st_draw.c
José Fonseca [Fri, 18 Dec 2009 22:40:33 +0000 (22:40 +0000)]
scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
Michal Krol [Tue, 22 Dec 2009 10:58:45 +0000 (11:58 +0100)]
tgsi: Implement BREAKC in interpreter.
Keith Whitwell [Tue, 22 Dec 2009 09:57:16 +0000 (09:57 +0000)]
i965g: fix bo_reference
Keith Whitwell [Tue, 22 Dec 2009 09:52:26 +0000 (09:52 +0000)]
i965g: update for u_format changes
Keith Whitwell [Tue, 22 Dec 2009 09:40:39 +0000 (09:40 +0000)]
Merge branch 'i965g-restart'
Conflicts:
configure.ac
Christoph Bumiller [Mon, 21 Dec 2009 20:50:21 +0000 (21:50 +0100)]
nv50: correct the negation of DDY sources
The state tracker now does the correct thing, so
interpret negation normally.
Ian Romanick [Tue, 22 Dec 2009 02:46:17 +0000 (18:46 -0800)]
intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"
Ian Romanick [Tue, 22 Dec 2009 02:45:31 +0000 (18:45 -0800)]
Merge branch 'mesa_7_7_branch'
Conflicts:
src/mesa/main/version.h
Ian Romanick [Tue, 22 Dec 2009 02:32:32 +0000 (18:32 -0800)]
Add MD5 checksums for 7.6.1 release
Ian Romanick [Tue, 22 Dec 2009 02:30:35 +0000 (18:30 -0800)]
Add MD5 checksums for 7.7 release
Ian Romanick [Tue, 22 Dec 2009 02:28:32 +0000 (18:28 -0800)]
mesa: set version string to 7.7
Ian Romanick [Tue, 22 Dec 2009 02:27:50 +0000 (18:27 -0800)]
intel: Bump driver date to reflect status as final Q4 driver RC
Ian Romanick [Tue, 22 Dec 2009 02:27:24 +0000 (18:27 -0800)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Conflicts:
scons/gallium.py
scons/generic.py
src/mesa/main/version.h
Ian Romanick [Tue, 22 Dec 2009 02:25:30 +0000 (18:25 -0800)]
mesa: set version string to 7.6.1
Brian Paul [Tue, 22 Dec 2009 01:04:27 +0000 (18:04 -0700)]
glsl: assorted clean-ups in slang_compile.c
Vinson Lee [Sat, 10 Oct 2009 16:45:16 +0000 (10:45 -0600)]
progs/perf: Fix MSVC build.
(cherry picked from commit
cbf46ed670ef5a5c8a641730234dd7ae964c3170)
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.
(cherry picked from commit
622bdecabd73167d2f2f3aff0e223a8c64433f99)
Michal Krol [Mon, 7 Sep 2009 07:31:17 +0000 (09:31 +0200)]
mesa: Include <unistd.h> only when one is available.
(cherry picked from commit
970823978c2f7d2cf0757aa6ddbd6289b34c476f)
Jeremy Huddleston [Tue, 22 Dec 2009 01:48:59 +0000 (17:48 -0800)]
darwin: Build glsl
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Jeremy Huddleston [Tue, 22 Dec 2009 01:48:35 +0000 (17:48 -0800)]
osmesa: Fix a copy/paste error in building libOSMesa
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Brian Paul [Tue, 22 Dec 2009 01:35:54 +0000 (18:35 -0700)]
Merge branch 'mesa_7_7_branch'
Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
Vinson Lee [Tue, 22 Dec 2009 01:25:03 +0000 (17:25 -0800)]
scons: Define _USE_MATH_DEFINES on MSVC.
Brian Paul [Tue, 22 Dec 2009 01:23:53 +0000 (18:23 -0700)]
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Conflicts:
configure.ac
progs/demos/morph3d.c
progs/demos/textures.c
progs/glsl/shtest.c
progs/glsl/texaaline.c
progs/tests/packedpixels.c
progs/xdemos/corender.c
src/mesa/main/version.h
Fabio Pedretti [Tue, 22 Dec 2009 00:43:35 +0000 (10:43 +1000)]
configure.ac: fix for libdrm_radeon API changes.
Fabio Pedretti [Tue, 22 Dec 2009 00:43:35 +0000 (10:43 +1000)]
configure.ac: fix for libdrm_radeon API changes.
Fabio Pedretti [Tue, 22 Dec 2009 00:43:35 +0000 (10:43 +1000)]
configure.ac: fix for libdrm_radeon API changes.
Dave Airlie [Thu, 17 Dec 2009 04:29:04 +0000 (14:29 +1000)]
radeon/r600: use new libdrm_radeon api
Dave Airlie [Thu, 17 Dec 2009 04:19:27 +0000 (14:19 +1000)]
radeon: drop assert accessing cref which is meant to be hidden
Dave Airlie [Thu, 17 Dec 2009 04:18:54 +0000 (14:18 +1000)]
radeon: drop unused members of radeon_state.
Dave Airlie [Thu, 17 Dec 2009 04:23:08 +0000 (14:23 +1000)]
r600: move structs for legacy cmdbuf into cmdbuf C file.
these really shouldn't be exposed here
Dave Airlie [Thu, 17 Dec 2009 04:29:04 +0000 (14:29 +1000)]
radeon/r600: use new libdrm_radeon api
Dave Airlie [Thu, 17 Dec 2009 04:19:27 +0000 (14:19 +1000)]
radeon: drop assert accessing cref which is meant to be hidden
Dave Airlie [Thu, 17 Dec 2009 04:18:54 +0000 (14:18 +1000)]
radeon: drop unused members of radeon_state.
Dave Airlie [Thu, 17 Dec 2009 04:23:08 +0000 (14:23 +1000)]
r600: move structs for legacy cmdbuf into cmdbuf C file.
these really shouldn't be exposed here
Vinson Lee [Mon, 21 Dec 2009 23:20:01 +0000 (15:20 -0800)]
progs/redbook: Silence compiler warnings.
Brian Paul [Mon, 21 Dec 2009 20:48:58 +0000 (13:48 -0700)]
progs/perf: added check for GL_ARB_framebuffer_object
Brian Paul [Fri, 11 Dec 2009 22:22:17 +0000 (15:22 -0700)]
progs/demos: report pixel rate in million pixels / sec
Brian Paul [Mon, 21 Dec 2009 20:37:49 +0000 (13:37 -0700)]
osmesa: added new GLSL libs
Brian Paul [Mon, 21 Dec 2009 20:37:11 +0000 (13:37 -0700)]
progs/osmes: add missing libGL dependency, remove unneeded lines
Keith Whitwell [Mon, 21 Dec 2009 19:50:05 +0000 (19:50 +0000)]
i965g: fixes to build after merge of master
Keith Whitwell [Mon, 21 Dec 2009 19:22:45 +0000 (19:22 +0000)]
i965g: remove half-finished change to tgsi_parse
Keith Whitwell [Mon, 21 Dec 2009 19:21:09 +0000 (19:21 +0000)]
i965g: back out unintentional changes to linux-dri
Keith Whitwell [Mon, 21 Dec 2009 19:19:01 +0000 (19:19 +0000)]
i965g: back out unintentional changes to gears
Keith Whitwell [Mon, 21 Dec 2009 19:18:41 +0000 (19:18 +0000)]
Merge commit 'origin/master' into i965g-restart
Conflicts:
SConstruct
configs/default
configs/linux-dri
Christoph Bumiller [Mon, 21 Dec 2009 17:31:57 +0000 (18:31 +0100)]
util: draw cube mipmaps with TEX CUBE
Roland Scheidegger [Mon, 21 Dec 2009 17:20:31 +0000 (18:20 +0100)]
python: fix some pipe_format_simplify merge damage
Roland Scheidegger [Mon, 21 Dec 2009 17:20:01 +0000 (18:20 +0100)]
svga: fix typo
Keith Whitwell [Mon, 21 Dec 2009 16:58:14 +0000 (16:58 +0000)]
ws/i965: respect DEBUG_WINSYS flag
Keith Whitwell [Mon, 21 Dec 2009 16:57:37 +0000 (16:57 +0000)]
i965g: hook vertex state emit up to PIPE_NEW_VERTEX_BUFFER
Keith Whitwell [Mon, 21 Dec 2009 16:56:46 +0000 (16:56 +0000)]
i965g: keep refcounts to bound vertex buffers
Keith Whitwell [Mon, 21 Dec 2009 16:55:40 +0000 (16:55 +0000)]
i965g: add DEBUG_WINSYS flag
Dave Airlie [Mon, 21 Dec 2009 00:21:28 +0000 (10:21 +1000)]
r600: fix glFrontFace(GL_CW)
fd.o bug #25290
Suggested fix from Rafael Monica
Keith Whitwell [Mon, 21 Dec 2009 15:38:08 +0000 (15:38 +0000)]
i965g: remove duplicate set_viewport_state, fixes samples/depth
Andre Maasikas [Mon, 21 Dec 2009 13:19:21 +0000 (15:19 +0200)]
r600: support more of arb_point_sprite and also sprite_coord_origin
Andre Maasikas [Mon, 21 Dec 2009 09:47:12 +0000 (11:47 +0200)]
r600: disallow negative offsets for relative addressing for now
otherwise for example const[ADDR-3] gets us 253 - ALU_SRC_LITERAL which
expects immediate floats to follow and hangs
Michal Krol [Mon, 21 Dec 2009 10:58:17 +0000 (11:58 +0100)]
vega: Add missing actual argument.
Younes Manton [Mon, 21 Dec 2009 01:11:55 +0000 (20:11 -0500)]
st/mesa: Check for single level mipmap trees.
The assert in util_gen_mipmap() caught it, although
it does the right thing anyway.
Jeremy Huddleston [Mon, 21 Dec 2009 05:34:27 +0000 (21:34 -0800)]
darwin: mklib: Use lipo rather than file to figure out architectures of object files
(cherry picked from commit
ad7f9d71e22fb7667c90dbbc0558939b89a45154)
Jeremy Huddleston [Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)]
darwin: Cleanup CPPFLAGS a bit
(cherry picked from commit
4a1e103858a1db0fb037891b8d4a9426eff32b98)
Jeremy Huddleston [Mon, 21 Dec 2009 05:34:27 +0000 (21:34 -0800)]
darwin: mklib: Use lipo rather than file to figure out architectures of object files
Jeremy Huddleston [Mon, 21 Dec 2009 05:32:35 +0000 (21:32 -0800)]
darwin: Cleanup CPPFLAGS a bit
Dave Airlie [Mon, 21 Dec 2009 00:21:28 +0000 (10:21 +1000)]
r600: fix glFrontFace(GL_CW)
fd.o bug #25290
Suggested fix from Rafael Monica
Corbin Simpson [Sun, 20 Dec 2009 22:00:34 +0000 (14:00 -0800)]
r300g: Add a few more params.
Dave Airlie [Sun, 20 Dec 2009 23:10:21 +0000 (09:10 +1000)]
glsl: make stack compile.
it would be nice if this stuff would be test built on mesa's primary
platform with mesa's primary build system.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie [Thu, 17 Dec 2009 04:29:04 +0000 (14:29 +1000)]
radeon/r600: use new libdrm_radeon api
Michal Krol [Sun, 20 Dec 2009 20:13:26 +0000 (21:13 +0100)]
glsl/apps: Update after glsl cl interface changes.
Michal Krol [Sun, 20 Dec 2009 20:11:58 +0000 (21:11 +0100)]
slang: Update after glsl cl interface changes.
Michal Krol [Sun, 20 Dec 2009 20:11:16 +0000 (21:11 +0100)]
glsl: Do syntax parsing inline with processing.
Michal Krol [Sun, 20 Dec 2009 12:59:14 +0000 (13:59 +0100)]
slang: Add gitignore for autogenerated files.
Michal Krol [Sun, 20 Dec 2009 12:53:53 +0000 (13:53 +0100)]
slang: Update after glsl pp changes.
Michal Krol [Sun, 20 Dec 2009 12:53:17 +0000 (13:53 +0100)]
glsl/apps: Update after glsl pp interface changes.
Michal Krol [Sun, 20 Dec 2009 12:52:43 +0000 (13:52 +0100)]
glsl/apps: Do not print number of eaten tokens in version.
This is due to the glsl pp interface changes.
Michal Krol [Sun, 20 Dec 2009 12:51:38 +0000 (13:51 +0100)]
glsl/apps: Print error line number in compile.
Michal Krol [Sun, 20 Dec 2009 12:50:16 +0000 (13:50 +0100)]
glsl/pp: Do processing inline with tokenisation.
Michal Krol [Sat, 19 Dec 2009 10:03:47 +0000 (11:03 +0100)]
glsl/pp: Remove outdated TODO.
Already implemented in mesa compiler using predefined symbols.
Michal Krol [Sat, 19 Dec 2009 08:55:27 +0000 (09:55 +0100)]
glsl/pp: Report correct error line for purify and tokeniser errors.
Christoph Bumiller [Sun, 20 Dec 2009 18:09:35 +0000 (19:09 +0100)]
util: util_format_get_blocksizebits() returns bits per block.
Christoph Bumiller [Sun, 20 Dec 2009 12:40:14 +0000 (13:40 +0100)]
nv50: make address reg allocation a little less hacky
Before I tried to distinguish int +0 and -0, and regs
relative to $a1 would have been considered reserved
for TGSI.
This would probably never occur, let it be fixed even so.
Christoph Bumiller [Sun, 20 Dec 2009 11:04:26 +0000 (12:04 +0100)]
nv50: use BREAKADDR and BREAK for loops
This is easier, we don't have to record all the BRK branches
to fill in the address at ENDLOOP - which wasn't done before
and thus made all but the last BRK branch jump to the start.
Also, we don't risk reactivting threads that already left
the loop if we join threads after a conditional with a BRK
(although it might be wiser to remove the join altogether
in such cases).
Christoph Bumiller [Sun, 20 Dec 2009 13:12:35 +0000 (14:12 +0100)]
nv50: handle TGSI_OPCODE_RET,KILP
Vinson Lee [Sun, 20 Dec 2009 09:01:00 +0000 (01:01 -0800)]
progs/tests: Silence compiler warnings.
Marek Olšák [Wed, 16 Dec 2009 05:07:39 +0000 (06:07 +0100)]
r300g: add texture compare modes
Roland Scheidegger [Sat, 19 Dec 2009 19:25:43 +0000 (20:25 +0100)]
gallium: don't use edgeflags if the app didn't supply them
Roland Scheidegger [Sat, 19 Dec 2009 16:12:14 +0000 (17:12 +0100)]
gallium: fix not generating new vp varient when polygon mode changes
Maciej Cencora [Sat, 19 Dec 2009 13:25:53 +0000 (14:25 +0100)]
r300: minor blit rework
Use vert/tex coords instead of byte offsets for specyfing src/dst image offsets.
This will allow for blitting between tiled/untiled buffers.
Maciej Cencora [Tue, 15 Dec 2009 22:57:05 +0000 (23:57 +0100)]
r300: better fix for glCopyTexSubImage
Vinson Lee [Sat, 19 Dec 2009 08:28:01 +0000 (00:28 -0800)]
progs/trivial: Use C-style comments.
Vinson Lee [Sat, 19 Dec 2009 08:00:56 +0000 (00:00 -0800)]
progs/xdemos: Use C-style comment.
Vinson Lee [Sat, 19 Dec 2009 07:46:14 +0000 (23:46 -0800)]
progs/demos: Silence compiler warning in morph3d.c.
Vinson Lee [Sat, 19 Dec 2009 07:38:15 +0000 (23:38 -0800)]
progs/glsl: Use C-style comments.
Vinson Lee [Sat, 19 Dec 2009 07:34:28 +0000 (23:34 -0800)]
progs/demos: Use C-style comment.
Corbin Simpson [Sat, 19 Dec 2009 05:50:45 +0000 (21:50 -0800)]
r300g: Fix provoking vertex for non-quads.
Read the comments. In short, we can't possibly pass piglit's
glean/clipFlat without some help from Gallium and an API/spec change.
Corbin Simpson [Sat, 19 Dec 2009 03:42:02 +0000 (19:42 -0800)]
r300g: Respect provoking vertex for trifans.
Fixes part of piglit's clipFlat test; next up is to get quads right.
Roland Scheidegger [Fri, 18 Dec 2009 23:18:43 +0000 (00:18 +0100)]
gallium: fix up drivers for edgeflag changes
several drivers which chose to ignore edgeflags might require some more work,
while edgeflags never worked there they might now crash.
Roland Scheidegger [Fri, 18 Dec 2009 22:53:25 +0000 (23:53 +0100)]
gallium: store edgflag info in tgsi_shader_info
provides easier access for drivers which may base fallback decision on this
Corbin Simpson [Fri, 18 Dec 2009 22:05:40 +0000 (14:05 -0800)]
r300g: Eliminate a couple more asserts.
Corbin Simpson [Fri, 18 Dec 2009 21:40:24 +0000 (13:40 -0800)]
r300g: Nuke r300_vbo.
Brian Paul [Fri, 18 Dec 2009 15:12:55 +0000 (08:12 -0700)]
progs/demos: fix glut initialization calls
Remove glutInitWindowPosition() calls to play nicer with window managers.
Move glutInitWindowSize() calls before glutInit() so the the default window
size can be overridden by the -geometry cmd line option.