Christoph Bumiller
d29f55546d
nv50: make edgeflags work
...
It doesn't seem to be possible to set the egdeflag in the
vertex shader, so we need to fallback to pushing vertices
through the FIFO and use method 0x15e4 if they are used.
This only works if VP does MOV OUT[X] IN[Y] where X is the
edgeflag output, and Y is saved so we can tell the correct
input later.
The VP still writes the useless values to wasted outputs
as punishment.
2009-12-24 12:48:00 +01:00
José Fonseca
b5a408bae5
llvmpipe: Install unit tests on build/xxx/bin
2009-12-23 16:38:50 +00:00
José Fonseca
88b2d8f796
util: Define common dynamic library extensions.
2009-12-23 16:38:50 +00:00
Keith Whitwell
b2a615e3cd
glsl/pp: move static functions out of header file
2009-12-23 16:10:37 +00:00
Keith Whitwell
cdd25ab8cf
glsl/pp: quieten compiler about missing case statements
2009-12-23 16:10:37 +00:00
Tomas Carnecky
cc7a2d8e64
i965g: Rename {pf->util_format}_is_depth_or_stencil()
2009-12-23 16:58:53 +01:00
Roland Scheidegger
faae0e5da3
rbug: rename pf_is_compressed to util_format_is_compressed
2009-12-23 16:57:46 +01:00
Tomas Carnecky
315ca95666
[i965] Rename {pf -> util}_format_is_depth_or_stencil()
...
The function was moved and renamed in 0bed834b .
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-12-23 15:40:20 +00:00
Vinson Lee
0f6cbc55b7
progs/tests: Fix build.
...
(cherry picked from commit 1bf2d78b11 )
2009-12-22 23:30:23 -08:00
Eric Anholt
f677480389
intel: Replace some gen3 IS_* checks with context structure usage.
...
Shaves 400 bytes or so from i915_dri.so.
2009-12-22 14:20:27 -08:00
Eric Anholt
cb3810dd19
intel: Replace IS_965 checks with context structure usage.
...
Saves another 600 bytes or so of code.
2009-12-22 14:20:27 -08:00
Eric Anholt
0b87f143c4
intel: Replace IS_G4X() across the driver with context structure usage.
...
Saves ~2KB of code.
2009-12-22 14:20:26 -08:00
Eric Anholt
1c96e85c9d
intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.
...
Saves ~480 bytes of code.
2009-12-22 14:20:26 -08:00
Eric Anholt
b08ed4f595
mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname);
...
Fixes piglit ati-fs-bad-delete. Caught by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
fbeceec97b
mesa: remove unnecessary store.
2009-12-22 14:20:26 -08:00
Eric Anholt
6260d4a14c
mesa: Remove an unnecessary store reported by clang.
...
This was a workaround for a compiler warning that was showing a real
error. The real error was later fixed.
2009-12-22 14:20:26 -08:00
Eric Anholt
d85a6f70eb
intel: Fix leakage of active texture state in glBitmap fp metaops.
...
Noticed by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
e3202a8cc7
i915: Fix use of uninitialized variable in OPCODE_NOISE stub.
...
We don't actually care which register is used since we're just
swizzling (0,0,0,0), but it should be a valid variable number.
Detected by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
d203dbc73d
mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.
...
The same code is generated, and readers and static analyzers are
happier.
2009-12-22 14:20:26 -08:00
Eric Anholt
5727147f89
intel: Remove unused stored values reported by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
1a80fe461e
mesa: Remove _mesa_exit wrapper for exit().
...
It does nothing else while being less useful than exit() because it lacks
attributes that real exit() has.
2009-12-22 14:20:26 -08:00
Brian Paul
ddd9729bc3
mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.
...
This is a little more logical. Suggested in bug report 25654.
2009-12-22 14:26:06 -07:00
Brian Paul
db721151b7
mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction
...
To be more consistant.
2009-12-22 14:26:06 -07:00
Brian Paul
e8ea2d26cd
mesa: added some assertions in BNGLOOP/ENDLOOP cases
2009-12-22 14:26:06 -07:00
Roland Scheidegger
d186079520
i965g: fix for edgeflag changes (untested)
2009-12-22 21:26:51 +01:00
Roland Scheidegger
35e8283c69
Merge branch 'gallium-edgeflags'
...
Conflicts:
src/mesa/state_tracker/st_draw.c
2009-12-22 20:54:26 +01:00
José Fonseca
00b463fc30
scons: Set the default windows platform to be windows userspace.
...
I thought I had done this ages ago.
2009-12-22 19:03:56 +00:00
Michal Krol
79bb3da4d3
tgsi: Implement BREAKC in interpreter.
2009-12-22 16:11:40 +01:00
Keith Whitwell
f069e45750
i965g: fix bo_reference
2009-12-22 09:57:16 +00:00
Keith Whitwell
96d63ebbf5
i965g: update for u_format changes
2009-12-22 09:52:26 +00:00
Keith Whitwell
aa02683e45
Merge branch 'i965g-restart'
...
Conflicts:
configure.ac
2009-12-22 09:40:39 +00:00
Christoph Bumiller
ebbc73d1ae
nv50: correct the negation of DDY sources
...
The state tracker now does the correct thing, so
interpret negation normally.
2009-12-22 10:14:45 +01:00
Ian Romanick
71678a7ede
intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"
2009-12-21 18:46:17 -08:00
Ian Romanick
a4b6b42885
Merge branch 'mesa_7_7_branch'
...
Conflicts:
src/mesa/main/version.h
2009-12-21 18:45:31 -08:00
Ian Romanick
82184970d3
Add MD5 checksums for 7.6.1 release
2009-12-21 18:43:09 -08:00
Ian Romanick
6ffed19993
Add MD5 checksums for 7.7 release
2009-12-21 18:30:35 -08:00
Ian Romanick
7e210b9337
mesa: set version string to 7.7
2009-12-21 18:28:32 -08:00
Ian Romanick
164b583852
intel: Bump driver date to reflect status as final Q4 driver RC
2009-12-21 18:27:50 -08:00
Ian Romanick
48302e9b30
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
scons/gallium.py
scons/generic.py
src/mesa/main/version.h
2009-12-21 18:27:24 -08:00
Ian Romanick
75ad099d3c
mesa: set version string to 7.6.1
2009-12-21 18:25:30 -08:00
Brian Paul
ef17105134
glsl: assorted clean-ups in slang_compile.c
2009-12-21 19:14:41 -07:00
Vinson Lee
982acbddab
progs/perf: Fix MSVC build.
...
(cherry picked from commit cbf46ed670 )
2009-12-21 18:10:44 -08:00
José Fonseca
09415ca234
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 622bdecabd )
2009-12-21 17:56:25 -08:00
Michal Krol
de7021b71c
mesa: Include <unistd.h> only when one is available.
...
(cherry picked from commit 970823978c )
2009-12-21 17:55:13 -08:00
Jeremy Huddleston
3839f6768d
darwin: Build glsl
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-21 17:49:44 -08:00
Jeremy Huddleston
5bbdc7f420
osmesa: Fix a copy/paste error in building libOSMesa
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-12-21 17:49:43 -08:00
Brian Paul
9eb7fc6661
Merge branch 'mesa_7_7_branch'
...
Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
2009-12-21 18:35:54 -07:00
Vinson Lee
2b7b2b90e3
scons: Define _USE_MATH_DEFINES on MSVC.
2009-12-21 17:25:03 -08:00
Brian Paul
b57abd3bea
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
2009-12-21 18:23:53 -07:00
Fabio Pedretti
bf064ce0c3
configure.ac: fix for libdrm_radeon API changes.
2009-12-22 10:44:53 +10:00