Keith Whitwell
9546c3dbd2
i965g: calculate depth min/max
...
Previously hard-wired to 0..1
2009-12-24 12:53:06 +00:00
Christoph Bumiller
b7b2226a75
nv50: support TGSI_OPCODE_CONT
2009-12-24 13:36:54 +01:00
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
Vinson Lee
098f10c270
glsl: Initialize member a_obj of struct slang_operation.
2009-12-23 18:00:06 -08:00
Vinson Lee
261c3cd530
glu/sgi: Initialize variable in directedLine.
2009-12-23 17:50:02 -08:00
Vinson Lee
520955a0cd
gallium/util: Initialize variable in util_clear.
2009-12-23 16:22:03 -08:00
Vinson Lee
6138145b35
glu/sgi: Silence compiler warnings.
2009-12-23 16:11:10 -08:00
Vinson Lee
51dcea2aac
util: Ensure debug_dump_flags generates a null-terminated string.
2009-12-23 15:19:45 -08:00
Vinson Lee
2ea061509d
st/xorg: Use C-style comments.
2009-12-23 14:52:06 -08:00
Vinson Lee
15ecd0337e
st/vega: Move declaration outside for loop.
2009-12-23 14:43:53 -08:00
Vinson Lee
1b0ab3e3c9
st/egl: Use C-style comments.
2009-12-23 14:18:11 -08:00
Vinson Lee
6c8c1ce78b
glx: Add XF86DRI[Open|Close]FullScreen prototypes to xf86dri.h.
2009-12-23 14:09:36 -08:00
Vinson Lee
cf3bb0cf31
glx: Move declaration outside for loop.
2009-12-23 12:42:38 -08:00
Tom Fogal
f42c861f02
Regenerate gl_mangle.h.
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-23 11:38:14 -07: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
Maarten Maathuis
8e8502bc63
gallium: only create pipe buffer when size is nonzero
...
- This fixes a crash upon starting spring (a rts engine/game).
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2009-12-23 16:33:54 +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
Vinson Lee
57b5ca5d11
glu/sgi: Silence uninitialized variable warnings.
2009-12-22 23:07:00 -08:00
Vinson Lee
19a40524d3
Add gallium to darwin config.
2009-12-22 18:21:41 -08:00
Vinson Lee
aae32df718
xlib: Use C-style comments.
2009-12-22 17:51:58 -08:00
Vinson Lee
b20382d477
trace: Silence uninitialized variable warnings.
2009-12-22 17:34:39 -08:00
Vinson Lee
f6ca26e5a7
trace: Add PIPE_OS_APPLE.
2009-12-22 17:17:28 -08:00
Vinson Lee
6ce28a755c
gallium/util: Add PIPE_OS_APPLE to u_stream_stdc.c.
2009-12-22 16:23:00 -08:00
Vinson Lee
5e73bcb396
gallium/util: Add PIPE_OS_APPLE to u_network.
2009-12-22 15:59:50 -08:00
Vinson Lee
fb8bff341e
i915g: Use C-style comment.
2009-12-22 15:19:48 -08:00
Vinson Lee
cf02484fb6
glx: Compile dri2.c only if GLX_DIRECT_RENDERING is defined.
2009-12-22 14:51:12 -08:00
Vinson Lee
c1033299e8
ffb: Silence compiler warnings.
2009-12-22 14:28:40 -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
Brian Paul
b5ddc7821a
mesa: fix binary() function, printf format string
...
Need to use the constant 1ULL and 0xllx format string. This fixes incorrect
results and a NULL pointer/parameter bug.
2009-12-22 13:33:40 -07:00
Roland Scheidegger
d186079520
i965g: fix for edgeflag changes (untested)
2009-12-22 21:26:51 +01:00